Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_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.001301/0.001301, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001629/0.001629, allocations: 195 kB / 18 MB, free: 5.074 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1797/0.1797, allocations: 38.05 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4234, allocations: 58.05 MB / 0.5041 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003444/0.4269, allocations: 2.046 MB / 0.5061 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.4278, allocations: 0.523 MB / 0.5066 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.4279, allocations: 0 / 0.5066 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.4282, allocations: 11.39 kB / 0.5066 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4283, allocations: 32.59 kB / 0.5067 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.4287, allocations: 66.45 kB / 0.5067 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.4289, allocations: 59.44 kB / 0.5068 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.438e-05/0.429, allocations: 4.328 kB / 0.5068 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.4291, allocations: 33.31 kB / 0.5068 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.4292, allocations: 34.55 kB / 0.5068 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4292, allocations: 1.094 kB / 0.5068 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.4294, allocations: 78.25 kB / 0.5069 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.4295, allocations: 8.406 kB / 0.5069 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4295, allocations: 20.31 kB / 0.5069 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.4298, allocations: 91.81 kB / 0.507 GB, free: 5.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4298, allocations: 8 kB / 0.507 GB, free: 5.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4298, allocations: 1.125 kB / 0.507 GB, free: 5.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4299, allocations: 0 / 0.507 GB, free: 5.84 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.0003748/0.4302, allocations: 392 kB / 0.5074 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4303, allocations: 13.58 kB / 0.5074 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4303, allocations: 3.094 kB / 0.5074 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4305, allocations: 181.1 kB / 0.5076 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4306, allocations: 5.531 kB / 0.5076 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.4306, allocations: 5.719 kB / 0.5076 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4307, allocations: 55.28 kB / 0.5077 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4307, allocations: 3.938 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4307, allocations: 1.062 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4307, allocations: 0.6562 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.4308, allocations: 17.47 kB / 0.5077 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.431, allocations: 165.5 kB / 0.5079 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.431, allocations: 46.84 kB / 0.5079 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.4311, allocations: 40.31 kB / 0.5079 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.4311, allocations: 5.797 kB / 0.5079 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4311, allocations: 31.66 kB / 0.508 GB, free: 4.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.4311, allocations: 0 / 0.508 GB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000265/0.4314, allocations: 139.9 kB / 0.5081 GB, free: 4.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4315, allocations: 87.45 kB / 0.5082 GB, free: 4.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.4316, allocations: 112.2 kB / 0.5083 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4316, allocations: 25.7 kB / 0.5083 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.4316, allocations: 94.86 kB / 0.5084 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.4317, allocations: 30.25 kB / 0.5084 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4317, allocations: 17.3 kB / 0.5085 GB, free: 4.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.4318, allocations: 318.5 kB / 0.5088 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.4318, allocations: 17.7 kB / 0.5088 GB, free: 4.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.4319, allocations: 25.88 kB / 0.5088 GB, free: 4.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.432, allocations: 121.8 kB / 0.5089 GB, free: 4.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.432, allocations: 0.8438 kB / 0.5089 GB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001399/0.4321, allocations: 124.8 kB / 0.509 GB, free: 3.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.4322, allocations: 45.23 kB / 0.5091 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4322, allocations: 1.188 kB / 0.5091 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4322, allocations: 0 / 0.5091 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.4322, allocations: 1.062 kB / 0.5091 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4323, allocations: 4.641 kB / 0.5091 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.4323, allocations: 2.125 kB / 0.5091 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.4323, allocations: 7.234 kB / 0.5091 GB, free: 3.914 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 9.233e-05/0.4324, allocations: 160.2 kB / 0.5092 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.4324, allocations: 7.016 kB / 0.5093 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.4324, allocations: 11.59 kB / 0.5093 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4325, allocations: 1.562 kB / 0.5093 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4325, allocations: 0 / 0.5093 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4325, allocations: 0.6562 kB / 0.5093 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.4326, allocations: 178.8 kB / 0.5094 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4326, allocations: 0 / 0.5094 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.4326, allocations: 0.5156 kB / 0.5094 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.4326, allocations: 1.125 kB / 0.5094 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4326, allocations: 7.906 kB / 0.5094 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4326, allocations: 0 / 0.5094 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4326, allocations: 4.562 kB / 0.5095 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.4329, allocations: 211.5 kB / 0.5097 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.4329, allocations: 84.09 kB / 0.5097 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4329, allocations: 1.781 kB / 0.5097 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.579e-05/0.433, allocations: 6.344 kB / 0.5097 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.433, allocations: 1.75 kB / 0.5097 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.433, allocations: 2.922 kB / 0.5097 GB, free: 3.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.824e-05/0.433, allocations: 90.88 kB / 0.5098 GB, free: 3.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.433, allocations: 4.031 kB / 0.5098 GB, free: 3.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4333, allocations: 28.25 kB / 0.5099 GB, free: 3.227 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.0001684/0.4335, allocations: 119.6 kB / 0.51 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4337, allocations: 194.7 kB / 0.5102 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4337, allocations: 0 / 0.5102 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4339, allocations: 148.2 kB / 0.5103 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.4342, allocations: 14.16 kB / 0.5103 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.4347, allocations: 214.6 kB / 0.5105 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.4349, allocations: 0.6907 MB / 0.5112 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.585e-05/0.4349, allocations: 1.766 kB / 0.5112 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.4349, allocations: 8.5 kB / 0.5112 GB, free: 2.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4349, allocations: 3.938 kB / 0.5112 GB, free: 2.086 MB / 382.1 MB Notification: Performance of Templates: time 0.00421/0.4392, allocations: 1.081 MB / 0.5123 GB, free: 1.973 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches