Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 96.52 kB / 16.3 MB, free: 6.461 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.001294/0.001294, allocations: 183.2 kB / 17.2 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1891/0.1891, allocations: 38.04 MB / 309.7 MB, free: 6.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005917, allocations: 20 kB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2313, allocations: 56.32 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.00548/0.2368, allocations: 6.616 MB / 439.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.241, allocations: 3.825 MB / 443.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.2414, allocations: 15.94 kB / 443.3 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.2417, allocations: 143.1 kB / 443.4 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.2432, allocations: 0.549 MB / 443.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.2438, allocations: 227.4 kB / 444.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.2444, allocations: 0.5651 MB / 444.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.2448, allocations: 320.1 kB / 445 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.2453, allocations: 350.6 kB / 445.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.2457, allocations: 287 kB / 445.7 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.2457, allocations: 20 kB / 445.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2468, allocations: 446.9 kB / 446.1 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.247, allocations: 223.5 kB / 446.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.2471, allocations: 113.5 kB / 446.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.2477, allocations: 0.5729 MB / 447 MB, free: 4.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2477, allocations: 0 / 447 MB, free: 4.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2477, allocations: 0 / 447 MB, free: 4.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2477, allocations: 0 / 447 MB, free: 4.562 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009275/0.2486, allocations: 0.7181 MB / 447.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2487, allocations: 8.031 kB / 447.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.2502, allocations: 147.2 kB / 447.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.2506, allocations: 325.2 kB / 448.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2506, allocations: 32.98 kB / 448.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.2507, allocations: 35.98 kB / 448.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.2513, allocations: 0.5749 MB / 448.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2513, allocations: 3.938 kB / 448.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.2513, allocations: 23.98 kB / 448.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.2514, allocations: 36.58 kB / 448.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.2518, allocations: 386.1 kB / 449.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2539, allocations: 2.596 MB / 451.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.2545, allocations: 439.8 kB / 452.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2545, allocations: 8.062 kB / 452.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2546, allocations: 30.56 kB / 452.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.2546, allocations: 0 / 452.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001588/0.2562, allocations: 0.7653 MB / 453.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.2563, allocations: 106.8 kB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.2566, allocations: 316.5 kB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2566, allocations: 37.94 kB / 453.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2568, allocations: 247.9 kB / 453.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.2569, allocations: 118.3 kB / 453.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.2569, allocations: 12 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.257, allocations: 338.8 kB / 454.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2572, allocations: 128.8 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.2575, allocations: 280 kB / 454.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.2577, allocations: 177.2 kB / 454.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2577, allocations: 0 / 454.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007635/0.2585, allocations: 0.5612 MB / 455.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2585, allocations: 4 kB / 455.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2586, allocations: 8.5 kB / 455.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.2589, allocations: 126.8 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2591, allocations: 71.84 kB / 455.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.2615, allocations: 2.387 MB / 458 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2618, allocations: 39.59 kB / 458 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.2618, allocations: 20 kB / 458.1 MB, free: 8.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.262, allocations: 205.6 kB / 458.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.2621, allocations: 39.59 kB / 458.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.2622, allocations: 55.91 kB / 458.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.2622, allocations: 4 kB / 458.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2622, allocations: 4 kB / 458.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2622, allocations: 4.062 kB / 458.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2634, allocations: 0.9377 MB / 459.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2634, allocations: 0 / 459.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2635, allocations: 36.05 kB / 459.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.2638, allocations: 112.9 kB / 459.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.2638, allocations: 8 kB / 459.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.2661, allocations: 2.381 MB / 461.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2661, allocations: 3.938 kB / 461.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.2668, allocations: 0.657 MB / 462.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2669, allocations: 120.6 kB / 462.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.2669, allocations: 11.95 kB / 462.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2671, allocations: 12 kB / 462.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2672, allocations: 19.97 kB / 462.7 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2672, allocations: 8 kB / 462.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.2674, allocations: 223 kB / 462.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2674, allocations: 0 / 462.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000652/0.2681, allocations: 155.8 kB / 463 MB, free: 3.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.2682, allocations: 110.6 kB / 463.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007366/0.2689, allocations: 0.5153 MB / 463.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2689, allocations: 0 / 463.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.2694, allocations: 355 kB / 464 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2697, allocations: 46.36 kB / 464.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2709, allocations: 0.9632 MB / 465 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.2713, allocations: 0.8902 MB / 465.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.2715, allocations: 70.89 kB / 466 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.2715, allocations: 23.44 kB / 466 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2715, allocations: 4 kB / 466 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of Templates: time 0.00643/0.278, allocations: 3.375 MB / 469.4 MB, free: 13.19 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) Environment - environmentSimulation: