Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001096/0.001096, allocations: 192 kB / 18.62 MB, free: 4.41 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.404/1.404, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1793/0.1793, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001495/0.001495, allocations: 67.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2632, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005354/0.2687, allocations: 3.44 MB / 435.4 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2706, allocations: 1.485 MB / 436.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2708, allocations: 11.94 kB / 436.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.2717, allocations: 259 kB / 437.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.2723, allocations: 271 kB / 437.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.2726, allocations: 111.7 kB / 437.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.2729, allocations: 346.9 kB / 437.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.2732, allocations: 141.7 kB / 438 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.2734, allocations: 147.4 kB / 438.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2735, allocations: 147.5 kB / 438.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.2736, allocations: 16 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.2739, allocations: 311.2 kB / 438.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.274, allocations: 107.8 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.2741, allocations: 107.5 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.2745, allocations: 331.1 kB / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2745, allocations: 3.938 kB / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2745, allocations: 0 / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2745, allocations: 0 / 439.2 MB, free: 12.28 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.0005859/0.2751, allocations: 0.512 MB / 439.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2752, allocations: 15.89 kB / 439.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.2759, allocations: 88.55 kB / 439.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2762, allocations: 268.4 kB / 440.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2763, allocations: 12.38 kB / 440.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.2763, allocations: 20.12 kB / 440.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2767, allocations: 326.2 kB / 440.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2767, allocations: 3.984 kB / 440.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2767, allocations: 4 kB / 440.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.2768, allocations: 16 kB / 440.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.2771, allocations: 291.7 kB / 440.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.2783, allocations: 1.281 MB / 442 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.2786, allocations: 250.3 kB / 442.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.2787, allocations: 53.75 kB / 442.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2788, allocations: 11.88 kB / 442.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2788, allocations: 30.56 kB / 442.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2788, allocations: 0 / 442.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005101/0.2793, allocations: 302.5 kB / 442.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2793, allocations: 81.11 kB / 442.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2795, allocations: 190.4 kB / 442.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2795, allocations: 25.7 kB / 442.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.2796, allocations: 167.7 kB / 443.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2796, allocations: 47.36 kB / 443.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.2797, allocations: 41.7 kB / 443.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.2797, allocations: 331 kB / 443.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.2798, allocations: 43.97 kB / 443.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.2799, allocations: 148.7 kB / 443.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2801, allocations: 220.3 kB / 443.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2801, allocations: 0 / 443.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002359/0.2803, allocations: 237 kB / 444.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2803, allocations: 4 kB / 444.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2803, allocations: 4 kB / 444.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2804, allocations: 4 kB / 444.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2805, allocations: 48.34 kB / 444.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2805, allocations: 8 kB / 444.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.2806, allocations: 12.06 kB / 444.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2806, allocations: 12 kB / 444.2 MB, free: 6.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.0001022/0.2808, allocations: 157.8 kB / 444.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2808, allocations: 19.75 kB / 444.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.281, allocations: 143.1 kB / 444.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.281, allocations: 7.984 kB / 444.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.281, allocations: 0 / 444.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.281, allocations: 4 kB / 444.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.2816, allocations: 0.6611 MB / 445.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2817, allocations: 4 kB / 445.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.2818, allocations: 31.92 kB / 445.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2818, allocations: 11.94 kB / 445.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2818, allocations: 4 kB / 445.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2818, allocations: 7.984 kB / 445.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2818, allocations: 4.438 kB / 445.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.2821, allocations: 335.2 kB / 445.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.2821, allocations: 104.8 kB / 445.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2822, allocations: 15.94 kB / 445.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2823, allocations: 8 kB / 445.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.2823, allocations: 15.92 kB / 445.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2823, allocations: 12 kB / 445.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.2825, allocations: 156 kB / 445.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2825, allocations: 0 / 445.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.2828, allocations: 48 kB / 446 MB, free: 4.902 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * Single equations (assignments): 14 * 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 0.0001149/0.2829, allocations: 103.2 kB / 446.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.2832, allocations: 143.7 kB / 446.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2832, allocations: 0.875 kB / 446.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.2833, allocations: 67.91 kB / 446.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.2837, allocations: 31.98 kB / 446.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.2844, allocations: 496.6 kB / 446.8 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.2847, allocations: 0.7554 MB / 447.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.838e-05/0.2848, allocations: 49.53 kB / 447.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2848, allocations: 19.44 kB / 447.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2848, allocations: 0 / 447.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Templates: time 0.003794/0.2886, allocations: 1.332 MB / 448.9 MB, free: 1.828 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)