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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 96.88 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0486/0.0486, allocations: 8.095 MB / 348.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 53.45 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09118, allocations: 51.53 MB / 462.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004945/0.09617, allocations: 6.058 MB / 468.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.1002, allocations: 2.447 MB / 471.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.1008, allocations: 20 kB / 471.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.1015, allocations: 270.7 kB / 471.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1028, allocations: 0.5751 MB / 472 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.1056, allocations: 1.442 MB / 473.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.1075, allocations: 1.388 MB / 474.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1082, allocations: 443.3 kB / 475.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.1089, allocations: 0.533 MB / 475.8 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.1096, allocations: 0.6963 MB / 476.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.1098, allocations: 88 kB / 476.6 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007967/0.1106, allocations: 315.8 kB / 476.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.1108, allocations: 254.8 kB / 477.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.1114, allocations: 0.6335 MB / 477.8 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1131, allocations: 1.76 MB / 479.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1132, allocations: 0 / 479.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1132, allocations: 0 / 479.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.1132, allocations: 0 / 479.5 MB, free: 5.09 MB / 314.7 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.01288/0.1261, allocations: 3.239 MB / 482.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1261, allocations: 12.03 kB / 482.8 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.1264, allocations: 139.3 kB / 482.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1275, allocations: 0.7731 MB / 483.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.1276, allocations: 78.38 kB / 483.8 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.1278, allocations: 96.38 kB / 483.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1854/0.3132, allocations: 1.517 MB / 485.4 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3132, allocations: 3 kB / 485.4 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.3134, allocations: 39.77 kB / 485.4 MB, free: 26.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.3134, allocations: 24.47 kB / 485.4 MB, free: 26.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3155, allocations: 1.469 MB / 486.9 MB, free: 26.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007503/0.3231, allocations: 6.021 MB / 492.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.3259, allocations: 3.76 MB / 496.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3274, allocations: 1.098 MB / 497.8 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.3275, allocations: 42.8 kB / 497.8 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.3276, allocations: 57.81 kB / 497.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.228e-06/0.3276, allocations: 0 / 497.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=151): time 0.0333/0.3609, allocations: 8.28 MB / 0.4943 GB, free: 14.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.361, allocations: 118.4 kB / 0.4944 GB, free: 14.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/0.3619, allocations: 0.6712 MB / 0.4951 GB, free: 14.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.3621, allocations: 60.23 kB / 0.4951 GB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3622, allocations: 353.8 kB / 0.4955 GB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.3626, allocations: 0.492 MB / 0.4959 GB, free: 13.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/0.3631, allocations: 284.3 kB / 0.4962 GB, free: 13.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.3632, allocations: 351.8 kB / 0.4965 GB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.3648, allocations: 0.9582 MB / 0.4975 GB, free: 12.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.3665, allocations: 1.086 MB / 0.4985 GB, free: 11.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.3695, allocations: 2.162 MB / 0.5006 GB, free: 10.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3695, allocations: 7.969 kB / 0.5007 GB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009487/0.379, allocations: 4.109 MB / 0.5047 GB, free: 7.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.379, allocations: 12 kB / 0.5047 GB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.379, allocations: 0 / 0.5047 GB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.3898, allocations: 4.196 MB / 0.5088 GB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.3908, allocations: 227.7 kB / 0.509 GB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4131, allocations: 11.98 MB / 0.5207 GB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4145, allocations: 134.5 kB / 0.5208 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.4147, allocations: 59.97 kB / 0.5209 GB, free: 6.934 MB / 330.7 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.0006251/0.4153, allocations: 301.7 kB / 0.5212 GB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.4156, allocations: 114.7 kB / 0.5213 GB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.4263, allocations: 4.082 MB / 0.5253 GB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.4264, allocations: 16 kB / 0.5253 GB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4264, allocations: 3.172 kB / 0.5253 GB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.474e-05/0.4264, allocations: 7.969 kB / 0.5253 GB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.4394, allocations: 6.005 MB / 0.5312 GB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.4395, allocations: 0 / 0.5312 GB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.4402, allocations: 175.7 kB / 0.5313 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/0.4512, allocations: 2.895 MB / 0.5342 GB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003073/0.4516, allocations: 32 kB / 0.5342 GB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/0.4743, allocations: 11.77 MB / 0.5457 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4744, allocations: 0 / 0.5457 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.4875, allocations: 5.978 MB / 0.5515 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.4879, allocations: 211.2 kB / 0.5517 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4881, allocations: 28 kB / 0.5517 GB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.4892, allocations: 88.92 kB / 0.5518 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/0.4898, allocations: 126.4 kB / 0.5519 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.49, allocations: 51.98 kB / 0.552 GB, free: 6.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006923/0.4906, allocations: 459 kB / 0.5524 GB, free: 6.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4907, allocations: 0 / 0.5524 GB, free: 6.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001988/0.4927, allocations: 0.5621 MB / 0.553 GB, free: 5.785 MB / 362.7 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.0003801/0.4931, allocations: 159.9 kB / 0.5531 GB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008046/0.5011, allocations: 3.372 MB / 0.5564 GB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.5012, allocations: 4.656 kB / 0.5564 GB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006282/0.5074, allocations: 2.207 MB / 0.5586 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5087, allocations: 145.1 kB / 0.5587 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.5141, allocations: 3.705 MB / 0.5623 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.5149, allocations: 1.131 MB / 0.5634 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000633/0.5155, allocations: 147.7 kB / 0.5636 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.5158, allocations: 91.41 kB / 0.5637 GB, free: 10.76 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5158, allocations: 0 / 0.5637 GB, free: 10.76 MB / 378.7 MB Notification: Performance of Templates: time 0.05811/0.5739, allocations: 40.22 MB / 0.603 GB, free: 2.668 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)