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.001661/0.001661, allocations: 113.9 kB / 17.69 MB, free: 5.305 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.0016/0.001601, allocations: 191 kB / 18.63 MB, free: 4.375 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.613/1.613, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1799/0.1799, allocations: 37.98 MB / 309.8 MB, free: 5.988 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.002357/0.002357, allocations: 71.89 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3171, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004479/0.3216, allocations: 3.947 MB / 436 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3238, allocations: 1.878 MB / 437.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.324, allocations: 4 kB / 437.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3251, allocations: 358.6 kB / 438.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.3261, allocations: 406.5 kB / 438.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.3265, allocations: 147.6 kB / 438.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.327, allocations: 486.6 kB / 439.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.3274, allocations: 215 kB / 439.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3276, allocations: 219.1 kB / 439.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3279, allocations: 227.2 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.3279, allocations: 20 kB / 439.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.3286, allocations: 438.9 kB / 440.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3287, allocations: 159.6 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.3288, allocations: 155.2 kB / 440.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3293, allocations: 498.6 kB / 441.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3294, allocations: 0 / 441.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3294, allocations: 4 kB / 441.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3294, allocations: 0 / 441.1 MB, free: 10.37 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.0007134/0.3301, allocations: 0.5925 MB / 441.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3302, allocations: 15.89 kB / 441.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.3313, allocations: 136.3 kB / 441.9 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.3317, allocations: 296.9 kB / 442.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3318, allocations: 28.91 kB / 442.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.3318, allocations: 24.38 kB / 442.2 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.3324, allocations: 439.9 kB / 442.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3324, allocations: 7.906 kB / 442.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3325, allocations: 8 kB / 442.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.3325, allocations: 24.55 kB / 442.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.333, allocations: 433.8 kB / 443.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.3347, allocations: 1.71 MB / 444.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.335, allocations: 282.2 kB / 445.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3352, allocations: 137.8 kB / 445.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3352, allocations: 12 kB / 445.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.3352, allocations: 38.5 kB / 445.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.3352, allocations: 0 / 445.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001506/0.3368, allocations: 0.7759 MB / 446 MB, free: 5.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.3368, allocations: 85.11 kB / 446.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3369, allocations: 222.7 kB / 446.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.337, allocations: 29.7 kB / 446.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.337, allocations: 184 kB / 446.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3371, allocations: 82.83 kB / 446.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.3372, allocations: 53.98 kB / 446.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.3372, allocations: 330.8 kB / 447 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3374, allocations: 104.5 kB / 447.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3375, allocations: 213 kB / 447.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.3378, allocations: 345 kB / 447.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3378, allocations: 0 / 447.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006195/0.3385, allocations: 433.7 kB / 448.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3385, allocations: 8 kB / 448.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3385, allocations: 4 kB / 448.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.3389, allocations: 88.78 kB / 448.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.3391, allocations: 51.91 kB / 448.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3407, allocations: 2.006 MB / 450.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3408, allocations: 19.98 kB / 450.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3409, allocations: 16 kB / 450.3 MB, free: 0.6133 MB / 318.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.0001408/0.341, allocations: 181.6 kB / 450.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3411, allocations: 19.75 kB / 450.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.3416, allocations: 384.1 kB / 450.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3417, allocations: 0 / 450.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3417, allocations: 4 kB / 450.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3417, allocations: 7.922 kB / 450.9 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.3432, allocations: 0.9139 MB / 451.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3432, allocations: 0 / 451.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3434, allocations: 47.84 kB / 451.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.3436, allocations: 68.86 kB / 451.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3437, allocations: 8 kB / 451.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.3454, allocations: 1.9 MB / 453.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3455, allocations: 4 kB / 453.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.3461, allocations: 467 kB / 454.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.3462, allocations: 100.9 kB / 454.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3462, allocations: 4 kB / 454.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3464, allocations: 12 kB / 454.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.3464, allocations: 23.91 kB / 454.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3465, allocations: 11.94 kB / 454.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3466, allocations: 152.4 kB / 454.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 0 / 454.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005047/0.3471, allocations: 84 kB / 454.6 MB, free: 11.96 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.000121/0.3472, allocations: 107.1 kB / 454.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.3479, allocations: 434.2 kB / 455.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.348, allocations: 0 / 455.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.3484, allocations: 287.3 kB / 455.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3488, allocations: 35.98 kB / 455.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3499, allocations: 0.6046 MB / 456.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3503, allocations: 0.7987 MB / 456.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.3504, allocations: 49.91 kB / 456.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3505, allocations: 23.44 kB / 456.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3505, allocations: 0 / 456.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of Templates: time 0.006485/0.357, allocations: 2.963 MB / 459.9 MB, free: 6.586 MB / 334.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)