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.0009928/0.000993, allocations: 92.75 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.001094/0.001094, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.57/1.57, 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.1691/0.1691, allocations: 38.05 MB / 310.1 MB, free: 5.902 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.0005171/0.0005172, allocations: 12 kB / 377.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2671, allocations: 56.35 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003091/0.2702, allocations: 3.307 MB / 436.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2718, allocations: 1.533 MB / 438.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2719, allocations: 11.88 kB / 438.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.2721, allocations: 35.77 kB / 438.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.2726, allocations: 259.2 kB / 438.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.2729, allocations: 99.75 kB / 438.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.2734, allocations: 0.5612 MB / 439.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.2739, allocations: 334.8 kB / 439.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2741, allocations: 119.4 kB / 439.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.2743, allocations: 151.5 kB / 439.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2743, allocations: 8 kB / 439.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.2748, allocations: 383 kB / 440.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.2749, allocations: 91.77 kB / 440.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.275, allocations: 121.2 kB / 440.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.2753, allocations: 354.9 kB / 440.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2753, allocations: 0 / 440.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2753, allocations: 0 / 440.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2753, allocations: 0 / 440.8 MB, free: 11.29 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.0005275/0.2759, allocations: 482.6 kB / 441.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2759, allocations: 8.031 kB / 441.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.2767, allocations: 100.5 kB / 441.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.2769, allocations: 276.2 kB / 441.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2769, allocations: 12.38 kB / 441.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.277, allocations: 19.94 kB / 441.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.2774, allocations: 318.3 kB / 442 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2774, allocations: 7.938 kB / 442 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.2774, allocations: 8 kB / 442 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.2775, allocations: 15.98 kB / 442 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.2778, allocations: 287.8 kB / 442.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.279, allocations: 1.289 MB / 443.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.2793, allocations: 238.3 kB / 443.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.2794, allocations: 57.69 kB / 443.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2794, allocations: 4 kB / 443.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2795, allocations: 38.56 kB / 443.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.2795, allocations: 48 / 443.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005004/0.28, allocations: 296.2 kB / 444.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.28, allocations: 77.11 kB / 444.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2801, allocations: 190.3 kB / 444.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2802, allocations: 33.69 kB / 444.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.2802, allocations: 163.7 kB / 444.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2802, allocations: 43.48 kB / 444.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.2803, allocations: 33.7 kB / 444.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.2803, allocations: 322.8 kB / 445.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.2804, allocations: 47.97 kB / 445.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.2805, allocations: 152.7 kB / 445.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2807, allocations: 212.7 kB / 445.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2807, allocations: 4 kB / 445.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002412/0.2809, allocations: 233 kB / 445.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2809, allocations: 4 kB / 445.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2809, allocations: 4.438 kB / 445.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.281, allocations: 8 kB / 445.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2811, allocations: 43.92 kB / 445.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2811, allocations: 4 kB / 445.8 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.2812, allocations: 12.06 kB / 445.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2813, allocations: 15.98 kB / 445.8 MB, free: 5.887 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 9.236e-05/0.2814, allocations: 153.7 kB / 445.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.2814, allocations: 19.81 kB / 446 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.2816, allocations: 158.1 kB / 446.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2816, allocations: 4 kB / 446.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2816, allocations: 0 / 446.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2816, allocations: 0 / 446.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.2822, allocations: 0.665 MB / 446.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2823, allocations: 4 kB / 446.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.2824, allocations: 39.8 kB / 446.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2824, allocations: 4.438 kB / 446.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2824, allocations: 12 kB / 446.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2824, allocations: 4 kB / 446.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2824, allocations: 7.938 kB / 446.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2826, allocations: 335.2 kB / 447.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.2827, allocations: 100.9 kB / 447.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2827, allocations: 11.98 kB / 447.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2828, allocations: 4 kB / 447.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.2829, allocations: 23.86 kB / 447.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.2829, allocations: 8 kB / 447.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.283, allocations: 152.1 kB / 447.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.283, allocations: 3.938 kB / 447.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2833, allocations: 44 kB / 447.5 MB, free: 3.969 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 8.506e-05/0.2834, allocations: 107.1 kB / 447.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2836, allocations: 136.1 kB / 447.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2836, allocations: 4.062 kB / 447.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.2837, allocations: 63.78 kB / 447.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.2842, allocations: 40.48 kB / 447.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.2849, allocations: 0.5928 MB / 448.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2852, allocations: 0.7518 MB / 449.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2853, allocations: 45.5 kB / 449.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2853, allocations: 19.44 kB / 449.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2853, allocations: 0 / 449.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.003525/0.2889, allocations: 1.252 MB / 450.5 MB, free: 0.8711 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) Environment - environmentSimulation: