Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 109.5 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.001953/0.001953, allocations: 190.9 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.448/1.448, 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.1774/0.1774, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.002161/0.002161, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2348, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003728/0.2386, allocations: 3.432 MB / 435.4 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2399, allocations: 1.489 MB / 436.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.24, allocations: 7.938 kB / 436.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.2406, allocations: 259 kB / 437.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.241, allocations: 275 kB / 437.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.2412, allocations: 111.7 kB / 437.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.2415, allocations: 335 kB / 437.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2417, allocations: 141.7 kB / 438 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.2419, allocations: 151.4 kB / 438.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.242, allocations: 151.5 kB / 438.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.242, allocations: 16 kB / 438.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.2424, allocations: 311.2 kB / 438.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.2424, allocations: 99.75 kB / 438.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.2425, allocations: 99.48 kB / 438.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.2428, allocations: 351 kB / 439.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2429, allocations: 0 / 439.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2429, allocations: 4 kB / 439.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2429, allocations: 0 / 439.2 MB, free: 12.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.0004872/0.2434, allocations: 0.5081 MB / 439.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2434, allocations: 15.89 kB / 439.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/0.2442, allocations: 92.53 kB / 439.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.2444, allocations: 264.4 kB / 440.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2445, allocations: 12.38 kB / 440.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.2445, allocations: 20.12 kB / 440.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.2449, allocations: 318.2 kB / 440.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2449, allocations: 4 kB / 440.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.2449, allocations: 11.98 kB / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.2449, allocations: 12 kB / 440.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2453, allocations: 291.7 kB / 440.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2465, allocations: 1.297 MB / 442 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.247, allocations: 213.2 kB / 442.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.2471, allocations: 53.77 kB / 442.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2471, allocations: 11.88 kB / 442.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2472, allocations: 34.55 kB / 442.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2472, allocations: 0 / 442.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007407/0.2479, allocations: 440.8 kB / 442.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.248, allocations: 85.09 kB / 442.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2481, allocations: 182.5 kB / 443 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.2481, allocations: 29.7 kB / 443 MB, free: 8.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.2482, allocations: 163.7 kB / 443.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2482, allocations: 47.36 kB / 443.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.2483, allocations: 45.7 kB / 443.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.2483, allocations: 330.8 kB / 443.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.2484, allocations: 51.97 kB / 443.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.2485, allocations: 152.7 kB / 443.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.2487, allocations: 228 kB / 444 MB, free: 7.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2487, allocations: 0 / 444 MB, free: 7.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003596/0.2491, allocations: 265.9 kB / 444.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2491, allocations: 8 kB / 444.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2491, allocations: 7.984 kB / 444.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.2493, allocations: 41.27 kB / 444.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2495, allocations: 39.92 kB / 444.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007526/0.2502, allocations: 1.441 MB / 445.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2503, allocations: 11.98 kB / 445.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2504, allocations: 12 kB / 445.9 MB, free: 5.059 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 (24): * Single equations (assignments): 23 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.2505, allocations: 153.8 kB / 446 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2505, allocations: 27.83 kB / 446 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.2508, allocations: 176.1 kB / 446.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2508, allocations: 4 kB / 446.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2508, allocations: 7.984 kB / 446.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2508, allocations: 0 / 446.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.2515, allocations: 0.5601 MB / 446.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2515, allocations: 4 kB / 446.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.2515, allocations: 27.92 kB / 446.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.2517, allocations: 28.83 kB / 446.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2517, allocations: 7.938 kB / 446.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000667/0.2524, allocations: 1.418 MB / 448.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2524, allocations: 8.016 kB / 448.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.2527, allocations: 303.3 kB / 448.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2527, allocations: 96.98 kB / 448.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2527, allocations: 0 / 448.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.2528, allocations: 8 kB / 448.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.2529, allocations: 15.92 kB / 448.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2529, allocations: 8 kB / 448.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.253, allocations: 152.1 kB / 448.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.253, allocations: 0 / 448.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.2533, allocations: 48 kB / 448.9 MB, free: 1.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.651e-05/0.2534, allocations: 107.2 kB / 449 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.2538, allocations: 262.4 kB / 449.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2538, allocations: 0.875 kB / 449.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.254, allocations: 186.4 kB / 449.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2544, allocations: 27.97 kB / 449.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.2549, allocations: 447.2 kB / 449.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2552, allocations: 0.7632 MB / 450.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.2553, allocations: 41.52 kB / 450.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.2553, allocations: 19.44 kB / 450.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2553, allocations: 0 / 450.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Templates: time 0.00444/0.2598, allocations: 1.645 MB / 452.4 MB, free: 14.18 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)