Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000932/0.0009321, allocations: 175 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.168/1.168, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.000686/0.0006861, allocations: 84.75 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.1607/0.1607, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 16 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.001757/0.2162, allocations: 1.729 MB / 481.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000539/0.2168, allocations: 0.5373 MB / 481.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.2168, allocations: 1.219 kB / 481.9 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2169, allocations: 9.594 kB / 481.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.217, allocations: 23.98 kB / 481.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.2172, allocations: 64.28 kB / 482 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.2173, allocations: 84.92 kB / 482.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.2174, allocations: 6.969 kB / 482.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.2175, allocations: 25.02 kB / 482.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.2175, allocations: 34.47 kB / 482.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.106e-06/0.2175, allocations: 1.125 kB / 482.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2177, allocations: 80.72 kB / 482.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.2177, allocations: 9.594 kB / 482.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.2177, allocations: 45.42 kB / 482.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.2179, allocations: 75.86 kB / 482.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2179, allocations: 0.9062 kB / 482.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2179, allocations: 0.75 kB / 482.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2179, allocations: 3.938 kB / 482.4 MB, free: 7.707 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002301/0.2181, allocations: 402.5 kB / 482.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2182, allocations: 9.469 kB / 482.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.2182, allocations: 12.72 kB / 482.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.2183, allocations: 177.8 kB / 482.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.2183, allocations: 384 / 482.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2183, allocations: 5.5 kB / 482.9 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.2184, allocations: 58.95 kB / 483 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.2184, allocations: 0 / 483 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2185, allocations: 1.156 kB / 483 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.2185, allocations: 0.7031 kB / 483 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.2185, allocations: 32.77 kB / 483 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.049e-05/0.2186, allocations: 172.4 kB / 483.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.2187, allocations: 54.61 kB / 483.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.2187, allocations: 48.3 kB / 483.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.2187, allocations: 0 / 483.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.2188, allocations: 32.81 kB / 483.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.2188, allocations: 0 / 483.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.000231/0.219, allocations: 185 kB / 483.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.219, allocations: 91.7 kB / 483.6 MB, free: 6.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.2191, allocations: 119.3 kB / 483.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2191, allocations: 26.77 kB / 483.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.2191, allocations: 87.8 kB / 483.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.2192, allocations: 39.36 kB / 483.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2192, allocations: 0.875 kB / 483.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.2192, allocations: 320.6 kB / 484.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.2193, allocations: 28.75 kB / 484.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.2193, allocations: 28.58 kB / 484.2 MB, free: 5.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.2194, allocations: 156.5 kB / 484.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2194, allocations: 1.156 kB / 484.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.2196, allocations: 159.4 kB / 484.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.2196, allocations: 46.06 kB / 484.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2196, allocations: 0 / 484.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2197, allocations: 1.125 kB / 484.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.2197, allocations: 4.688 kB / 484.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2197, allocations: 0 / 484.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.2197, allocations: 7.5 kB / 484.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2197, allocations: 3.594 kB / 484.6 MB, free: 5.746 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 8.063e-05/0.2198, allocations: 172.3 kB / 484.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.2198, allocations: 13.47 kB / 484.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.2199, allocations: 11.42 kB / 484.8 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2199, allocations: 0 / 484.8 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2199, allocations: 4.703 kB / 484.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2199, allocations: 1.125 kB / 484.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.889e-05/0.2199, allocations: 175.3 kB / 485 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.22, allocations: 2.125 kB / 485 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.22, allocations: 0 / 485 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.22, allocations: 4 kB / 485 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.22, allocations: 3.156 kB / 485 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.22, allocations: 6.203 kB / 485 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.22, allocations: 0 / 485 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.2203, allocations: 283.6 kB / 485.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.2203, allocations: 87.27 kB / 485.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2203, allocations: 2.781 kB / 485.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.2203, allocations: 6.844 kB / 485.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.2203, allocations: 6.5 kB / 485.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2204, allocations: 2.562 kB / 485.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.2204, allocations: 92.58 kB / 485.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2204, allocations: 1.438 kB / 485.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.2206, allocations: 30.11 kB / 485.5 MB, free: 5.035 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.0001243/0.2208, allocations: 115.7 kB / 485.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.221, allocations: 291 kB / 485.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.221, allocations: 4.062 kB / 485.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2212, allocations: 222.4 kB / 486.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.2214, allocations: 15.23 kB / 486.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.2218, allocations: 321.6 kB / 486.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.96e-05/0.2219, allocations: 0.6982 MB / 487.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-06/0.2219, allocations: 9.312 kB / 487.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2219, allocations: 0 / 487.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of Templates: time 0.002486/0.2244, allocations: 1.244 MB / 488.4 MB, free: 3.684 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)