Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001736, allocations: 111.4 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.763/2.763, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.5077/0.5077, allocations: 38.02 MB / 330 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 68.62 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2199, allocations: 58.07 MB / 457 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.006923/0.227, allocations: 2.081 MB / 459.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2286, allocations: 0.5298 MB / 459.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2288, allocations: 0 / 459.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.229, allocations: 7.922 kB / 459.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.2293, allocations: 27.91 kB / 459.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.23, allocations: 55.86 kB / 459.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.2303, allocations: 71.7 kB / 459.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.2304, allocations: 4 kB / 459.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2306, allocations: 23.91 kB / 459.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2307, allocations: 39.83 kB / 459.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2307, allocations: 0 / 459.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.231, allocations: 75.84 kB / 459.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2312, allocations: 23.86 kB / 459.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.2313, allocations: 35.72 kB / 460 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.2316, allocations: 84.12 kB / 460.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.2317, allocations: 4 kB / 460.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2317, allocations: 0 / 460.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2317, allocations: 0 / 460.1 MB, free: 5.355 MB / 334.1 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.0008011/0.2325, allocations: 436.8 kB / 460.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.555e-05/0.2326, allocations: 11.89 kB / 460.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.2327, allocations: 12.75 kB / 460.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.233, allocations: 188.1 kB / 460.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.233, allocations: 4.312 kB / 460.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2331, allocations: 4.125 kB / 460.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2333, allocations: 93.67 kB / 460.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2334, allocations: 0 / 460.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.2334, allocations: 3.984 kB / 460.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.2334, allocations: 3.984 kB / 460.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2335, allocations: 55.98 kB / 460.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2338, allocations: 181.5 kB / 461 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.234, allocations: 106.5 kB / 461.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2343, allocations: 88.81 kB / 461.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2343, allocations: 4 kB / 461.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.2343, allocations: 30.56 kB / 461.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.2343, allocations: 0 / 461.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007696/0.2351, allocations: 306.2 kB / 461.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2352, allocations: 93.09 kB / 461.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2354, allocations: 136.2 kB / 461.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2355, allocations: 25.7 kB / 461.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.2355, allocations: 100.5 kB / 461.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2357, allocations: 82.8 kB / 462 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.2358, allocations: 25.7 kB / 462 MB, free: 3.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2359, allocations: 322.8 kB / 462.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.236, allocations: 59.97 kB / 462.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.2361, allocations: 55.98 kB / 462.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.2364, allocations: 246.5 kB / 462.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2364, allocations: 0 / 462.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003218/0.2367, allocations: 223.2 kB / 462.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2369, allocations: 65.72 kB / 463 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2369, allocations: 4 kB / 463 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2369, allocations: 0 / 463 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.2369, allocations: 0 / 463 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2369, allocations: 7.875 kB / 463 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.237, allocations: 11.84 kB / 463 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.237, allocations: 4 kB / 463 MB, free: 2.164 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.2373, allocations: 195.4 kB / 463.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2373, allocations: 15.81 kB / 463.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.2374, allocations: 21.17 kB / 463.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2374, allocations: 0 / 463.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2374, allocations: 0 / 463.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2374, allocations: 0 / 463.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2376, allocations: 197.4 kB / 463.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2376, allocations: 3.984 kB / 463.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.2376, allocations: 0 / 463.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2376, allocations: 3.938 kB / 463.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2377, allocations: 8 kB / 463.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2377, allocations: 0 / 463.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2377, allocations: 0 / 463.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.2385, allocations: 0.5124 MB / 463.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.2386, allocations: 92.94 kB / 464 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.2386, allocations: 4 kB / 464 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.2387, allocations: 7.938 kB / 464 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.2387, allocations: 0 / 464 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2387, allocations: 8 kB / 464 MB, free: 1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.64e-05/0.2388, allocations: 105.6 kB / 464.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2388, allocations: 8.031 kB / 464.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.2392, allocations: 44 kB / 464.2 MB, free: 0.8477 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.2395, allocations: 107.2 kB / 464.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009381/0.2405, allocations: 0.7023 MB / 465 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2405, allocations: 0 / 465 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.2412, allocations: 0.5694 MB / 465.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2416, allocations: 27.55 kB / 465.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2427, allocations: 0.4938 MB / 466.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.2433, allocations: 0.7278 MB / 466.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.2433, allocations: 7.438 kB / 466.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2433, allocations: 0 / 466.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.006833/0.2502, allocations: 1.71 MB / 468.5 MB, free: 12.42 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)