Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001162/0.001162, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.318/1.318, 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-master/package.mo): time 0.1715/0.1715, allocations: 38.04 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3208, allocations: 58.06 MB / 0.5048 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002964/0.3238, allocations: 2.042 MB / 0.5068 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.3245, allocations: 0.522 MB / 0.5073 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.3245, allocations: 1.094 kB / 0.5073 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.3246, allocations: 9.547 kB / 0.5073 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3248, allocations: 29.59 kB / 0.5073 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3251, allocations: 70.98 kB / 0.5074 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3252, allocations: 63.38 kB / 0.5074 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3252, allocations: 3.281 kB / 0.5074 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.3253, allocations: 29.55 kB / 0.5075 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.3254, allocations: 28.97 kB / 0.5075 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3254, allocations: 1.094 kB / 0.5075 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3255, allocations: 78.28 kB / 0.5076 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.3256, allocations: 16.41 kB / 0.5076 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.3256, allocations: 17.2 kB / 0.5076 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3258, allocations: 112.2 kB / 0.5077 GB, free: 5.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3258, allocations: 4.594 kB / 0.5077 GB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3258, allocations: 3.938 kB / 0.5077 GB, free: 5.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3258, allocations: 1.312 kB / 0.5077 GB, free: 5.707 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000312/0.3262, allocations: 393 kB / 0.5081 GB, free: 5.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3262, allocations: 12.48 kB / 0.5081 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.3262, allocations: 8.156 kB / 0.5081 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3264, allocations: 182.2 kB / 0.5083 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3264, allocations: 5.406 kB / 0.5083 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3264, allocations: 5.469 kB / 0.5083 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3265, allocations: 62.33 kB / 0.5084 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3266, allocations: 0 / 0.5084 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3266, allocations: 0.9375 kB / 0.5084 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3266, allocations: 0 / 0.5084 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.3266, allocations: 31.77 kB / 0.5084 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.3267, allocations: 164.5 kB / 0.5086 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.3268, allocations: 62.88 kB / 0.5086 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.3269, allocations: 47.5 kB / 0.5087 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.3269, allocations: 5.062 kB / 0.5087 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.3269, allocations: 32.38 kB / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.3269, allocations: 0 / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002417/0.3272, allocations: 178.3 kB / 0.5089 GB, free: 4.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3272, allocations: 87.34 kB / 0.509 GB, free: 4.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.3273, allocations: 124.3 kB / 0.5091 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.3273, allocations: 26.83 kB / 0.5091 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.3273, allocations: 90.55 kB / 0.5092 GB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.3273, allocations: 41.73 kB / 0.5092 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3274, allocations: 25.72 kB / 0.5092 GB, free: 4.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3274, allocations: 319.5 kB / 0.5095 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.3275, allocations: 29.27 kB / 0.5096 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.3275, allocations: 33.3 kB / 0.5096 GB, free: 3.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3277, allocations: 150.8 kB / 0.5098 GB, free: 3.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3277, allocations: 5.797 kB / 0.5098 GB, free: 3.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.3278, allocations: 148.6 kB / 0.5099 GB, free: 3.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.3279, allocations: 49.55 kB / 0.5099 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3279, allocations: 0.9375 kB / 0.5099 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3279, allocations: 0 / 0.5099 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.3279, allocations: 1.812 kB / 0.51 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3279, allocations: 0 / 0.51 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.3279, allocations: 11.12 kB / 0.51 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.328, allocations: 4.25 kB / 0.51 GB, free: 3.734 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.0001013/0.3281, allocations: 163.8 kB / 0.5101 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.3281, allocations: 13.59 kB / 0.5101 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.3281, allocations: 14.75 kB / 0.5101 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3281, allocations: 5.125 kB / 0.5102 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3281, allocations: 0.75 kB / 0.5102 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.3281, allocations: 83.91 kB / 0.5102 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3282, allocations: 7.078 kB / 0.5102 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.3282, allocations: 2.406 kB / 0.5102 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3282, allocations: 1.984 kB / 0.5102 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003601/0.3286, allocations: 412.3 kB / 0.5106 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000341/0.3289, allocations: 430.3 kB / 0.511 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001328/0.3291, allocations: 130.7 kB / 0.5112 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.3291, allocations: 101.3 kB / 0.5113 GB, free: 2.801 MB / 382.1 MB Notification: Performance of Backend: time 3.2e-07/0.3291, allocations: 0 / 0.5113 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.3296, allocations: 318.9 kB / 0.5116 GB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004876/0.3301, allocations: 0.7225 MB / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Templates: time 0.003998/0.3341, allocations: 1.333 MB / 0.5136 GB, free: 1.801 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches