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.001804/0.001804, allocations: 108.8 kB / 17.06 MB, free: 6.023 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.002136/0.002136, allocations: 191 kB / 18 MB, free: 5.109 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1882/0.1882, allocations: 38.05 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 458.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4321, allocations: 58.06 MB / 0.5041 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003303/0.4355, allocations: 2.046 MB / 0.5061 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.4363, allocations: 0.5226 MB / 0.5066 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.4363, allocations: 1.219 kB / 0.5066 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.4365, allocations: 9.109 kB / 0.5066 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.4366, allocations: 25.7 kB / 0.5067 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.437, allocations: 67.16 kB / 0.5067 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.4371, allocations: 55.23 kB / 0.5068 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.4372, allocations: 7.297 kB / 0.5068 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.4373, allocations: 33.33 kB / 0.5068 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.4373, allocations: 28.02 kB / 0.5068 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4374, allocations: 1.094 kB / 0.5068 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.4376, allocations: 83.06 kB / 0.5069 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.4376, allocations: 24.83 kB / 0.5069 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.4377, allocations: 31.5 kB / 0.507 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.4379, allocations: 127.5 kB / 0.5071 GB, free: 5.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4379, allocations: 0 / 0.5071 GB, free: 5.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4379, allocations: 1.094 kB / 0.5071 GB, free: 5.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4379, allocations: 4 kB / 0.5071 GB, free: 5.723 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004192/0.4384, allocations: 435.3 kB / 0.5075 GB, free: 5.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4384, allocations: 13.84 kB / 0.5075 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.4384, allocations: 9.031 kB / 0.5075 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4386, allocations: 187.7 kB / 0.5077 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4386, allocations: 1.688 kB / 0.5077 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4386, allocations: 9.094 kB / 0.5077 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4388, allocations: 86.98 kB / 0.5078 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4388, allocations: 0.6094 kB / 0.5078 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4388, allocations: 5.094 kB / 0.5078 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4388, allocations: 0 / 0.5078 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.4389, allocations: 61.3 kB / 0.5079 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.4391, allocations: 180 kB / 0.508 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4392, allocations: 92.19 kB / 0.5081 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.4393, allocations: 95.41 kB / 0.5082 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.4393, allocations: 2.906 kB / 0.5082 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.4393, allocations: 35.84 kB / 0.5083 GB, free: 4.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.4393, allocations: 0 / 0.5083 GB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004453/0.4398, allocations: 296.6 kB / 0.5085 GB, free: 4.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4398, allocations: 98.98 kB / 0.5086 GB, free: 4.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.4399, allocations: 132.2 kB / 0.5088 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.4399, allocations: 26.86 kB / 0.5088 GB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.44, allocations: 98.05 kB / 0.5089 GB, free: 4.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.4401, allocations: 83.53 kB / 0.509 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.4401, allocations: 30.2 kB / 0.509 GB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.4402, allocations: 327.7 kB / 0.5093 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4403, allocations: 61.39 kB / 0.5094 GB, free: 3.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.4404, allocations: 55.69 kB / 0.5094 GB, free: 3.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.4407, allocations: 248.4 kB / 0.5097 GB, free: 3.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4407, allocations: 0 / 0.5097 GB, free: 3.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002597/0.4409, allocations: 225.7 kB / 0.5099 GB, free: 3.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.441, allocations: 63.81 kB / 0.5099 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.441, allocations: 6.094 kB / 0.5099 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.441, allocations: 4.062 kB / 0.5099 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.441, allocations: 0 / 0.5099 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.441, allocations: 2.125 kB / 0.5099 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.4411, allocations: 15.75 kB / 0.51 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.4411, allocations: 9.188 kB / 0.51 GB, free: 3.535 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.0001351/0.4413, allocations: 201.7 kB / 0.5102 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.4413, allocations: 12.41 kB / 0.5102 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.4413, allocations: 9.312 kB / 0.5102 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4413, allocations: 1.219 kB / 0.5102 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4413, allocations: 4.891 kB / 0.5102 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4413, allocations: 1.125 kB / 0.5102 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.4414, allocations: 202.6 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4415, allocations: 0 / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.4415, allocations: 1.281 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4415, allocations: 0.5625 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4415, allocations: 4.375 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4415, allocations: 0.75 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4415, allocations: 1.188 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.4422, allocations: 0.5063 MB / 0.5109 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.4423, allocations: 84.95 kB / 0.511 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4423, allocations: 5.875 kB / 0.511 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.4424, allocations: 3.562 kB / 0.511 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.4424, allocations: 6.25 kB / 0.511 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.4424, allocations: 9.562 kB / 0.511 GB, free: 2.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.4425, allocations: 103.5 kB / 0.5111 GB, free: 2.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4425, allocations: 0 / 0.5111 GB, free: 2.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.4428, allocations: 46.17 kB / 0.5111 GB, free: 2.777 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.0002297/0.4431, allocations: 121.3 kB / 0.5112 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009063/0.444, allocations: 0.7035 MB / 0.5119 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.444, allocations: 0 / 0.5119 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.4446, allocations: 0.5678 MB / 0.5125 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4449, allocations: 24.03 kB / 0.5125 GB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.4457, allocations: 434.6 kB / 0.5129 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.4459, allocations: 0.7194 MB / 0.5136 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.4459, allocations: 2.906 kB / 0.5136 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.4459, allocations: 8.844 kB / 0.5136 GB, free: 1.121 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4459, allocations: 0 / 0.5136 GB, free: 1.121 MB / 382.1 MB Notification: Performance of Templates: time 0.005854/0.4518, allocations: 1.938 MB / 0.5155 GB, free: 0.9492 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches