Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 174.7 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006887/0.0006887, allocations: 85.55 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.172/0.172, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 16 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 56.31 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00337/0.2241, allocations: 3.212 MB / 482.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.2259, allocations: 1.446 MB / 484.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.2262, allocations: 11.09 kB / 484.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2264, allocations: 36.97 kB / 484.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007525/0.2271, allocations: 263.2 kB / 484.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.2275, allocations: 104.1 kB / 484.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.228, allocations: 435.5 kB / 485.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.2286, allocations: 318 kB / 485.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.2288, allocations: 123 kB / 485.5 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.229, allocations: 156 kB / 485.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2291, allocations: 7.719 kB / 485.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.2297, allocations: 358 kB / 486.1 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.2299, allocations: 90.59 kB / 486.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.23, allocations: 119 kB / 486.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2304, allocations: 253.8 kB / 486.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2304, allocations: 0 / 486.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2304, allocations: 4 kB / 486.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2304, allocations: 1.125 kB / 486.5 MB, free: 5.234 MB / 314.7 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.0005335/0.231, allocations: 481.8 kB / 487 MB, free: 4.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.231, allocations: 8.719 kB / 487 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008044/0.2318, allocations: 92.95 kB / 487.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.2321, allocations: 257.3 kB / 487.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2321, allocations: 15.59 kB / 487.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.2322, allocations: 26.22 kB / 487.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.2326, allocations: 321.5 kB / 487.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2326, allocations: 0 / 487.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2327, allocations: 6.797 kB / 487.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.2327, allocations: 15.5 kB / 487.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.2331, allocations: 289.9 kB / 488 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.2346, allocations: 1.293 MB / 489.3 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.235, allocations: 242.7 kB / 489.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.2351, allocations: 54.19 kB / 489.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2351, allocations: 3.453 kB / 489.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.2351, allocations: 36.64 kB / 489.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.2351, allocations: 0 / 489.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005716/0.2357, allocations: 283.9 kB / 489.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2357, allocations: 91.16 kB / 490 MB, free: 2.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2359, allocations: 193.9 kB / 490.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2359, allocations: 25.7 kB / 490.2 MB, free: 2.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.236, allocations: 169.4 kB / 490.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.236, allocations: 42.7 kB / 490.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.2361, allocations: 5.375 kB / 490.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.2361, allocations: 327.6 kB / 490.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.2362, allocations: 44.95 kB / 490.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2363, allocations: 149.7 kB / 490.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.2365, allocations: 220.6 kB / 491.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2365, allocations: 0 / 491.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002817/0.2368, allocations: 230.8 kB / 491.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2368, allocations: 8.438 kB / 491.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2368, allocations: 2.844 kB / 491.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2369, allocations: 5.031 kB / 491.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.237, allocations: 44.88 kB / 491.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.237, allocations: 6.453 kB / 491.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2371, allocations: 8.094 kB / 491.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2372, allocations: 10.89 kB / 491.4 MB, free: 1.617 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2373, allocations: 164.2 kB / 491.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.2373, allocations: 15.69 kB / 491.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.2376, allocations: 151.1 kB / 491.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2376, allocations: 3.25 kB / 491.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2376, allocations: 8 kB / 491.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2376, allocations: 1.672 kB / 491.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.2384, allocations: 0.6658 MB / 492.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2384, allocations: 3.875 kB / 492.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.2385, allocations: 36.88 kB / 492.5 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2385, allocations: 8.562 kB / 492.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2385, allocations: 6.922 kB / 492.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2385, allocations: 4.844 kB / 492.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2385, allocations: 3.344 kB / 492.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.2388, allocations: 342.9 kB / 492.8 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2388, allocations: 102.5 kB / 492.9 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.2389, allocations: 7.891 kB / 492.9 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.239, allocations: 8.719 kB / 493 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.239, allocations: 18.95 kB / 493 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.239, allocations: 12.28 kB / 493 MB, free: 420 kB / 314.7 MB Notification: Performance of sorting global known variables: time 9.623e-05/0.2391, allocations: 144.5 kB / 493.1 MB, free: 320 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 5.156 kB / 493.1 MB, free: 316 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.2395, allocations: 43.58 kB / 493.2 MB, free: 312 kB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.764e-05/0.2396, allocations: 107.4 kB / 493.3 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.2398, allocations: 142.8 kB / 493.4 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2398, allocations: 0 / 493.4 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.2399, allocations: 60.69 kB / 493.5 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.2404, allocations: 41.5 kB / 493.5 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.2412, allocations: 0.613 MB / 494.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2415, allocations: 0.7638 MB / 494.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.2416, allocations: 20.62 kB / 494.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2416, allocations: 0 / 494.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Templates: time 0.004312/0.2459, allocations: 2.23 MB / 497.1 MB, free: 14.77 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)