Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 107.9 kB / 17.06 MB, free: 5.82 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.001881/0.001882, allocations: 195.9 kB / 18 MB, free: 4.965 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.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.04 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.88 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.434, allocations: 58.06 MB / 0.5041 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00313/0.4372, allocations: 2.037 MB / 0.5061 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.4379, allocations: 0.5241 MB / 0.5066 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.438, allocations: 1.094 kB / 0.5066 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.4382, allocations: 9.969 kB / 0.5066 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.4383, allocations: 33.38 kB / 0.5066 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4386, allocations: 62.2 kB / 0.5067 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4387, allocations: 59.84 kB / 0.5068 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4388, allocations: 3.594 kB / 0.5068 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.4388, allocations: 37.83 kB / 0.5068 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.4389, allocations: 33.59 kB / 0.5068 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.4389, allocations: 1.219 kB / 0.5068 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4391, allocations: 75.39 kB / 0.5069 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.4391, allocations: 11.94 kB / 0.5069 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.4392, allocations: 20.67 kB / 0.5069 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.4394, allocations: 89.17 kB / 0.507 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4394, allocations: 0 / 0.507 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4394, allocations: 0 / 0.507 GB, free: 5.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.4394, allocations: 3.938 kB / 0.507 GB, free: 5.902 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.0002881/0.4397, allocations: 396.8 kB / 0.5074 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4398, allocations: 14.77 kB / 0.5074 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.4398, allocations: 2.438 kB / 0.5074 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.4399, allocations: 189.3 kB / 0.5076 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4399, allocations: 1.812 kB / 0.5076 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.4399, allocations: 4.125 kB / 0.5076 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4401, allocations: 56.03 kB / 0.5077 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4401, allocations: 1.156 kB / 0.5077 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4401, allocations: 0 / 0.5077 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4401, allocations: 1.312 kB / 0.5077 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.4401, allocations: 21.28 kB / 0.5077 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.4402, allocations: 165.6 kB / 0.5078 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.4403, allocations: 46.38 kB / 0.5079 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.4404, allocations: 36.19 kB / 0.5079 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.4404, allocations: 0.5625 kB / 0.5079 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4404, allocations: 32.86 kB / 0.508 GB, free: 4.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.4404, allocations: 4 kB / 0.508 GB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002434/0.4407, allocations: 136.4 kB / 0.5081 GB, free: 4.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.4407, allocations: 87.52 kB / 0.5082 GB, free: 4.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.4408, allocations: 115.7 kB / 0.5083 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.4408, allocations: 26.83 kB / 0.5083 GB, free: 4.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.4408, allocations: 86.47 kB / 0.5084 GB, free: 4.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.4409, allocations: 30.7 kB / 0.5084 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.4409, allocations: 17 kB / 0.5084 GB, free: 4.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.441, allocations: 323.3 kB / 0.5087 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.441, allocations: 16.75 kB / 0.5088 GB, free: 4.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.441, allocations: 22.42 kB / 0.5088 GB, free: 4.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.4411, allocations: 121.6 kB / 0.5089 GB, free: 4.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4412, allocations: 6 kB / 0.5089 GB, free: 4.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001219/0.4413, allocations: 127.7 kB / 0.509 GB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4413, allocations: 41.55 kB / 0.5091 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4413, allocations: 4.547 kB / 0.5091 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4414, allocations: 5.188 kB / 0.5091 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4414, allocations: 64 / 0.5091 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4414, allocations: 4.516 kB / 0.5091 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.4414, allocations: 2.312 kB / 0.5091 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4414, allocations: 6.828 kB / 0.5091 GB, free: 3.961 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 7.866e-05/0.4415, allocations: 159.9 kB / 0.5092 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.4415, allocations: 11.66 kB / 0.5093 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.4415, allocations: 7.078 kB / 0.5093 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4416, allocations: 1.188 kB / 0.5093 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4416, allocations: 0 / 0.5093 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.4416, allocations: 0 / 0.5093 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/0.4417, allocations: 178.6 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4417, allocations: 1.125 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.4417, allocations: 0.8438 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4417, allocations: 1.094 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.4417, allocations: 2.344 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4417, allocations: 0.6562 kB / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4417, allocations: 0 / 0.5094 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.442, allocations: 216.9 kB / 0.5096 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.442, allocations: 86.25 kB / 0.5097 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.442, allocations: 3.219 kB / 0.5097 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.442, allocations: 2.312 kB / 0.5097 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.4421, allocations: 1.609 kB / 0.5097 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4421, allocations: 2.797 kB / 0.5097 GB, free: 3.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.326e-05/0.4421, allocations: 90.77 kB / 0.5098 GB, free: 3.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4421, allocations: 0 / 0.5098 GB, free: 3.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.4423, allocations: 28.91 kB / 0.5098 GB, free: 3.285 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.0001427/0.4425, allocations: 114.9 kB / 0.51 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4427, allocations: 194.4 kB / 0.5101 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4427, allocations: 0 / 0.5101 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.4429, allocations: 152.4 kB / 0.5103 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4431, allocations: 13.2 kB / 0.5103 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.4435, allocations: 213.6 kB / 0.5105 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.4436, allocations: 0.6991 MB / 0.5112 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.4436, allocations: 1.281 kB / 0.5112 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.4437, allocations: 8.719 kB / 0.5112 GB, free: 2.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4437, allocations: 3.938 kB / 0.5112 GB, free: 2.141 MB / 382.1 MB Notification: Performance of Templates: time 0.003888/0.4476, allocations: 1.083 MB / 0.5123 GB, free: 2.023 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)