Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_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.0009794/0.0009795, allocations: 92.83 kB / 16.65 MB, free: 6.535 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.001103/0.001104, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.23/1.23, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1626/0.1626, allocations: 38.09 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.000311, allocations: 9.375 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08717, allocations: 59.16 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002061/0.08927, allocations: 1.76 MB / 461.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.08995, allocations: 0.5221 MB / 462.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.09, allocations: 0 / 462.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.09012, allocations: 11.92 kB / 462.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.0902, allocations: 23.91 kB / 462.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.09045, allocations: 59.86 kB / 462.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.09061, allocations: 119.7 kB / 462.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.09066, allocations: 4 kB / 462.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.09073, allocations: 23.86 kB / 462.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.09079, allocations: 27.91 kB / 462.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.09081, allocations: 4 kB / 462.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.09095, allocations: 75.81 kB / 462.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.09101, allocations: 31.86 kB / 462.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.09106, allocations: 49.45 kB / 462.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.09123, allocations: 143.7 kB / 462.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09124, allocations: 0 / 462.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09125, allocations: 0 / 462.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09126, allocations: 4 kB / 462.7 MB, free: 4.199 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.0003345/0.0916, allocations: 416.9 kB / 463.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.09164, allocations: 12.03 kB / 463.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.09168, allocations: 8.844 kB / 463.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.09183, allocations: 196 kB / 463.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.09185, allocations: 384 / 463.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.09187, allocations: 8.125 kB / 463.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.092, allocations: 89.67 kB / 463.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.09202, allocations: 0 / 463.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.09203, allocations: 0 / 463.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.09204, allocations: 0 / 463.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.0921, allocations: 59.97 kB / 463.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.09224, allocations: 177.5 kB / 463.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/0.09234, allocations: 102.5 kB / 463.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.09241, allocations: 88.81 kB / 463.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.09243, allocations: 0 / 463.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.09245, allocations: 34.56 kB / 463.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 9.71e-07/0.09246, allocations: 3.938 kB / 463.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003554/0.09282, allocations: 303.5 kB / 464.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.09288, allocations: 93.09 kB / 464.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.09298, allocations: 136.1 kB / 464.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.093, allocations: 29.64 kB / 464.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.09304, allocations: 96.61 kB / 464.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.09311, allocations: 78.8 kB / 464.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.09314, allocations: 25.7 kB / 464.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.09324, allocations: 322.8 kB / 465 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.0933, allocations: 55.98 kB / 465 MB, free: 1.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.09336, allocations: 62 kB / 465.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.09355, allocations: 247.3 kB / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.09356, allocations: 0 / 465.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002044/0.09377, allocations: 231.1 kB / 465.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.09383, allocations: 61.66 kB / 465.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09384, allocations: 0 / 465.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.09386, allocations: 4 kB / 465.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.09386, allocations: 3.938 kB / 465.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.09387, allocations: 0 / 465.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.09391, allocations: 11.84 kB / 465.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.09393, allocations: 4 kB / 465.6 MB, free: 1.039 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.0001313/0.09407, allocations: 199.4 kB / 465.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.09409, allocations: 11.94 kB / 465.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.09411, allocations: 13.19 kB / 465.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.09412, allocations: 7.969 kB / 465.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.09413, allocations: 0 / 465.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.09413, allocations: 0 / 465.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.09426, allocations: 205.4 kB / 466.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09426, allocations: 0 / 466.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.09427, allocations: 0 / 466.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.09427, allocations: 0 / 466.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.09429, allocations: 7.984 kB / 466.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.0943, allocations: 0 / 466.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0943, allocations: 4 kB / 466.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.09478, allocations: 0.5022 MB / 466.6 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.09484, allocations: 92.86 kB / 466.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.09487, allocations: 11.92 kB / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.0949, allocations: 4 kB / 466.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.09492, allocations: 4 kB / 466.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.09494, allocations: 11.94 kB / 466.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.123e-05/0.09499, allocations: 97.48 kB / 466.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.095, allocations: 8 kB / 466.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.09524, allocations: 47.94 kB / 466.8 MB, free: 15.72 MB / 350.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.0001467/0.09539, allocations: 115.2 kB / 467 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.09596, allocations: 0.6984 MB / 467.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09597, allocations: 0 / 467.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.09637, allocations: 0.5733 MB / 468.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.0966, allocations: 20.06 kB / 468.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.09714, allocations: 477.9 kB / 468.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.09737, allocations: 0.7202 MB / 469.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.0974, allocations: 0 / 469.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.09741, allocations: 11.44 kB / 469.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09742, allocations: 0 / 469.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Templates: time 0.003944/0.1014, allocations: 1.727 MB / 471.2 MB, free: 11.31 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches