Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009068/0.0009068, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.544/1.544, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1785/0.1785, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0004811/0.0004811, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2568, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003488/0.2603, allocations: 3.814 MB / 437.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2625, allocations: 1.91 MB / 439.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.2628, allocations: 11.88 kB / 439.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.263, allocations: 47.69 kB / 439.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009595/0.2639, allocations: 390.7 kB / 439.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2643, allocations: 123.7 kB / 439.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.265, allocations: 0.8419 MB / 440.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.2658, allocations: 439.6 kB / 441 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.2661, allocations: 167.2 kB / 441.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.2664, allocations: 235.2 kB / 441.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2665, allocations: 16 kB / 441.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.2672, allocations: 0.53 MB / 442 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.2674, allocations: 147.5 kB / 442.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2676, allocations: 161 kB / 442.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.2682, allocations: 0.4945 MB / 442.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2682, allocations: 11.92 kB / 442.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2682, allocations: 0 / 442.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2682, allocations: 0 / 442.8 MB, free: 9.312 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006914/0.2689, allocations: 0.5457 MB / 443.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.269, allocations: 12.03 kB / 443.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.2702, allocations: 132.4 kB / 443.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.2705, allocations: 287.7 kB / 443.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2705, allocations: 20.94 kB / 443.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.2706, allocations: 24.38 kB / 443.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.2712, allocations: 447.9 kB / 444.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2712, allocations: 4 kB / 444.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2712, allocations: 8 kB / 444.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.2713, allocations: 24.55 kB / 444.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.2718, allocations: 425.9 kB / 444.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2737, allocations: 1.721 MB / 446.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.274, allocations: 298 kB / 446.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.2742, allocations: 137.7 kB / 446.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.2742, allocations: 4 kB / 446.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2743, allocations: 46.48 kB / 446.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.2743, allocations: 0 / 446.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001535/0.2758, allocations: 0.783 MB / 447.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2759, allocations: 81.11 kB / 447.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.276, allocations: 214.8 kB / 448 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.276, allocations: 29.7 kB / 448 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.2761, allocations: 176.1 kB / 448.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.2762, allocations: 86.83 kB / 448.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.2762, allocations: 33.83 kB / 448.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2763, allocations: 330.8 kB / 448.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2764, allocations: 108.5 kB / 448.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2766, allocations: 201 kB / 448.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2769, allocations: 341 kB / 449.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2769, allocations: 0 / 449.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006241/0.2775, allocations: 437.6 kB / 449.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2776, allocations: 8 kB / 449.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2776, allocations: 0 / 449.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.2779, allocations: 89.19 kB / 449.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2782, allocations: 59.91 kB / 449.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.2797, allocations: 1.803 MB / 451.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2798, allocations: 15.98 kB / 451.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2799, allocations: 15.94 kB / 451.7 MB, free: 15.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.2801, allocations: 181.7 kB / 451.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2801, allocations: 19.72 kB / 451.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.2808, allocations: 380 kB / 452.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2809, allocations: 4 kB / 452.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2809, allocations: 7.938 kB / 452.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2809, allocations: 4 kB / 452.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.2824, allocations: 0.9136 MB / 453.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2824, allocations: 0 / 453.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2825, allocations: 39.86 kB / 453.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.2828, allocations: 72.78 kB / 453.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2828, allocations: 11.94 kB / 453.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.2847, allocations: 1.709 MB / 455 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2847, allocations: 4.031 kB / 455 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.2854, allocations: 462.3 kB / 455.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.2855, allocations: 100.8 kB / 455.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.2855, allocations: 8 kB / 455.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2857, allocations: 8 kB / 455.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2858, allocations: 27.84 kB / 455.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.2858, allocations: 8 kB / 455.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.2859, allocations: 152.4 kB / 455.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2859, allocations: 0 / 455.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.2864, allocations: 88 kB / 455.8 MB, free: 11.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.2866, allocations: 99.28 kB / 455.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007628/0.2874, allocations: 438.9 kB / 456.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2874, allocations: 0 / 456.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.2878, allocations: 278.5 kB / 456.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.2882, allocations: 32.5 kB / 456.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2893, allocations: 0.7555 MB / 457.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.2897, allocations: 0.7987 MB / 458.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.2899, allocations: 53.91 kB / 458.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.29, allocations: 23.44 kB / 458.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.29, allocations: 0 / 458.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of Templates: time 0.006123/0.2961, allocations: 2.784 MB / 461.1 MB, free: 6.051 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: