Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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: translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 117.3 kB / 17.13 MB, free: 5.961 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.001047/0.001047, allocations: 195 kB / 18.06 MB, free: 5.039 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04843/0.04843, allocations: 8.101 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08562, allocations: 51.52 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006231/0.09189, allocations: 5.904 MB / 472.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.09578, allocations: 2.337 MB / 474.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.09654, allocations: 20 kB / 474.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.09744, allocations: 321.8 kB / 475.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.09917, allocations: 0.6093 MB / 475.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.102, allocations: 1.451 MB / 477.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.1038, allocations: 1.303 MB / 478.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006199/0.1045, allocations: 409.1 kB / 479 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.1052, allocations: 0.5487 MB / 479.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.1063, allocations: 0.6963 MB / 480.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.1066, allocations: 104 kB / 480.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007956/0.1074, allocations: 343.7 kB / 480.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1076, allocations: 259 kB / 481 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.1084, allocations: 0.6101 MB / 481.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.11, allocations: 1.421 MB / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.11, allocations: 0 / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.11, allocations: 0 / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.655e-05/0.11, allocations: 4 kB / 483 MB, free: 1.742 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01318/0.1232, allocations: 3.147 MB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1233, allocations: 11.89 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.1236, allocations: 135.4 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1247, allocations: 0.6832 MB / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.1247, allocations: 70.38 kB / 487 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.1249, allocations: 96.38 kB / 487.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.1271, allocations: 1.35 MB / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1272, allocations: 0 / 488.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.1273, allocations: 40 kB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1273, allocations: 20 kB / 488.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.1292, allocations: 1.277 MB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006873/0.1361, allocations: 5.211 MB / 495 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.1391, allocations: 3.112 MB / 498.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.1403, allocations: 0.9771 MB / 499.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1405, allocations: 37.25 kB / 499.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.1405, allocations: 63.97 kB / 499.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.787e-06/0.1406, allocations: 0 / 499.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02796/0.1685, allocations: 7.065 MB / 0.4944 GB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.1686, allocations: 116.1 kB / 0.4945 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/0.1695, allocations: 0.6447 MB / 0.4952 GB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.1698, allocations: 69.7 kB / 0.4952 GB, free: 8.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.17, allocations: 334.3 kB / 0.4955 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.1705, allocations: 496.6 kB / 0.496 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005014/0.171, allocations: 275.6 kB / 0.4963 GB, free: 7.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1711, allocations: 345.9 kB / 0.4966 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.1724, allocations: 0.863 MB / 0.4974 GB, free: 6.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.1738, allocations: 0.9768 MB / 0.4984 GB, free: 5.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.1766, allocations: 1.939 MB / 0.5003 GB, free: 3.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1766, allocations: 0 / 0.5003 GB, free: 3.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.1994/0.3761, allocations: 3.822 MB / 0.504 GB, free: 43.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3761, allocations: 6.375 kB / 0.504 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3761, allocations: 0.7031 kB / 0.504 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/0.3887, allocations: 3.931 MB / 0.5079 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.3897, allocations: 229.3 kB / 0.5081 GB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.412, allocations: 11.43 MB / 0.5193 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4132, allocations: 141.4 kB / 0.5194 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.4133, allocations: 55.62 kB / 0.5194 GB, free: 37.8 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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004323/0.4138, allocations: 256.5 kB / 0.5197 GB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.414, allocations: 113.5 kB / 0.5198 GB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009704/0.4237, allocations: 3.794 MB / 0.5235 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4237, allocations: 15.69 kB / 0.5235 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4237, allocations: 0 / 0.5235 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4237, allocations: 9.938 kB / 0.5235 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.4339, allocations: 5.312 MB / 0.5287 GB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.4339, allocations: 4 kB / 0.5287 GB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.4345, allocations: 180.8 kB / 0.5289 GB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009769/0.4443, allocations: 2.723 MB / 0.5315 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/0.4446, allocations: 31.98 kB / 0.5316 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.4637, allocations: 11.24 MB / 0.5426 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4637, allocations: 4 kB / 0.5426 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/0.4726, allocations: 3.664 MB / 0.5461 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.4729, allocations: 203.3 kB / 0.5463 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.4731, allocations: 28 kB / 0.5464 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4741, allocations: 95.86 kB / 0.5464 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.4746, allocations: 118.4 kB / 0.5466 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.4747, allocations: 51.98 kB / 0.5466 GB, free: 16.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.4752, allocations: 435 kB / 0.547 GB, free: 16.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4752, allocations: 0 / 0.547 GB, free: 16.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4767, allocations: 0.5349 MB / 0.5475 GB, free: 15.57 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.477, allocations: 174.2 kB / 0.5477 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006636/0.4837, allocations: 3.174 MB / 0.5508 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4837, allocations: 4.656 kB / 0.5508 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005057/0.4888, allocations: 2.112 MB / 0.5529 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4899, allocations: 152.4 kB / 0.553 GB, free: 9.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.4936, allocations: 2.213 MB / 0.5552 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.4941, allocations: 1.084 MB / 0.5562 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.4945, allocations: 99.39 kB / 0.5563 GB, free: 6.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4945, allocations: 8 kB / 0.5563 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Templates: time 0.0314/0.5259, allocations: 22.69 MB / 0.5785 GB, free: 15.85 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)