Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007203/0.0007204, allocations: 92.22 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.0009158/0.0009158, allocations: 183.4 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.465/1.465, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1671/0.1671, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005035/0.0005037, allocations: 16 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00364/0.2531, allocations: 3.342 MB / 436.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2549, allocations: 1.575 MB / 438.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2551, allocations: 11.94 kB / 438.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.2552, allocations: 35.7 kB / 438.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.2558, allocations: 267.2 kB / 438.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.256, allocations: 107.7 kB / 438.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.2564, allocations: 0.5728 MB / 439.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.257, allocations: 318.8 kB / 439.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.2572, allocations: 123.4 kB / 439.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.2574, allocations: 159.4 kB / 440 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.2574, allocations: 12 kB / 440 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.2579, allocations: 403 kB / 440.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.258, allocations: 95.77 kB / 440.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.2581, allocations: 129.2 kB / 440.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.2584, allocations: 370.8 kB / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2585, allocations: 0 / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2585, allocations: 0 / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2585, allocations: 4 kB / 441 MB, free: 11.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006459/0.2591, allocations: 486.6 kB / 441.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2592, allocations: 12.03 kB / 441.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008072/0.26, allocations: 92.55 kB / 441.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.2602, allocations: 267.8 kB / 441.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2603, allocations: 12.38 kB / 441.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.2603, allocations: 16.38 kB / 441.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.2607, allocations: 325.7 kB / 442.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2607, allocations: 0 / 442.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2607, allocations: 4 kB / 442.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.2608, allocations: 23.98 kB / 442.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.2611, allocations: 287.8 kB / 442.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2626, allocations: 1.279 MB / 443.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.263, allocations: 233 kB / 444 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2631, allocations: 94.02 kB / 444.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.2632, allocations: 11.92 kB / 444.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2632, allocations: 42.5 kB / 444.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2632, allocations: 0 / 444.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007552/0.264, allocations: 433 kB / 444.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.2641, allocations: 89.05 kB / 444.6 MB, free: 7.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2642, allocations: 198.3 kB / 444.8 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2643, allocations: 25.7 kB / 444.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.2643, allocations: 155.9 kB / 445 MB, free: 6.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.2644, allocations: 63.09 kB / 445.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2644, allocations: 29.83 kB / 445.1 MB, free: 6.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2645, allocations: 330.8 kB / 445.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2646, allocations: 83.95 kB / 445.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.2648, allocations: 160.5 kB / 445.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.265, allocations: 268.3 kB / 445.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.265, allocations: 4 kB / 445.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003421/0.2654, allocations: 288.1 kB / 446.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2654, allocations: 4 kB / 446.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2654, allocations: 7.938 kB / 446.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.2655, allocations: 4.281 kB / 446.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.2657, allocations: 63.89 kB / 446.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2657, allocations: 7.984 kB / 446.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2658, allocations: 15.92 kB / 446.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2659, allocations: 12 kB / 446.3 MB, free: 5.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.266, allocations: 153.8 kB / 446.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.266, allocations: 15.81 kB / 446.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.2664, allocations: 231.2 kB / 446.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2664, allocations: 8 kB / 446.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2664, allocations: 0 / 446.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2664, allocations: 0 / 446.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.2674, allocations: 0.9515 MB / 447.7 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2675, allocations: 4.5 kB / 447.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.2676, allocations: 43.91 kB / 447.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2676, allocations: 7.938 kB / 447.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2676, allocations: 11.94 kB / 447.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2676, allocations: 4 kB / 447.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2676, allocations: 7.938 kB / 447.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.2679, allocations: 416.9 kB / 448.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.268, allocations: 100.9 kB / 448.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.268, allocations: 11.94 kB / 448.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2682, allocations: 8 kB / 448.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2682, allocations: 31.84 kB / 448.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2682, allocations: 8 kB / 448.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.549e-05/0.2683, allocations: 143.2 kB / 448.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2683, allocations: 4 kB / 448.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2687, allocations: 52 kB / 448.5 MB, free: 3.047 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.487e-05/0.2688, allocations: 111.1 kB / 448.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.269, allocations: 209.6 kB / 448.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.269, allocations: 4 kB / 448.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2692, allocations: 101.2 kB / 448.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.2697, allocations: 48.38 kB / 449 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.2704, allocations: 0.6723 MB / 449.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2706, allocations: 0.7596 MB / 450.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.2708, allocations: 61.42 kB / 450.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.2708, allocations: 23.42 kB / 450.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2708, allocations: 0 / 450.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of Templates: time 0.004078/0.2749, allocations: 1.737 MB / 452.2 MB, free: 15.22 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) Environment - environmentSimulation: