Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, 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.203/1.203, 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.0006953/0.0006953, allocations: 96.31 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.1584/0.1584, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 56.31 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001906/0.22, allocations: 1.736 MB / 481.4 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.2206, allocations: 0.5388 MB / 481.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.2206, allocations: 1.281 kB / 481.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2207, allocations: 13.19 kB / 481.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.2208, allocations: 21.48 kB / 481.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.2211, allocations: 62.3 kB / 482 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2212, allocations: 89.5 kB / 482.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.2212, allocations: 3.422 kB / 482.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.2213, allocations: 29.09 kB / 482.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.2214, allocations: 36.72 kB / 482.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.2214, allocations: 5.344 kB / 482.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.2215, allocations: 75.19 kB / 482.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.2216, allocations: 24.23 kB / 482.2 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2216, allocations: 53.94 kB / 482.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2218, allocations: 90.83 kB / 482.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2218, allocations: 0 / 482.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2218, allocations: 0 / 482.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2218, allocations: 1.062 kB / 482.4 MB, free: 7.695 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003051/0.2221, allocations: 434.9 kB / 482.8 MB, free: 7.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2222, allocations: 11 kB / 482.8 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2222, allocations: 13.03 kB / 482.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2224, allocations: 186.8 kB / 483 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.2224, allocations: 1.688 kB / 483 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2224, allocations: 9.062 kB / 483 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2225, allocations: 88.36 kB / 483.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.2225, allocations: 0 / 483.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2225, allocations: 1.688 kB / 483.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.2225, allocations: 4 kB / 483.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.2226, allocations: 56.83 kB / 483.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.2227, allocations: 179.5 kB / 483.4 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.615e-05/0.2228, allocations: 97.08 kB / 483.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.2229, allocations: 90.41 kB / 483.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.2229, allocations: 0 / 483.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2229, allocations: 32.3 kB / 483.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 8.22e-07/0.2229, allocations: 4 kB / 483.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003467/0.2233, allocations: 306.9 kB / 483.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.2233, allocations: 95.16 kB / 484 MB, free: 6.422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.2234, allocations: 133.2 kB / 484.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.2234, allocations: 27.39 kB / 484.1 MB, free: 6.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.2235, allocations: 89.8 kB / 484.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.2235, allocations: 78.98 kB / 484.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.2235, allocations: 1.094 kB / 484.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.2236, allocations: 332.1 kB / 484.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.2237, allocations: 61.11 kB / 484.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.468e-05/0.2237, allocations: 52.8 kB / 484.7 MB, free: 5.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.2239, allocations: 246 kB / 485 MB, free: 5.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2239, allocations: 0 / 485 MB, free: 5.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001969/0.2241, allocations: 222 kB / 485.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.2242, allocations: 69.34 kB / 485.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2242, allocations: 1.062 kB / 485.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2242, allocations: 0 / 485.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.2242, allocations: 5.812 kB / 485.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2242, allocations: 8 kB / 485.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.2243, allocations: 13.19 kB / 485.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2243, allocations: 4.531 kB / 485.3 MB, free: 5.523 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.0001163/0.2244, allocations: 202.9 kB / 485.5 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.2244, allocations: 16.67 kB / 485.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.2245, allocations: 8.844 kB / 485.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2245, allocations: 0 / 485.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2245, allocations: 1.406 kB / 485.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2245, allocations: 0.7031 kB / 485.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/0.2246, allocations: 206.6 kB / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2246, allocations: 0.7031 kB / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.2246, allocations: 0.9688 kB / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2246, allocations: 0 / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2246, allocations: 5.797 kB / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.2246, allocations: 0 / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2246, allocations: 0 / 485.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.2251, allocations: 0.5062 MB / 486.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.2252, allocations: 89.94 kB / 486.3 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2252, allocations: 5.062 kB / 486.3 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.2252, allocations: 7.219 kB / 486.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.2253, allocations: 3.016 kB / 486.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2253, allocations: 8.156 kB / 486.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.2253, allocations: 104.1 kB / 486.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2253, allocations: 0 / 486.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.2256, allocations: 47.83 kB / 486.5 MB, free: 4.762 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.0001456/0.2257, allocations: 121.6 kB / 486.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.2263, allocations: 0.6955 MB / 487.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2263, allocations: 0 / 487.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.2267, allocations: 0.5686 MB / 487.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.227, allocations: 17.86 kB / 487.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.2275, allocations: 0.4935 MB / 488.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2277, allocations: 0.7244 MB / 489.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-06/0.2277, allocations: 7.438 kB / 489.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2277, allocations: 4 kB / 489.1 MB, free: 3.043 MB / 314.7 MB Notification: Performance of Templates: time 0.003181/0.2309, allocations: 1.699 MB / 490.8 MB, free: 2.918 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)