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.001802/0.001802, allocations: 111.4 kB / 17.09 MB, free: 5.773 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.002113/0.002113, allocations: 195 kB / 18.03 MB, free: 4.953 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05965/0.05965, allocations: 8.088 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 363.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2343, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004626/0.2389, allocations: 6.121 MB / 420.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.2421, allocations: 2.441 MB / 423.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.2425, allocations: 27.94 kB / 423.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.2431, allocations: 329.8 kB / 423.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2442, allocations: 0.6444 MB / 424.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.2463, allocations: 1.49 MB / 425.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2475, allocations: 1.462 MB / 427.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005095/0.248, allocations: 0.5211 MB / 427.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.2485, allocations: 0.5994 MB / 428.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.2491, allocations: 0.7431 MB / 429.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.2493, allocations: 148 kB / 429.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.2499, allocations: 387.8 kB / 429.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2501, allocations: 314.8 kB / 429.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.2505, allocations: 0.696 MB / 430.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.2517, allocations: 1.811 MB / 432.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2517, allocations: 0 / 432.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2517, allocations: 0 / 432.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2518, allocations: 0 / 432.4 MB, free: 7.672 MB / 302.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.0114/0.2632, allocations: 3.239 MB / 435.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2632, allocations: 11.89 kB / 435.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.2635, allocations: 147.3 kB / 435.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.2645, allocations: 0.7692 MB / 436.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.2646, allocations: 74.38 kB / 436.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2648, allocations: 104.4 kB / 436.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2667, allocations: 1.518 MB / 438.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2668, allocations: 192 / 438.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2669, allocations: 43.94 kB / 438.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2669, allocations: 20 kB / 438.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.2686, allocations: 1.472 MB / 439.8 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008076/0.2767, allocations: 5.999 MB / 445.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.2806, allocations: 3.757 MB / 449.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.2821, allocations: 1.102 MB / 450.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.2823, allocations: 37.27 kB / 450.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.2824, allocations: 60.05 kB / 450.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.307e-06/0.2824, allocations: 0 / 450.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03345/0.3158, allocations: 8.278 MB / 459 MB, free: 12.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.316, allocations: 124.1 kB / 459.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3171, allocations: 0.6682 MB / 459.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.3175, allocations: 65.7 kB / 459.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.3178, allocations: 346.3 kB / 460.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.3183, allocations: 0.4966 MB / 460.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.3189, allocations: 279.6 kB / 461 MB, free: 10.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3191, allocations: 353.9 kB / 461.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.3206, allocations: 0.9568 MB / 462.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.3222, allocations: 1.086 MB / 463.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.3255, allocations: 2.162 MB / 465.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.3256, allocations: 3.938 kB / 465.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01064/0.3362, allocations: 4.116 MB / 469.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.3363, allocations: 8 kB / 469.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3363, allocations: 0 / 469.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/0.349, allocations: 4.204 MB / 473.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3501, allocations: 223.7 kB / 474.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/0.3749, allocations: 13.14 MB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3762, allocations: 142.5 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.3764, allocations: 51.98 kB / 487.4 MB, free: 15.43 MB / 366.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.0006299/0.377, allocations: 305.6 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.3772, allocations: 106.7 kB / 487.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.3874, allocations: 4.078 MB / 491.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.3874, allocations: 16 kB / 491.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3874, allocations: 4 kB / 491.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.3875, allocations: 11.97 kB / 491.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.4, allocations: 5.987 MB / 497.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4001, allocations: 0 / 497.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.4007, allocations: 175.7 kB / 498.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/0.411, allocations: 2.887 MB / 0.4892 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.4112, allocations: 35.98 kB / 0.4893 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.4343, allocations: 12.9 MB / 0.5019 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4344, allocations: 11.88 kB / 0.5019 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.4445, allocations: 3.942 MB / 0.5057 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.445, allocations: 215.2 kB / 0.5059 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.4452, allocations: 28 kB / 0.506 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4463, allocations: 91.86 kB / 0.506 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.4468, allocations: 130.3 kB / 0.5062 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.447, allocations: 47.98 kB / 0.5062 GB, free: 188 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2345/0.6815, allocations: 460.7 kB / 0.5067 GB, free: 91.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6815, allocations: 0 / 0.5067 GB, free: 91.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002865/0.6844, allocations: 0.552 MB / 0.5072 GB, free: 91.68 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.0004055/0.6848, allocations: 156.8 kB / 0.5073 GB, free: 91.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007632/0.6925, allocations: 3.432 MB / 0.5107 GB, free: 91.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.6925, allocations: 4.594 kB / 0.5107 GB, free: 91.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00556/0.6981, allocations: 2.258 MB / 0.5129 GB, free: 90.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6992, allocations: 152 kB / 0.5131 GB, free: 90.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.7037, allocations: 2.402 MB / 0.5154 GB, free: 89.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.7045, allocations: 1.096 MB / 0.5165 GB, free: 89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006019/0.7051, allocations: 159.3 kB / 0.5166 GB, free: 88.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.7053, allocations: 88.16 kB / 0.5167 GB, free: 88.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7053, allocations: 0 / 0.5167 GB, free: 88.92 MB / 382.1 MB Notification: Performance of Templates: time 0.04936/0.7547, allocations: 40.52 MB / 0.5563 GB, free: 53.24 MB / 382.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)