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.00121/0.00121, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001298/0.001298, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.02 MB / 329.7 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.33 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08917, allocations: 58.06 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003008/0.0922, allocations: 2.043 MB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.09291, allocations: 0.5259 MB / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.09296, allocations: 4 kB / 459.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.09308, allocations: 15.92 kB / 459.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.09317, allocations: 15.91 kB / 459.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.09347, allocations: 71.77 kB / 459.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.09359, allocations: 59.77 kB / 459.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.09364, allocations: 8 kB / 459.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.09372, allocations: 27.84 kB / 459.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.09378, allocations: 23.91 kB / 459.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.09379, allocations: 4 kB / 459.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.09397, allocations: 75.84 kB / 459.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.09403, allocations: 39.89 kB / 459.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.09408, allocations: 31.69 kB / 459.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.09427, allocations: 131.8 kB / 459.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09428, allocations: 0 / 459.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09429, allocations: 0 / 459.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.0943, allocations: 0 / 459.9 MB, free: 4.98 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.0004042/0.09471, allocations: 427.8 kB / 460.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.09475, allocations: 15.89 kB / 460.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.09479, allocations: 12.75 kB / 460.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.09496, allocations: 190.5 kB / 460.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.09498, allocations: 4.312 kB / 460.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.09499, allocations: 4.125 kB / 460.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.09513, allocations: 89.67 kB / 460.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.09515, allocations: 0 / 460.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.09516, allocations: 0 / 460.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.09517, allocations: 3.984 kB / 460.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.09524, allocations: 55.98 kB / 460.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.0954, allocations: 181.5 kB / 460.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.09551, allocations: 102.5 kB / 461 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.09559, allocations: 88.81 kB / 461.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.0956, allocations: 0 / 461.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.09563, allocations: 34.56 kB / 461.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 9.31e-07/0.09564, allocations: 0 / 461.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003965/0.09604, allocations: 306.2 kB / 461.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.0961, allocations: 101.1 kB / 461.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.09622, allocations: 133.8 kB / 461.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.09624, allocations: 29.64 kB / 461.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.09629, allocations: 92.58 kB / 461.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.09637, allocations: 78.8 kB / 461.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.09641, allocations: 33.64 kB / 461.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.09653, allocations: 322.8 kB / 462.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.09661, allocations: 59.97 kB / 462.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.09667, allocations: 55.98 kB / 462.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.09688, allocations: 250.5 kB / 462.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09689, allocations: 0 / 462.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00023/0.09712, allocations: 219.2 kB / 462.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.09719, allocations: 65.66 kB / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.0972, allocations: 0 / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.09722, allocations: 0 / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.09722, allocations: 0 / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.09723, allocations: 4 kB / 462.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.09727, allocations: 15.78 kB / 462.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.0973, allocations: 8.062 kB / 462.8 MB, free: 1.801 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.0001407/0.09744, allocations: 199.4 kB / 463 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.09748, allocations: 15.81 kB / 463.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.0975, allocations: 13.17 kB / 463.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.0975, allocations: 0 / 463.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09751, allocations: 4 kB / 463.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.09752, allocations: 0 / 463.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.09766, allocations: 193.4 kB / 463.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.09767, allocations: 7.984 kB / 463.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.09767, allocations: 0 / 463.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.09768, allocations: 4 kB / 463.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.0977, allocations: 4 kB / 463.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0977, allocations: 0 / 463.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09771, allocations: 0 / 463.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.09824, allocations: 0.5094 MB / 463.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.09831, allocations: 92.94 kB / 463.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.09834, allocations: 4 kB / 463.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.771e-05/0.09837, allocations: 4 kB / 463.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.09841, allocations: 7.969 kB / 463.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.09843, allocations: 4 kB / 463.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.921e-05/0.0985, allocations: 113.7 kB / 464 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09851, allocations: 0 / 464 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.09878, allocations: 48 kB / 464.1 MB, free: 500 kB / 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.0001713/0.09896, allocations: 115.2 kB / 464.2 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.09964, allocations: 0.6985 MB / 464.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.09966, allocations: 8.062 kB / 464.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.1001, allocations: 0.5655 MB / 465.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1004, allocations: 31.86 kB / 465.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.101, allocations: 432 kB / 465.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1013, allocations: 0.7199 MB / 466.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.1014, allocations: 4 kB / 466.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.1014, allocations: 7.438 kB / 466.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1014, allocations: 0 / 466.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Templates: time 0.004622/0.106, allocations: 1.913 MB / 468.5 MB, free: 11.93 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)