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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 115.9 kB / 17.13 MB, free: 5.965 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.001017/0.001017, allocations: 197.2 kB / 18.07 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.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05057/0.05057, allocations: 8.096 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 67.91 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07878, allocations: 51.52 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.006191/0.08499, allocations: 6.126 MB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.08875, allocations: 2.439 MB / 475.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.08953, allocations: 20 kB / 475.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.09044, allocations: 333.8 kB / 475.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.09217, allocations: 0.6521 MB / 476.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.09507, allocations: 1.49 MB / 477.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.09707, allocations: 1.458 MB / 479.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007683/0.09785, allocations: 0.5288 MB / 479.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008231/0.09869, allocations: 0.5916 MB / 480.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.09985, allocations: 0.7587 MB / 481.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003372/0.1002, allocations: 152 kB / 481.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.1011, allocations: 383.8 kB / 481.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.1014, allocations: 306.9 kB / 481.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.1023, allocations: 0.6998 MB / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.1043, allocations: 1.815 MB / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1043, allocations: 0 / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1043, allocations: 0 / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.1044, allocations: 0 / 484.4 MB, free: 360 kB / 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.01339/0.1178, allocations: 3.229 MB / 487.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1178, allocations: 15.89 kB / 487.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.1182, allocations: 139.4 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1194, allocations: 0.773 MB / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.1195, allocations: 74.38 kB / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.1198, allocations: 100.4 kB / 488.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.1228, allocations: 1.514 MB / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1228, allocations: 8.125 kB / 490.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.123, allocations: 43.94 kB / 490.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.123, allocations: 24 kB / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.1253, allocations: 1.468 MB / 491.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008086/0.1334, allocations: 5.995 MB / 497.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.137, allocations: 3.757 MB / 0.4898 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1387, allocations: 1.11 MB / 0.4909 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.1388, allocations: 33.27 kB / 0.4909 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.1389, allocations: 52.11 kB / 0.4909 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 4.118e-06/0.1389, allocations: 0 / 0.4909 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03339/0.1723, allocations: 8.286 MB / 0.499 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.1724, allocations: 120.1 kB / 0.4992 GB, free: 4.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1736, allocations: 0.6721 MB / 0.4998 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.1738, allocations: 57.7 kB / 0.4999 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.1741, allocations: 346.4 kB / 0.5002 GB, free: 3.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/0.1747, allocations: 0.5043 MB / 0.5007 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/0.1752, allocations: 283.6 kB / 0.501 GB, free: 2.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1754, allocations: 345.9 kB / 0.5013 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.1769, allocations: 0.9606 MB / 0.5022 GB, free: 1.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.1785, allocations: 1.082 MB / 0.5033 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1979/0.3764, allocations: 2.161 MB / 0.5054 GB, free: 44.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3764, allocations: 0 / 0.5054 GB, free: 44.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.0112/0.3877, allocations: 4.118 MB / 0.5094 GB, free: 42.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.3877, allocations: 8 kB / 0.5094 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3877, allocations: 3.938 kB / 0.5094 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/0.4006, allocations: 4.197 MB / 0.5135 GB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.4016, allocations: 225.4 kB / 0.5137 GB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.424, allocations: 13.13 MB / 0.5266 GB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.4253, allocations: 140.5 kB / 0.5267 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4254, allocations: 53.19 kB / 0.5267 GB, free: 34.55 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.0005471/0.426, allocations: 310.2 kB / 0.527 GB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.4262, allocations: 107.9 kB / 0.5271 GB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/0.4358, allocations: 4.076 MB / 0.5311 GB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.4358, allocations: 16 kB / 0.5311 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4358, allocations: 0 / 0.5311 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.4359, allocations: 7.125 kB / 0.5311 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.4467, allocations: 5.989 MB / 0.537 GB, free: 26.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.4467, allocations: 8 kB / 0.537 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.4474, allocations: 179.7 kB / 0.5372 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/0.4578, allocations: 2.883 MB / 0.54 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/0.4581, allocations: 47.92 kB / 0.54 GB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/0.4801, allocations: 12.89 MB / 0.5526 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4802, allocations: 0 / 0.5526 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009923/0.4901, allocations: 3.945 MB / 0.5565 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.4905, allocations: 207.3 kB / 0.5567 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/0.4907, allocations: 35.94 kB / 0.5567 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4919, allocations: 94.22 kB / 0.5568 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.4924, allocations: 123.4 kB / 0.5569 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.4926, allocations: 55.98 kB / 0.557 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000659/0.4932, allocations: 463 kB / 0.5574 GB, free: 5.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4932, allocations: 0 / 0.5574 GB, free: 5.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4949, allocations: 0.5504 MB / 0.558 GB, free: 4.5 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.0003582/0.4953, allocations: 162.1 kB / 0.5581 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00741/0.5027, allocations: 3.439 MB / 0.5615 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.5028, allocations: 4.594 kB / 0.5615 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00574/0.5085, allocations: 2.27 MB / 0.5637 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5096, allocations: 147 kB / 0.5638 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.5144, allocations: 2.43 MB / 0.5662 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.5153, allocations: 1.096 MB / 0.5673 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.5157, allocations: 99.39 kB / 0.5674 GB, free: 10.8 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5157, allocations: 0 / 0.5674 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Templates: time 0.03623/0.5519, allocations: 25.33 MB / 0.5921 GB, free: 1.5 MB / 414.1 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)