Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008852/0.0008851, 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.194/1.194, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.0007665/0.0007665, allocations: 90.62 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1631/0.1631, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.236, allocations: 56.32 MB / 479.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002246/0.2383, allocations: 1.732 MB / 481.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.239, allocations: 0.5396 MB / 481.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2391, allocations: 0 / 481.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2393, allocations: 9.781 kB / 481.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.2393, allocations: 25.59 kB / 481.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2396, allocations: 63.06 kB / 482 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2397, allocations: 85.95 kB / 482.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2397, allocations: 10.62 kB / 482.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.2398, allocations: 25.17 kB / 482.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.2399, allocations: 29.16 kB / 482.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.2399, allocations: 1.5 kB / 482.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.24, allocations: 74.31 kB / 482.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.2401, allocations: 6.641 kB / 482.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2401, allocations: 43.16 kB / 482.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2403, allocations: 75.34 kB / 482.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2403, allocations: 0 / 482.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2403, allocations: 0 / 482.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2403, allocations: 5.062 kB / 482.3 MB, free: 7.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000242/0.2405, allocations: 387.4 kB / 482.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2406, allocations: 10.28 kB / 482.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.2406, allocations: 7.719 kB / 482.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2407, allocations: 172.3 kB / 482.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2407, allocations: 1.406 kB / 482.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2408, allocations: 9.766 kB / 482.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.2409, allocations: 51.2 kB / 483 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.2409, allocations: 0 / 483 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2409, allocations: 9.781 kB / 483 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2409, allocations: 0 / 483 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.2409, allocations: 17.72 kB / 483 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.2411, allocations: 164.8 kB / 483.2 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.2411, allocations: 42.91 kB / 483.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.2412, allocations: 40.92 kB / 483.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.2412, allocations: 0 / 483.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2412, allocations: 36.41 kB / 483.3 MB, free: 6.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.2412, allocations: 0 / 483.3 MB, free: 6.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002228/0.2414, allocations: 136.8 kB / 483.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2415, allocations: 83.69 kB / 483.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.2415, allocations: 119.6 kB / 483.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2415, allocations: 25.7 kB / 483.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.2416, allocations: 86.95 kB / 483.7 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2416, allocations: 29.36 kB / 483.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.2416, allocations: 5.469 kB / 483.7 MB, free: 6.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.2417, allocations: 323.2 kB / 484.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.2417, allocations: 21.11 kB / 484.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.2418, allocations: 17.78 kB / 484.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-05/0.2419, allocations: 125.8 kB / 484.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2419, allocations: 0 / 484.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001224/0.242, allocations: 120.3 kB / 484.3 MB, free: 5.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.242, allocations: 44.92 kB / 484.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.242, allocations: 1.125 kB / 484.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2421, allocations: 4 kB / 484.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.2421, allocations: 5.891 kB / 484.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2421, allocations: 0 / 484.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.2421, allocations: 10.12 kB / 484.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2421, allocations: 3.172 kB / 484.4 MB, free: 5.812 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 9.135e-05/0.2422, allocations: 159.2 kB / 484.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.2422, allocations: 9.469 kB / 484.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.2423, allocations: 10.12 kB / 484.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2423, allocations: 0 / 484.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2423, allocations: 1.844 kB / 484.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2423, allocations: 4 kB / 484.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.2424, allocations: 166.8 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2424, allocations: 0.6094 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2424, allocations: 0 / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2424, allocations: 1.062 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.2424, allocations: 2.672 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2424, allocations: 1 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2424, allocations: 0.5156 kB / 484.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.2426, allocations: 220.1 kB / 485 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.2427, allocations: 79 kB / 485.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2427, allocations: 7.656 kB / 485.1 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.2427, allocations: 1.469 kB / 485.1 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.2427, allocations: 9.734 kB / 485.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2427, allocations: 3.047 kB / 485.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.2428, allocations: 91.11 kB / 485.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2428, allocations: 0 / 485.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.243, allocations: 25.41 kB / 485.2 MB, free: 5.137 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.0001349/0.2431, allocations: 127.4 kB / 485.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2434, allocations: 188.8 kB / 485.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2434, allocations: 1.438 kB / 485.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2435, allocations: 147.4 kB / 485.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2437, allocations: 15.02 kB / 485.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.2441, allocations: 268.1 kB / 485.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.904e-05/0.2442, allocations: 0.6911 MB / 486.6 MB, free: 3.957 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-06/0.2442, allocations: 7.438 kB / 486.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2442, allocations: 1.156 kB / 486.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of Templates: time 0.002533/0.2467, allocations: 1.084 MB / 487.7 MB, free: 3.883 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)