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.0009853/0.0009854, allocations: 88.03 kB / 16.31 MB, free: 6.453 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.001134/0.001134, allocations: 182.1 kB / 17.21 MB, free: 6.324 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.667/1.667, allocations: 205.4 MB / 223.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3188/0.3188, allocations: 38.06 MB / 309.7 MB, free: 8.91 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.0005668/0.0005672, allocations: 12 kB / 376.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 56.33 MB / 433 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006556/0.1214, allocations: 6.757 MB / 439.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005416/0.1269, allocations: 4.159 MB / 443.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.1273, allocations: 15.94 kB / 443.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.1277, allocations: 139 kB / 444 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1298, allocations: 0.8834 MB / 444.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1305, allocations: 239.3 kB / 445.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.1324, allocations: 1.913 MB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.1343, allocations: 1.162 MB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.1353, allocations: 497.6 kB / 448.7 MB, free: 6.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.1363, allocations: 0.662 MB / 449.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.1364, allocations: 32 kB / 449.4 MB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.1383, allocations: 0.7363 MB / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.1388, allocations: 446.9 kB / 450.6 MB, free: 5.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.1391, allocations: 173.3 kB / 450.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.1405, allocations: 1.025 MB / 451.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1405, allocations: 0 / 451.8 MB, free: 3.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1405, allocations: 3.938 kB / 451.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.1406, allocations: 3.938 kB / 451.8 MB, free: 3.836 MB / 382.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.001265/0.1418, allocations: 0.9951 MB / 452.8 MB, free: 2.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1419, allocations: 8.031 kB / 452.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.142, allocations: 131 kB / 452.9 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.1448, allocations: 394.5 kB / 453.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.1455, allocations: 469.6 kB / 453.7 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1456, allocations: 50 kB / 453.8 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1457, allocations: 67.98 kB / 453.9 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.1475, allocations: 1.176 MB / 455 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1475, allocations: 11.84 kB / 455 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.1476, allocations: 31.98 kB / 455.1 MB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.864e-05/0.1477, allocations: 69.95 kB / 455.1 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1915/0.3393, allocations: 1.237 MB / 456.4 MB, free: 51.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.3438, allocations: 3.524 MB / 459.9 MB, free: 50.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.3452, allocations: 1.064 MB / 461 MB, free: 50.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.3459, allocations: 0.6518 MB / 461.6 MB, free: 50.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.346, allocations: 17.17 kB / 461.6 MB, free: 50.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.346, allocations: 40.31 kB / 461.7 MB, free: 50.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.086e-06/0.346, allocations: 3 kB / 461.7 MB, free: 50.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.005217/0.3512, allocations: 3.059 MB / 464.7 MB, free: 49.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3513, allocations: 91.83 kB / 464.8 MB, free: 49.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.3516, allocations: 368.7 kB / 465.2 MB, free: 48.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3516, allocations: 40.95 kB / 465.2 MB, free: 48.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3518, allocations: 312.2 kB / 465.5 MB, free: 48.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.352, allocations: 311.5 kB / 465.8 MB, free: 48.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.352, allocations: 19.28 kB / 465.9 MB, free: 48.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.3521, allocations: 370.4 kB / 466.2 MB, free: 48.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.3526, allocations: 468.7 kB / 466.7 MB, free: 47.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.3531, allocations: 0.5689 MB / 467.2 MB, free: 47.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.3537, allocations: 0.5347 MB / 467.8 MB, free: 47.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3537, allocations: 0 / 467.8 MB, free: 47.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001839/0.3556, allocations: 1.469 MB / 469.2 MB, free: 46.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3556, allocations: 6.625 kB / 469.3 MB, free: 46.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3556, allocations: 3.375 kB / 469.3 MB, free: 46.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/0.3564, allocations: 327.4 kB / 469.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.357, allocations: 182.5 kB / 469.8 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.3608, allocations: 3.875 MB / 473.6 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.3612, allocations: 47.64 kB / 473.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.3613, allocations: 39.53 kB / 473.7 MB, free: 44.32 MB / 382.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.0003165/0.3616, allocations: 294 kB / 474 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.3617, allocations: 56.22 kB / 474.1 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.3638, allocations: 1.558 MB / 475.6 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3639, allocations: 11.69 kB / 475.6 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3639, allocations: 3 kB / 475.6 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3639, allocations: 9.234 kB / 475.6 MB, free: 43.48 MB / 382.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.003845/0.3677, allocations: 3.03 MB / 478.7 MB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3678, allocations: 3.625 kB / 478.7 MB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.3683, allocations: 172.1 kB / 478.8 MB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006345/0.3689, allocations: 287.1 kB / 479.1 MB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.369, allocations: 28.86 kB / 479.2 MB, free: 42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/0.3728, allocations: 3.61 MB / 482.8 MB, free: 39.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3728, allocations: 2.875 kB / 482.8 MB, free: 39.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.3749, allocations: 1.576 MB / 484.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3751, allocations: 142.1 kB / 484.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.3752, allocations: 24.81 kB / 484.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.3755, allocations: 45.52 kB / 484.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3756, allocations: 79.47 kB / 484.6 MB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.3757, allocations: 38.73 kB / 484.7 MB, free: 38.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.376, allocations: 253.7 kB / 484.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 484.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000909/0.3769, allocations: 307.5 kB / 485.2 MB, free: 38.62 MB / 382.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.002183/0.3791, allocations: 2.152 MB / 487.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.381, allocations: 1.387 MB / 488.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.381, allocations: 5.375 kB / 488.8 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.3822, allocations: 0.838 MB / 489.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.3829, allocations: 108.8 kB / 489.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.3894, allocations: 5.185 MB / 494.9 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3899, allocations: 1.082 MB / 496 MB, free: 33.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.3904, allocations: 184.5 kB / 496.1 MB, free: 33.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.3907, allocations: 259.6 kB / 496.4 MB, free: 32.92 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3907, allocations: 0 / 496.4 MB, free: 32.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.4234, allocations: 14.97 MB / 0.4994 GB, free: 29.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.4236, allocations: 202.6 kB / 0.4996 GB, free: 29.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.52, allocations: 0 / 0.4996 GB, free: 29.21 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: