Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 111 kB / 17.74 MB, free: 5.34 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.001589/0.001589, allocations: 196.3 kB / 18.68 MB, free: 4.41 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1792/0.1792, allocations: 38.02 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 58.05 MB / 0.5048 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003278/0.3381, allocations: 2.101 MB / 0.5068 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3409, allocations: 2.04 MB / 0.5088 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.341, allocations: 4 kB / 0.5088 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3412, allocations: 15.52 kB / 0.5088 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.3413, allocations: 32.62 kB / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.3436, allocations: 0.8309 MB / 0.5097 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3437, allocations: 73.92 kB / 0.5097 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.3438, allocations: 8.5 kB / 0.5097 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.3439, allocations: 39.92 kB / 0.5098 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.344, allocations: 32.8 kB / 0.5098 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.344, allocations: 5.375 kB / 0.5098 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.3463, allocations: 1.407 MB / 0.5112 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.3463, allocations: 13.2 kB / 0.5112 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.3464, allocations: 23.84 kB / 0.5112 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.3484, allocations: 1.308 MB / 0.5125 GB, free: 3.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3484, allocations: 1.688 kB / 0.5125 GB, free: 3.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3484, allocations: 0 / 0.5125 GB, free: 3.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3484, allocations: 4 kB / 0.5125 GB, free: 3.957 MB / 382.1 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.000665/0.3491, allocations: 0.5072 MB / 0.513 GB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3492, allocations: 12.83 kB / 0.513 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.3492, allocations: 7.781 kB / 0.513 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3494, allocations: 190.4 kB / 0.5132 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.3494, allocations: 4 kB / 0.5132 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3494, allocations: 1.094 kB / 0.5132 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3495, allocations: 56.66 kB / 0.5133 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3496, allocations: 0 / 0.5133 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3496, allocations: 4 kB / 0.5133 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3496, allocations: 1.188 kB / 0.5133 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.3496, allocations: 23.53 kB / 0.5133 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.3498, allocations: 170.5 kB / 0.5135 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/0.3498, allocations: 52.97 kB / 0.5135 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3499, allocations: 34.72 kB / 0.5135 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.3499, allocations: 0 / 0.5135 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.3499, allocations: 35.84 kB / 0.5136 GB, free: 2.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3499, allocations: 0 / 0.5136 GB, free: 2.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002614/0.3502, allocations: 151.7 kB / 0.5137 GB, free: 2.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.3502, allocations: 84.36 kB / 0.5138 GB, free: 2.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.3503, allocations: 126.6 kB / 0.5139 GB, free: 2.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3503, allocations: 25.7 kB / 0.5139 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.3504, allocations: 96.11 kB / 0.514 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3504, allocations: 21.88 kB / 0.5141 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3504, allocations: 22.41 kB / 0.5141 GB, free: 2.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.3505, allocations: 323.2 kB / 0.5144 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.3505, allocations: 22.75 kB / 0.5144 GB, free: 2.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.3506, allocations: 23.56 kB / 0.5144 GB, free: 2.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3507, allocations: 125.8 kB / 0.5146 GB, free: 2.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3507, allocations: 0 / 0.5146 GB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001389/0.3509, allocations: 122.3 kB / 0.5147 GB, free: 1.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.3509, allocations: 45.39 kB / 0.5147 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3509, allocations: 0 / 0.5147 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3509, allocations: 4.719 kB / 0.5147 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.3509, allocations: 1.375 kB / 0.5147 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.351, allocations: 7.922 kB / 0.5147 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.351, allocations: 7.609 kB / 0.5147 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.351, allocations: 2.719 kB / 0.5147 GB, free: 1.938 MB / 382.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 8.197e-05/0.3511, allocations: 155.7 kB / 0.5149 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.3511, allocations: 13.52 kB / 0.5149 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.3512, allocations: 6.422 kB / 0.5149 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3512, allocations: 2.141 kB / 0.5149 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3512, allocations: 4 kB / 0.5149 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3512, allocations: 0 / 0.5149 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.543e-05/0.3513, allocations: 177.6 kB / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3513, allocations: 0.7969 kB / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.3513, allocations: 3.484 kB / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3513, allocations: 0 / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3513, allocations: 3.844 kB / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3513, allocations: 0 / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3513, allocations: 0 / 0.5151 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3516, allocations: 221.2 kB / 0.5153 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.3516, allocations: 83.66 kB / 0.5154 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3516, allocations: 7.078 kB / 0.5154 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.3516, allocations: 6.219 kB / 0.5154 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.3517, allocations: 5.859 kB / 0.5154 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3517, allocations: 8.312 kB / 0.5154 GB, free: 1.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.3517, allocations: 98.8 kB / 0.5155 GB, free: 1.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3517, allocations: 0 / 0.5155 GB, free: 1.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001203/0.353, allocations: 317.9 kB / 0.5158 GB, free: 1.211 MB / 382.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.0009872/0.3539, allocations: 364.1 kB / 0.5162 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3543, allocations: 201.7 kB / 0.5163 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3543, allocations: 0 / 0.5163 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3544, allocations: 150.3 kB / 0.5165 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3547, allocations: 7.031 kB / 0.5165 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.3552, allocations: 286.9 kB / 0.5168 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3554, allocations: 0.6939 MB / 0.5174 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3554, allocations: 12.59 kB / 0.5175 GB, free: 15.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3554, allocations: 0 / 0.5175 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01383/0.3693, allocations: 5.71 MB / 0.523 GB, free: 14.67 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1)