Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 171.6 kB / 16.07 MB, free: 5.695 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.162/1.162, allocations: 205.4 MB / 222.2 MB, free: 9.039 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.0007126/0.0007127, allocations: 96.8 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.1629/0.1629, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 56.31 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002083/0.2279, allocations: 1.736 MB / 481.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.2285, allocations: 0.5399 MB / 481.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.2286, allocations: 0 / 481.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2287, allocations: 9.812 kB / 481.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.2288, allocations: 25.28 kB / 481.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.229, allocations: 63.31 kB / 482 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2292, allocations: 89 kB / 482.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.2292, allocations: 3.719 kB / 482.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.2293, allocations: 30.14 kB / 482.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.2294, allocations: 38.86 kB / 482.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2294, allocations: 1.531 kB / 482.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2295, allocations: 70.38 kB / 482.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2296, allocations: 38.11 kB / 482.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.2296, allocations: 64.14 kB / 482.3 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2298, allocations: 115.9 kB / 482.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2298, allocations: 2.078 kB / 482.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2298, allocations: 0 / 482.4 MB, free: 7.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2298, allocations: 0 / 482.4 MB, free: 7.672 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003211/0.2302, allocations: 473.5 kB / 482.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2302, allocations: 9.625 kB / 482.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2302, allocations: 14.22 kB / 482.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2304, allocations: 194.5 kB / 483.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2304, allocations: 5.094 kB / 483.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.2304, allocations: 1.031 kB / 483.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2306, allocations: 129.9 kB / 483.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.2306, allocations: 0 / 483.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2306, allocations: 1.625 kB / 483.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2306, allocations: 8.594 kB / 483.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.2307, allocations: 89.53 kB / 483.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.2308, allocations: 199.9 kB / 483.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.231, allocations: 154.6 kB / 483.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2311, allocations: 141.9 kB / 483.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.2311, allocations: 0 / 483.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2311, allocations: 40.2 kB / 483.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 8.91e-07/0.2311, allocations: 0 / 483.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005195/0.2317, allocations: 475.1 kB / 484.3 MB, free: 6.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2317, allocations: 108.6 kB / 484.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.2318, allocations: 149.6 kB / 484.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.2318, allocations: 25.7 kB / 484.6 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.2319, allocations: 98.69 kB / 484.7 MB, free: 6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.2319, allocations: 126.8 kB / 484.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.232, allocations: 0 / 484.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.232, allocations: 340.7 kB / 485.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.2321, allocations: 93.64 kB / 485.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.2322, allocations: 89.17 kB / 485.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2325, allocations: 367 kB / 485.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2325, allocations: 0 / 485.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002792/0.2328, allocations: 321.7 kB / 486 MB, free: 5.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.2329, allocations: 88.48 kB / 486.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2329, allocations: 0 / 486.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2329, allocations: 4.969 kB / 486.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.2329, allocations: 64 / 486.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2329, allocations: 4 kB / 486.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.233, allocations: 25.05 kB / 486.1 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.233, allocations: 6.812 kB / 486.1 MB, free: 5.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001977/0.2332, allocations: 237.5 kB / 486.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2333, allocations: 20.53 kB / 486.4 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.2333, allocations: 14.66 kB / 486.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2333, allocations: 0 / 486.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2333, allocations: 0 / 486.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2333, allocations: 0.9062 kB / 486.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2334, allocations: 233.7 kB / 486.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2334, allocations: 6.016 kB / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.2334, allocations: 0 / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2335, allocations: 0 / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2335, allocations: 6.531 kB / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2335, allocations: 2.062 kB / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2335, allocations: 0 / 486.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.2343, allocations: 0.8967 MB / 487.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.2344, allocations: 115.3 kB / 487.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2344, allocations: 6.344 kB / 487.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.2344, allocations: 9.719 kB / 487.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.2345, allocations: 3.281 kB / 487.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2345, allocations: 6.719 kB / 487.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.622e-05/0.2346, allocations: 117 kB / 487.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2346, allocations: 0 / 487.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.2348, allocations: 63.72 kB / 487.9 MB, free: 4.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001473/0.235, allocations: 114.7 kB / 488 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2361, allocations: 1.584 MB / 489.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2361, allocations: 0 / 489.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.237, allocations: 1.366 MB / 490.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2373, allocations: 25.34 kB / 490.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.2381, allocations: 0.7065 MB / 491.7 MB, free: 2.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2383, allocations: 0.7545 MB / 492.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-06/0.2383, allocations: 9.531 kB / 492.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2383, allocations: 0 / 492.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of Templates: time 0.00422/0.2425, allocations: 2.301 MB / 494.7 MB, free: 1.418 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)