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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.001204/0.001204, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.0011/0.0011, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.25/1.25, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1707/0.1707, allocations: 38.03 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 57.59 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.103, allocations: 58.06 MB / 457 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008073/0.1111, allocations: 7.42 MB / 464.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.1165, allocations: 4.381 MB / 468.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.117, allocations: 15.94 kB / 468.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1195, allocations: 1.033 MB / 469.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.1223, allocations: 1.211 MB / 471 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.123, allocations: 315.1 kB / 471.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.1249, allocations: 1.406 MB / 472.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009695/0.1259, allocations: 0.6689 MB / 473.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.1269, allocations: 0.6147 MB / 474 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.1278, allocations: 0.6775 MB / 474.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1279, allocations: 64 kB / 474.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.1302, allocations: 1.325 MB / 476.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.1306, allocations: 478.9 kB / 476.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.1313, allocations: 437.9 kB / 477 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.1335, allocations: 1.449 MB / 478.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1335, allocations: 0 / 478.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1335, allocations: 4 kB / 478.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.1335, allocations: 4 kB / 478.4 MB, free: 2.402 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.001869/0.1354, allocations: 1.12 MB / 479.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1355, allocations: 11.89 kB / 479.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.1356, allocations: 135.2 kB / 479.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.1388, allocations: 387.4 kB / 480.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.1395, allocations: 478.6 kB / 480.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.1396, allocations: 58.36 kB / 480.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1397, allocations: 72.36 kB / 480.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.1415, allocations: 1.176 MB / 481.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.1415, allocations: 7.906 kB / 481.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.1416, allocations: 27.98 kB / 481.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-05/0.1417, allocations: 73.95 kB / 482 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.1436, allocations: 1.241 MB / 483.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.149, allocations: 3.507 MB / 486.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.1509, allocations: 1.068 MB / 487.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009526/0.1519, allocations: 0.6528 MB / 488.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.152, allocations: 24.97 kB / 488.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.152, allocations: 43.78 kB / 488.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.797e-06/0.152, allocations: 0 / 488.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006687/0.1587, allocations: 3.083 MB / 491.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1588, allocations: 86.11 kB / 491.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.1593, allocations: 373.5 kB / 492 MB, free: 4.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.1593, allocations: 37.7 kB / 492.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1595, allocations: 316.1 kB / 492.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.1599, allocations: 311.4 kB / 492.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.1601, allocations: 162.5 kB / 492.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1602, allocations: 374.8 kB / 493.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.161, allocations: 469.7 kB / 493.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.1617, allocations: 0.5696 MB / 494.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.1632, allocations: 1.105 MB / 495.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1632, allocations: 8 kB / 495.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002463/0.1657, allocations: 1.473 MB / 496.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1657, allocations: 4 kB / 496.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1657, allocations: 4 kB / 496.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/0.1666, allocations: 340.8 kB / 497.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.1674, allocations: 183.7 kB / 497.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.1726, allocations: 4.195 MB / 0.4898 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.1731, allocations: 43.95 kB / 0.4898 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.1732, allocations: 36.05 kB / 0.4898 GB, free: 10.66 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004349/0.1736, allocations: 297.6 kB / 0.4901 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1738, allocations: 55.34 kB / 0.4902 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.1765, allocations: 1.567 MB / 0.4917 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1765, allocations: 12 kB / 0.4917 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.1765, allocations: 4 kB / 0.4917 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.1765, allocations: 7.922 kB / 0.4917 GB, free: 8.703 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.004844/0.1814, allocations: 3.032 MB / 0.4947 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.1814, allocations: 4 kB / 0.4947 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.182, allocations: 159.8 kB / 0.4949 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008146/0.1829, allocations: 296.9 kB / 0.4951 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.183, allocations: 27.98 kB / 0.4952 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.1881, allocations: 3.907 MB / 0.499 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.1881, allocations: 4 kB / 0.499 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1706/0.3587, allocations: 1.592 MB / 0.5005 GB, free: 55.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.359, allocations: 148 kB / 0.5007 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3591, allocations: 23.98 kB / 0.5007 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.3596, allocations: 38.38 kB / 0.5007 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.3598, allocations: 84.3 kB / 0.5008 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.3598, allocations: 41.45 kB / 0.5009 GB, free: 55.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.3601, allocations: 258.1 kB / 0.5011 GB, free: 55.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3602, allocations: 0 / 0.5011 GB, free: 55.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3612, allocations: 308.6 kB / 0.5014 GB, free: 55.68 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00265/0.3638, allocations: 2.153 MB / 0.5035 GB, free: 54.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.3666, allocations: 1.678 MB / 0.5051 GB, free: 54.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3666, allocations: 1.125 kB / 0.5051 GB, free: 54.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3678, allocations: 0.8432 MB / 0.506 GB, free: 54.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.3686, allocations: 103.3 kB / 0.5061 GB, free: 53.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3795, allocations: 7.609 MB / 0.5135 GB, free: 50.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.3804, allocations: 1.067 MB / 0.5145 GB, free: 49.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005705/0.381, allocations: 185.6 kB / 0.5147 GB, free: 49.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.3814, allocations: 262.3 kB / 0.515 GB, free: 49.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3814, allocations: 0 / 0.515 GB, free: 49.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/0.4527, allocations: 16.19 MB / 0.5308 GB, free: 40.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.38, allocations: 7.219 kB / 0.5308 GB, free: 40.18 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/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)