Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.001086/0.001086, allocations: 109.1 kB / 16.45 MB, free: 6.449 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.001127/0.001126, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0455/0.0455, allocations: 8.097 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09071, allocations: 51.53 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.006512/0.09727, allocations: 6.122 MB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1013, allocations: 2.441 MB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/0.1021, allocations: 23.94 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009621/0.1031, allocations: 337.7 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.105, allocations: 0.6445 MB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.1079, allocations: 1.497 MB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.11, allocations: 1.455 MB / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.1108, allocations: 0.5249 MB / 478.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008309/0.1117, allocations: 0.5956 MB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.1128, allocations: 0.7548 MB / 479.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.1132, allocations: 144 kB / 480 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.1142, allocations: 387.7 kB / 480.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.1145, allocations: 303 kB / 480.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.1155, allocations: 0.7037 MB / 481.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.1176, allocations: 1.82 MB / 483.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1176, allocations: 0 / 483.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1176, allocations: 0 / 483.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.799e-05/0.1177, allocations: 4 kB / 483.2 MB, free: 0.8477 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01219/0.1299, allocations: 3.228 MB / 486.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1299, allocations: 15.88 kB / 486.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/0.1302, allocations: 143.6 kB / 486.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.1305, allocations: 135.4 kB / 486.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.1316, allocations: 0.7614 MB / 487.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.1317, allocations: 78.31 kB / 487.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.1319, allocations: 108.4 kB / 487.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.1342, allocations: 1.518 MB / 489.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1342, allocations: 7.875 kB / 489.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1343, allocations: 40 kB / 489.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.1344, allocations: 20 kB / 489.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.1365, allocations: 1.472 MB / 490.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00768/0.1442, allocations: 6.003 MB / 496.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.1479, allocations: 3.753 MB / 0.4888 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.1493, allocations: 1.098 MB / 0.4899 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.1495, allocations: 37.27 kB / 0.4899 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1495, allocations: 60.09 kB / 0.4899 GB, free: 13.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.586e-06/0.1496, allocations: 0 / 0.4899 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03099/0.1806, allocations: 8.286 MB / 0.498 GB, free: 5.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1807, allocations: 124.1 kB / 0.4982 GB, free: 4.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1817, allocations: 0.6682 MB / 0.4988 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.1819, allocations: 65.7 kB / 0.4989 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.1823, allocations: 346.3 kB / 0.4992 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/0.1827, allocations: 0.4927 MB / 0.4997 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.1833, allocations: 279.6 kB / 0.4999 GB, free: 3.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1835, allocations: 353.9 kB / 0.5003 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.1849, allocations: 0.9646 MB / 0.5012 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.1865, allocations: 1.09 MB / 0.5023 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1801/0.3667, allocations: 2.152 MB / 0.5044 GB, free: 43.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3667, allocations: 0 / 0.5044 GB, free: 43.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01045/0.3772, allocations: 4.121 MB / 0.5084 GB, free: 42.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3772, allocations: 5.688 kB / 0.5084 GB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3772, allocations: 7.547 kB / 0.5084 GB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.389, allocations: 4.196 MB / 0.5125 GB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.39, allocations: 231.5 kB / 0.5127 GB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.4101, allocations: 13.11 MB / 0.5256 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.4112, allocations: 143.3 kB / 0.5257 GB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4113, allocations: 49.06 kB / 0.5257 GB, free: 34.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.4117, allocations: 315.1 kB / 0.526 GB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.4119, allocations: 107 kB / 0.5261 GB, free: 34.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.4206, allocations: 4.078 MB / 0.5301 GB, free: 32.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4206, allocations: 16 kB / 0.5301 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4207, allocations: 0 / 0.5301 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4207, allocations: 7.359 kB / 0.5301 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009381/0.4301, allocations: 5.989 MB / 0.536 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.4301, allocations: 1.781 kB / 0.536 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.4306, allocations: 183.7 kB / 0.5362 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008789/0.4394, allocations: 2.883 MB / 0.539 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.4395, allocations: 39.92 kB / 0.539 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.4569, allocations: 12.9 MB / 0.5516 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4569, allocations: 0 / 0.5516 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008104/0.465, allocations: 3.949 MB / 0.5555 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4652, allocations: 203.4 kB / 0.5557 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.4654, allocations: 35.94 kB / 0.5557 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.4663, allocations: 91.91 kB / 0.5558 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.4666, allocations: 126.4 kB / 0.5559 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.4667, allocations: 51.98 kB / 0.556 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004836/0.4672, allocations: 463 kB / 0.5564 GB, free: 5.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4672, allocations: 0 / 0.5564 GB, free: 5.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001383/0.4686, allocations: 0.5582 MB / 0.5569 GB, free: 4.828 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008102/0.4767, allocations: 4.55 MB / 0.5614 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007327/0.484, allocations: 3.438 MB / 0.5647 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.4841, allocations: 8.594 kB / 0.5648 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005221/0.4893, allocations: 2.261 MB / 0.567 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4903, allocations: 151.8 kB / 0.5671 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/0.5197, allocations: 15.08 MB / 0.5818 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.5206, allocations: 1.107 MB / 0.5829 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005503/0.5212, allocations: 147.7 kB / 0.5831 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/0.5218, allocations: 415.3 kB / 0.5835 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5218, allocations: 0 / 0.5835 GB, free: 9.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08473/0.6065, allocations: 50.5 MB / 0.6328 GB, free: 7.254 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.19, allocations: 11.62 kB / 0.6328 GB, free: 7.242 MB / 462.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)