Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_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.001357/0.001357, allocations: 97.78 kB / 16.3 MB, free: 5.656 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.001378/0.001378, allocations: 183.4 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1844/0.1844, allocations: 38.05 MB / 309.7 MB, free: 6.125 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000502/0.000502, allocations: 23.11 kB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3047, allocations: 56.32 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00469/0.3094, allocations: 6.476 MB / 439.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.3134, allocations: 4.035 MB / 443.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.3137, allocations: 15.94 kB / 443.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.3141, allocations: 143.2 kB / 443.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3155, allocations: 0.6307 MB / 444.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.316, allocations: 243.3 kB / 444.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.3165, allocations: 0.577 MB / 445 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.3181, allocations: 1.179 MB / 446.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.3185, allocations: 382.6 kB / 446.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3189, allocations: 342.9 kB / 446.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.319, allocations: 32 kB / 446.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3203, allocations: 0.7016 MB / 447.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.3206, allocations: 387.2 kB / 448 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3207, allocations: 181.2 kB / 448.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.3217, allocations: 1.037 MB / 449.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3217, allocations: 0 / 449.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3217, allocations: 0 / 449.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.3217, allocations: 0 / 449.2 MB, free: 2.414 MB / 318.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.001293/0.323, allocations: 0.9834 MB / 450.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3231, allocations: 12.03 kB / 450.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.3232, allocations: 138.9 kB / 450.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.3263, allocations: 430.5 kB / 450.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.327, allocations: 465.6 kB / 451.2 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.327, allocations: 57.92 kB / 451.3 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3271, allocations: 67.98 kB / 451.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.3289, allocations: 1.164 MB / 452.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.3289, allocations: 11.84 kB / 452.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.329, allocations: 31.94 kB / 452.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/0.3291, allocations: 69.95 kB / 452.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.3309, allocations: 1.237 MB / 453.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.3363, allocations: 3.523 MB / 457.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.3378, allocations: 1.069 MB / 458.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/0.3379, allocations: 13.05 kB / 458.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.338, allocations: 43.56 kB / 458.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.795e-06/0.338, allocations: 3.938 kB / 458.5 MB, free: 8.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006233/0.3442, allocations: 3.061 MB / 461.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3443, allocations: 90.11 kB / 461.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3447, allocations: 361.5 kB / 462 MB, free: 5.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.3448, allocations: 41.7 kB / 462.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.3451, allocations: 316.2 kB / 462.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.3454, allocations: 319.4 kB / 462.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3454, allocations: 16 kB / 462.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3456, allocations: 366.8 kB / 463.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.3462, allocations: 465.7 kB / 463.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.347, allocations: 0.5656 MB / 464.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008062/0.3478, allocations: 0.534 MB / 464.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3478, allocations: 0 / 464.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00242/0.3502, allocations: 1.473 MB / 466.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3503, allocations: 8 kB / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3503, allocations: 0 / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009284/0.3512, allocations: 340.8 kB / 466.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.3519, allocations: 179.7 kB / 466.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.3572, allocations: 3.965 MB / 470.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.3578, allocations: 47.89 kB / 470.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.3579, allocations: 35.98 kB / 470.6 MB, free: 12.47 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.0005023/0.3584, allocations: 293.7 kB / 470.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3585, allocations: 63.23 kB / 471 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.3613, allocations: 1.567 MB / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.3613, allocations: 12 kB / 472.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.3614, allocations: 4 kB / 472.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.3614, allocations: 3.984 kB / 472.6 MB, free: 10.5 MB / 350.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.00527/0.3667, allocations: 3.016 MB / 475.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.3667, allocations: 7.984 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.3673, allocations: 163.8 kB / 475.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008213/0.3682, allocations: 289 kB / 476.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.3682, allocations: 23.94 kB / 476.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.3732, allocations: 3.702 MB / 479.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3733, allocations: 8.062 kB / 479.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.3758, allocations: 1.762 MB / 481.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.376, allocations: 148.2 kB / 481.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.3761, allocations: 24 kB / 481.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.3765, allocations: 43.91 kB / 481.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.3766, allocations: 76.89 kB / 481.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3767, allocations: 36 kB / 481.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.377, allocations: 259.1 kB / 482.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.377, allocations: 0 / 482.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009676/0.378, allocations: 307.9 kB / 482.4 MB, free: 216 kB / 350.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.002991/0.381, allocations: 3.357 MB / 485.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.3832, allocations: 1.389 MB / 487.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3832, allocations: 4 kB / 487.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.3844, allocations: 0.8324 MB / 488 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.3849, allocations: 90.33 kB / 488.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/0.3931, allocations: 6.516 MB / 494.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.3939, allocations: 1.089 MB / 495.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000457/0.3944, allocations: 184.6 kB / 495.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.3947, allocations: 263.3 kB / 496.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3947, allocations: 4 kB / 496.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.4246, allocations: 14.93 MB / 0.4991 GB, free: 3.281 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.4248, allocations: 200.3 kB / 0.4993 GB, free: 3.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.312, allocations: 4 kB / 0.4993 GB, free: 3.035 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) Environment - environmentSimulation: