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.001254/0.001254, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001236/0.001237, allocations: 192 kB / 18.62 MB, free: 4.543 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.599/1.599, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1787/0.1787, allocations: 37.98 MB / 309.8 MB, free: 5.977 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.001477/0.001477, allocations: 79.39 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2714, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004416/0.2759, allocations: 3.44 MB / 435.4 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2775, allocations: 1.489 MB / 436.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2776, allocations: 11.94 kB / 436.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.2783, allocations: 251 kB / 437.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.2788, allocations: 275 kB / 437.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.279, allocations: 111.7 kB / 437.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.2793, allocations: 346.9 kB / 437.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.2796, allocations: 141.7 kB / 438 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.2797, allocations: 147.4 kB / 438.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2799, allocations: 147.5 kB / 438.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.28, allocations: 20 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.2803, allocations: 311.2 kB / 438.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.2804, allocations: 99.75 kB / 438.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.2805, allocations: 103.5 kB / 438.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.2808, allocations: 339.1 kB / 439.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2808, allocations: 3.938 kB / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2808, allocations: 0 / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2808, 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.0005228/0.2814, allocations: 0.5159 MB / 439.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2814, allocations: 15.89 kB / 439.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007704/0.2822, allocations: 88.56 kB / 439.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2825, allocations: 264.4 kB / 440.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2825, allocations: 16.31 kB / 440.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.2825, allocations: 20.12 kB / 440.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.2829, allocations: 322.3 kB / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.283, allocations: 0 / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.283, allocations: 7.938 kB / 440.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.283, allocations: 15.98 kB / 440.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.2833, allocations: 291.8 kB / 440.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2846, allocations: 1.285 MB / 442 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.285, allocations: 242.3 kB / 442.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.285, allocations: 53.75 kB / 442.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2851, allocations: 3.938 kB / 442.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2851, allocations: 42.56 kB / 442.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2851, allocations: 3.938 kB / 442.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005329/0.2856, allocations: 297.9 kB / 442.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.2857, allocations: 81.11 kB / 442.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2858, allocations: 190.4 kB / 442.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2858, allocations: 25.7 kB / 442.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2859, allocations: 163.7 kB / 443.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2859, allocations: 51.48 kB / 443.1 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.286, allocations: 45.7 kB / 443.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.2861, allocations: 322.8 kB / 443.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.2861, allocations: 48.03 kB / 443.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.2862, allocations: 156.7 kB / 443.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2864, allocations: 216.7 kB / 443.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2864, allocations: 4 kB / 443.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002413/0.2867, allocations: 225 kB / 444.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2867, allocations: 4.438 kB / 444.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2867, allocations: 8 kB / 444.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2867, allocations: 4 kB / 444.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2869, allocations: 47.92 kB / 444.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2869, allocations: 7.984 kB / 444.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.287, allocations: 8 kB / 444.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.287, allocations: 12 kB / 444.2 MB, free: 6.828 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.177e-05/0.2871, allocations: 153.8 kB / 444.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2871, allocations: 19.75 kB / 444.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.2873, allocations: 151.1 kB / 444.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2874, allocations: 4 kB / 444.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2874, allocations: 0 / 444.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2874, allocations: 3.984 kB / 444.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.288, allocations: 0.6611 MB / 445.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.288, allocations: 4 kB / 445.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.2881, allocations: 32.36 kB / 445.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2881, allocations: 11.94 kB / 445.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2881, allocations: 8 kB / 445.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2881, allocations: 4 kB / 445.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2882, allocations: 7.938 kB / 445.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.2884, allocations: 335.2 kB / 445.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.2884, allocations: 100.8 kB / 445.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.2884, allocations: 15.94 kB / 445.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2886, allocations: 4 kB / 445.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.2886, allocations: 23.86 kB / 445.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2886, allocations: 12 kB / 445.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.2887, allocations: 148.1 kB / 445.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2887, allocations: 0 / 445.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.2891, allocations: 47.94 kB / 446 MB, free: 4.914 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.0001054/0.2892, allocations: 107.2 kB / 446.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2894, allocations: 152 kB / 446.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2894, allocations: 0 / 446.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.2895, allocations: 59.78 kB / 446.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2899, allocations: 39.98 kB / 446.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.2905, allocations: 497 kB / 446.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2907, allocations: 0.7593 MB / 447.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.2908, allocations: 45.53 kB / 447.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2908, allocations: 19.44 kB / 447.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2909, allocations: 0 / 447.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of Templates: time 0.00372/0.2946, allocations: 1.325 MB / 448.9 MB, free: 1.836 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)