Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.3 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.00123/0.00123, allocations: 192 kB / 17.99 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.485/1.485, allocations: 222.9 MB / 241.7 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.1852/0.1852, allocations: 38.04 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4511, allocations: 58.05 MB / 0.5041 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006207/0.4573, allocations: 4.701 MB / 0.5087 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4594, allocations: 1.35 MB / 0.51 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.4596, allocations: 12.78 kB / 0.51 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.4607, allocations: 402.2 kB / 0.5104 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.4614, allocations: 243.3 kB / 0.5106 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.4618, allocations: 184.9 kB / 0.5108 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.4624, allocations: 0.5453 MB / 0.5113 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.4629, allocations: 346.5 kB / 0.5117 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.4633, allocations: 263.7 kB / 0.5119 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.4637, allocations: 269 kB / 0.5122 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.4638, allocations: 32.28 kB / 0.5122 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.4641, allocations: 127.8 kB / 0.5123 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.4643, allocations: 190.2 kB / 0.5125 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.4645, allocations: 222.5 kB / 0.5127 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.4653, allocations: 0.5242 MB / 0.5132 GB, free: 2.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4653, allocations: 0 / 0.5132 GB, free: 2.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4653, allocations: 3.938 kB / 0.5132 GB, free: 2.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.4653, allocations: 0 / 0.5132 GB, free: 2.375 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001063/0.4664, allocations: 0.7213 MB / 0.514 GB, free: 1.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4664, allocations: 13.22 kB / 0.514 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.4671, allocations: 87.84 kB / 0.514 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.4677, allocations: 418.7 kB / 0.5144 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.4678, allocations: 23.5 kB / 0.5145 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4679, allocations: 49.81 kB / 0.5145 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.4686, allocations: 490.9 kB / 0.515 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4687, allocations: 1.406 kB / 0.515 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.4687, allocations: 11.06 kB / 0.515 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.4688, allocations: 29.55 kB / 0.515 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.4694, allocations: 342.2 kB / 0.5154 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.4716, allocations: 1.62 MB / 0.5169 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.472, allocations: 175.5 kB / 0.5171 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.4723, allocations: 112.3 kB / 0.5172 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4723, allocations: 5.922 kB / 0.5172 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.4723, allocations: 44.62 kB / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.4724, allocations: 0.5312 kB / 0.5173 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001458/0.4738, allocations: 0.7786 MB / 0.518 GB, free: 15.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4739, allocations: 79.8 kB / 0.5181 GB, free: 15.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.4742, allocations: 308.4 kB / 0.5184 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4743, allocations: 31.08 kB / 0.5184 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4745, allocations: 258.1 kB / 0.5187 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.4745, allocations: 71.17 kB / 0.5187 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4747, allocations: 60.19 kB / 0.5188 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4748, allocations: 340.6 kB / 0.5191 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.475, allocations: 104 kB / 0.5192 GB, free: 14.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.4752, allocations: 200.3 kB / 0.5194 GB, free: 14.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.4757, allocations: 334.1 kB / 0.5197 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4757, allocations: 1.125 kB / 0.5197 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008341/0.4765, allocations: 426.3 kB / 0.5201 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4765, allocations: 5.562 kB / 0.5201 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005415/0.4771, allocations: 269.2 kB / 0.5204 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.4775, allocations: 77.28 kB / 0.5205 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4777, allocations: 67.72 kB / 0.5205 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.4794, allocations: 1.71 MB / 0.5222 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4796, allocations: 22.78 kB / 0.5222 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.4796, allocations: 16.03 kB / 0.5222 GB, free: 12.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.4799, allocations: 192.2 kB / 0.5224 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.4799, allocations: 29.44 kB / 0.5224 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.4804, allocations: 262.8 kB / 0.5227 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4804, allocations: 7.203 kB / 0.5227 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4804, allocations: 4.062 kB / 0.5227 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4804, allocations: 2.5 kB / 0.5227 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.4816, allocations: 0.7494 MB / 0.5234 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4817, allocations: 0.5625 kB / 0.5234 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.4819, allocations: 48.47 kB / 0.5235 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.482, allocations: 5.375 kB / 0.5235 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.482, allocations: 11.75 kB / 0.5235 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.482, allocations: 6.625 kB / 0.5235 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.482, allocations: 1.922 kB / 0.5235 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.4826, allocations: 448.8 kB / 0.5239 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.4827, allocations: 112 kB / 0.524 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.4827, allocations: 16.56 kB / 0.5241 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4829, allocations: 8.141 kB / 0.5241 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.4829, allocations: 15.91 kB / 0.5241 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.483, allocations: 10.41 kB / 0.5241 GB, free: 10.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.4832, allocations: 217.5 kB / 0.5243 GB, free: 10.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4832, allocations: 0 / 0.5243 GB, free: 10.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.4837, allocations: 83.94 kB / 0.5244 GB, free: 10.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000122/0.4838, allocations: 104.7 kB / 0.5245 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006793/0.4845, allocations: 371.9 kB / 0.5248 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4845, allocations: 4 kB / 0.5248 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4847, allocations: 106.4 kB / 0.5249 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4852, allocations: 72.05 kB / 0.525 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.4867, allocations: 0.9112 MB / 0.5259 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.4871, allocations: 0.8545 MB / 0.5267 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.4874, allocations: 66.89 kB / 0.5268 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.4874, allocations: 36.53 kB / 0.5268 GB, free: 9.074 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4874, allocations: 0 / 0.5268 GB, free: 9.074 MB / 398.1 MB Notification: Performance of Templates: time 0.008524/0.496, allocations: 3.567 MB / 0.5303 GB, free: 8.25 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches