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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(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.001877/0.001878, allocations: 109.7 kB / 17.28 MB, free: 6.059 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.003012/0.003012, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.628/2.628, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3723/0.3723, allocations: 38.01 MB / 330 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 68.84 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2308, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.01091/0.2418, allocations: 4.193 MB / 461.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.247, allocations: 1.858 MB / 463 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.2475, allocations: 11.94 kB / 463.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.2495, allocations: 350.2 kB / 463.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.2517, allocations: 382.8 kB / 463.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.2526, allocations: 127.7 kB / 463.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2538, allocations: 498.6 kB / 464.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.2546, allocations: 227 kB / 464.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.2554, allocations: 207.2 kB / 464.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.256, allocations: 259.1 kB / 465.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.2561, allocations: 20 kB / 465.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.2576, allocations: 447 kB / 465.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.2579, allocations: 151.5 kB / 465.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.2582, allocations: 151.2 kB / 465.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.2591, allocations: 387.2 kB / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2591, allocations: 0 / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.701e-06/0.2591, allocations: 3.984 kB / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2592, allocations: 0 / 466.2 MB, free: 15.16 MB / 350.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.001306/0.2605, allocations: 0.5887 MB / 466.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.2605, allocations: 11.89 kB / 466.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.2627, allocations: 140.4 kB / 466.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.2634, allocations: 289.3 kB / 467.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.2635, allocations: 20.94 kB / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2636, allocations: 24.36 kB / 467.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2648, allocations: 455.9 kB / 467.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.2648, allocations: 0 / 467.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.2649, allocations: 15.94 kB / 467.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/0.265, allocations: 20.55 kB / 467.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2661, allocations: 429.9 kB / 468.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.2699, allocations: 1.714 MB / 469.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.2707, allocations: 290.2 kB / 470.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.271, allocations: 133.7 kB / 470.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.2711, allocations: 7.922 kB / 470.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.2712, allocations: 38.5 kB / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 4.328e-06/0.2712, allocations: 0 / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.003425/0.2746, allocations: 0.7957 MB / 471.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.2747, allocations: 81.11 kB / 471.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.2751, allocations: 203 kB / 471.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.2752, allocations: 33.64 kB / 471.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2754, allocations: 192 kB / 471.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.2756, allocations: 74.86 kB / 471.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.2757, allocations: 57.89 kB / 471.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.276, allocations: 338.8 kB / 472.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.2763, allocations: 108.5 kB / 472.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.2767, allocations: 201 kB / 472.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.2776, allocations: 343.7 kB / 472.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2776, allocations: 0 / 472.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001571/0.2792, allocations: 436.5 kB / 473.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.2793, allocations: 6.188 kB / 473.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2793, allocations: 4 kB / 473.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007247/0.2801, allocations: 85.2 kB / 473.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.2805, allocations: 59.89 kB / 473.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.2845, allocations: 2.002 MB / 475.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.285, allocations: 20.05 kB / 475.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.2851, allocations: 12 kB / 475.3 MB, free: 5.414 MB / 350.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.0004254/0.2855, allocations: 169.8 kB / 475.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.2857, allocations: 35.62 kB / 475.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.287, allocations: 384.8 kB / 475.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.2871, allocations: 4 kB / 475.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2871, allocations: 0 / 475.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2871, allocations: 0 / 475.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.2899, allocations: 0.9242 MB / 476.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.2899, allocations: 4 kB / 476.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.2903, allocations: 35.92 kB / 476.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/0.2908, allocations: 72.84 kB / 476.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.2909, allocations: 8 kB / 477 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.2944, allocations: 1.904 MB / 478.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.2945, allocations: 3.984 kB / 478.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2958, allocations: 470.3 kB / 479.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.296, allocations: 96.83 kB / 479.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.2961, allocations: 8 kB / 479.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2964, allocations: 15.92 kB / 479.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.2965, allocations: 23.91 kB / 479.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.2966, allocations: 8 kB / 479.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.2969, allocations: 151.2 kB / 479.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2969, allocations: 0 / 479.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009429/0.2978, allocations: 84 kB / 479.7 MB, free: 0.7578 MB / 350.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.0002212/0.2981, allocations: 103.2 kB / 479.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.2996, allocations: 450.2 kB / 480.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2996, allocations: 0.8125 kB / 480.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.3003, allocations: 294.4 kB / 480.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.3009, allocations: 38.73 kB / 480.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3029, allocations: 0.7666 MB / 481.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.3037, allocations: 0.7987 MB / 482.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3038, allocations: 27.42 kB / 482.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3038, allocations: 0 / 482.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01332/0.3172, allocations: 4.362 MB / 486.5 MB, free: 9.824 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (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)