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.001186/0.001192, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.00128/0.00128, allocations: 188.5 kB / 18.67 MB, free: 4.422 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.366/1.366, allocations: 222.9 MB / 242.4 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.1861/0.1861, allocations: 38.03 MB / 330.5 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004236/0.3306, allocations: 2.046 MB / 0.5068 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.3315, allocations: 0.5193 MB / 0.5073 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.3316, allocations: 3.938 kB / 0.5073 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.3318, allocations: 14.84 kB / 0.5073 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.332, allocations: 25.7 kB / 0.5073 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.3324, allocations: 67.2 kB / 0.5074 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3326, allocations: 59.92 kB / 0.5074 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.3327, allocations: 2.672 kB / 0.5074 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3328, allocations: 38.69 kB / 0.5075 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.3329, allocations: 33.86 kB / 0.5075 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3329, allocations: 1.094 kB / 0.5075 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.3331, allocations: 74.69 kB / 0.5076 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.3332, allocations: 7.766 kB / 0.5076 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.3332, allocations: 24.81 kB / 0.5076 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3335, allocations: 100.4 kB / 0.5077 GB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3335, allocations: 3.938 kB / 0.5077 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3335, allocations: 0 / 0.5077 GB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3335, allocations: 0 / 0.5077 GB, free: 5.797 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.0003615/0.3339, allocations: 383.5 kB / 0.5081 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3339, allocations: 13.98 kB / 0.5081 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.334, allocations: 7.094 kB / 0.5081 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3342, allocations: 177.4 kB / 0.5083 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-06/0.3342, allocations: 384 / 0.5083 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3342, allocations: 5.219 kB / 0.5083 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3343, allocations: 56.12 kB / 0.5083 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3344, allocations: 0 / 0.5083 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3344, allocations: 5.031 kB / 0.5083 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3344, allocations: 0 / 0.5083 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.3345, allocations: 31.7 kB / 0.5083 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.3346, allocations: 161.1 kB / 0.5085 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.3347, allocations: 43.81 kB / 0.5085 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3347, allocations: 36.61 kB / 0.5086 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.3348, allocations: 0 / 0.5086 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.3348, allocations: 32.42 kB / 0.5086 GB, free: 4.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3348, allocations: 0 / 0.5086 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002937/0.3351, allocations: 148.4 kB / 0.5088 GB, free: 4.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3351, allocations: 83.86 kB / 0.5088 GB, free: 4.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.3352, allocations: 112.6 kB / 0.5089 GB, free: 4.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.3353, allocations: 25.7 kB / 0.509 GB, free: 4.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.3353, allocations: 87.23 kB / 0.509 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3353, allocations: 29.69 kB / 0.5091 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3354, allocations: 16.61 kB / 0.5091 GB, free: 4.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.3354, allocations: 323.5 kB / 0.5094 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.3355, allocations: 22.17 kB / 0.5094 GB, free: 4.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.3356, allocations: 17.84 kB / 0.5094 GB, free: 4.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3357, allocations: 125.3 kB / 0.5096 GB, free: 4.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3357, allocations: 1.062 kB / 0.5096 GB, free: 4.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001852/0.3359, allocations: 132.1 kB / 0.5097 GB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.336, allocations: 41.86 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.336, allocations: 0 / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.336, allocations: 1.125 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.336, allocations: 0.75 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3361, allocations: 5.125 kB / 0.5097 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.3361, allocations: 2.188 kB / 0.5097 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3361, allocations: 10.94 kB / 0.5097 GB, free: 3.875 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 0.0001089/0.3363, allocations: 155.3 kB / 0.5099 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.3363, allocations: 8.25 kB / 0.5099 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.3363, allocations: 6.969 kB / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3363, allocations: 1.125 kB / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3363, allocations: 0 / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3363, allocations: 5 kB / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.988e-05/0.3364, allocations: 178.7 kB / 0.5101 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3364, allocations: 0 / 0.5101 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-06/0.3364, allocations: 5.156 kB / 0.5101 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3365, allocations: 0.7031 kB / 0.5101 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3365, allocations: 2.969 kB / 0.5101 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3365, allocations: 0.75 kB / 0.5101 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3365, allocations: 0 / 0.5101 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3368, allocations: 211.8 kB / 0.5103 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3369, allocations: 84.28 kB / 0.5104 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.3369, allocations: 2.922 kB / 0.5104 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.3369, allocations: 1.125 kB / 0.5104 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.337, allocations: 2.125 kB / 0.5104 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.337, allocations: 7.281 kB / 0.5104 GB, free: 3.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.586e-05/0.337, allocations: 89.98 kB / 0.5105 GB, free: 3.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3371, allocations: 1.094 kB / 0.5105 GB, free: 3.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.3375, allocations: 28.8 kB / 0.5105 GB, free: 3.203 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.0001599/0.3376, allocations: 114.2 kB / 0.5106 GB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3379, allocations: 198.1 kB / 0.5108 GB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3379, allocations: 0 / 0.5108 GB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.338, allocations: 149.2 kB / 0.5109 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3384, allocations: 16.89 kB / 0.511 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.3389, allocations: 251.2 kB / 0.5112 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.339, allocations: 0.6954 MB / 0.5119 GB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.3391, allocations: 9.156 kB / 0.5119 GB, free: 2.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3391, allocations: 0 / 0.5119 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Templates: time 0.003687/0.3428, allocations: 1.097 MB / 0.513 GB, free: 1.949 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)