Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009107, allocations: 97.11 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009431/0.0009432, allocations: 182 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2706/0.2706, allocations: 38.08 MB / 330.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 8 kB / 400.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2933, allocations: 59.16 MB / 459.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006196/0.2995, allocations: 6.469 MB / 465.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.3047, allocations: 3.992 MB / 469.7 MB, free: 23.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.3055, allocations: 16.03 kB / 469.7 MB, free: 23.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.3059, allocations: 143.5 kB / 469.8 MB, free: 22.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.3082, allocations: 0.6364 MB / 470.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.3089, allocations: 237.9 kB / 470.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.3098, allocations: 0.5785 MB / 471.3 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.3122, allocations: 1.19 MB / 472.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009135/0.3132, allocations: 381.5 kB / 472.8 MB, free: 21.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.3137, allocations: 337.7 kB / 473.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.3137, allocations: 30.72 kB / 473.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.3157, allocations: 0.7041 MB / 473.9 MB, free: 20.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.3162, allocations: 393 kB / 474.3 MB, free: 20.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3164, allocations: 175 kB / 474.5 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.3183, allocations: 1.031 MB / 475.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3183, allocations: 0 / 475.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3183, allocations: 0 / 475.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3184, allocations: 1.375 kB / 475.5 MB, free: 20.51 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001613/0.32, allocations: 0.9914 MB / 476.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.32, allocations: 9.375 kB / 476.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/0.3203, allocations: 128.7 kB / 476.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/0.3237, allocations: 438 kB / 477 MB, free: 19.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.3246, allocations: 469.5 kB / 477.5 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.3246, allocations: 58.36 kB / 477.6 MB, free: 19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3248, allocations: 74.77 kB / 477.6 MB, free: 18.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3266, allocations: 1.155 MB / 478.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.3266, allocations: 5.094 kB / 478.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.3267, allocations: 30.39 kB / 478.8 MB, free: 18.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-05/0.3268, allocations: 75.48 kB / 478.9 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3286, allocations: 1.236 MB / 480.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.3335, allocations: 3.517 MB / 483.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3348, allocations: 1.079 MB / 484.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.3349, allocations: 13.05 kB / 484.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3349, allocations: 47.56 kB / 484.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.755e-06/0.3349, allocations: 0 / 484.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.005557/0.3405, allocations: 3.061 MB / 487.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3406, allocations: 94.17 kB / 487.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.3409, allocations: 361.6 kB / 488.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.341, allocations: 41.7 kB / 488.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3411, allocations: 308.2 kB / 488.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3413, allocations: 311.4 kB / 488.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.3414, allocations: 16 kB / 489 MB, free: 9.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.3415, allocations: 374.7 kB / 489.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.342, allocations: 465.7 kB / 489.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.3426, allocations: 0.5695 MB / 490.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.3432, allocations: 0.534 MB / 490.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3432, allocations: 0 / 490.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002037/0.3453, allocations: 1.469 MB / 492.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3453, allocations: 8 kB / 492.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3453, allocations: 0 / 492.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008447/0.3461, allocations: 338.4 kB / 492.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.3468, allocations: 183.7 kB / 492.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.351, allocations: 3.964 MB / 496.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.3516, allocations: 55.8 kB / 496.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.3517, allocations: 31.98 kB / 496.9 MB, free: 1.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004071/0.3521, allocations: 295.5 kB / 497.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.3522, allocations: 59.33 kB / 497.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.3545, allocations: 1.555 MB / 498.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3545, allocations: 12 kB / 498.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3545, allocations: 4 kB / 498.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3545, allocations: 7.922 kB / 498.8 MB, free: 15.71 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.3597, allocations: 3.028 MB / 0.4901 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3598, allocations: 4.438 kB / 0.4901 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.3604, allocations: 171.8 kB / 0.4903 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/0.3612, allocations: 284.5 kB / 0.4905 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.3612, allocations: 24 kB / 0.4906 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.3661, allocations: 3.692 MB / 0.4942 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3662, allocations: 4 kB / 0.4942 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.3688, allocations: 1.766 MB / 0.4959 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.369, allocations: 148.3 kB / 0.496 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.3691, allocations: 24 kB / 0.4961 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.3696, allocations: 39.95 kB / 0.4961 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3697, allocations: 84.78 kB / 0.4962 GB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.3698, allocations: 32 kB / 0.4962 GB, free: 5.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3701, allocations: 259.1 kB / 0.4965 GB, free: 5.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3701, allocations: 0 / 0.4965 GB, free: 5.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3711, allocations: 308 kB / 0.4968 GB, free: 5.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003006/0.3742, allocations: 3.354 MB / 0.5 GB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3766, allocations: 1.389 MB / 0.5014 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3766, allocations: 0.5625 kB / 0.5014 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.378, allocations: 0.8391 MB / 0.5022 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.3788, allocations: 89.98 kB / 0.5023 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.3867, allocations: 6.536 MB / 0.5087 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/0.3876, allocations: 1.086 MB / 0.5097 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.388, allocations: 180.6 kB / 0.5099 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.3884, allocations: 263.3 kB / 0.5102 GB, free: 7.359 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3884, allocations: 0 / 0.5102 GB, free: 7.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.4173, allocations: 14.93 MB / 0.5247 GB, free: 8.586 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.4176, allocations: 211.2 kB / 0.5249 GB, free: 8.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.416, allocations: 0 / 0.5249 GB, free: 8.344 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat does not exist to compare? outputFormat=mat