Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001872/0.001872, allocations: 192 kB / 18 MB, free: 5.219 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.476/1.476, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1896/0.1896, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.08 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4674, allocations: 58.05 MB / 0.5041 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00715/0.4746, allocations: 6.686 MB / 0.5106 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.4781, allocations: 2.121 MB / 0.5127 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.4785, allocations: 23.22 kB / 0.5127 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.48, allocations: 0.5096 MB / 0.5132 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.4813, allocations: 0.5719 MB / 0.5138 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.4823, allocations: 348.5 kB / 0.5141 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.4839, allocations: 1.303 MB / 0.5154 GB, free: 380 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.4849, allocations: 0.7253 MB / 0.5161 GB, free: 60 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009785/0.4859, allocations: 0.5496 MB / 0.5166 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.4873, allocations: 0.7384 MB / 0.5174 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.4876, allocations: 105.2 kB / 0.5175 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.4892, allocations: 0.5961 MB / 0.518 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007055/0.4899, allocations: 481.8 kB / 0.5185 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.4907, allocations: 0.5252 MB / 0.519 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.4933, allocations: 1.535 MB / 0.5205 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4933, allocations: 1.094 kB / 0.5205 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.4933, allocations: 0 / 0.5205 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.4934, allocations: 3.938 kB / 0.5205 GB, free: 14.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003495/0.4969, allocations: 1.369 MB / 0.5218 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4969, allocations: 13.48 kB / 0.5219 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.4978, allocations: 139.7 kB / 0.522 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4993, allocations: 0.6898 MB / 0.5227 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.4996, allocations: 172.1 kB / 0.5228 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.4999, allocations: 92.38 kB / 0.5229 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/0.503, allocations: 1.408 MB / 0.5243 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.5031, allocations: 1.094 kB / 0.5243 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.5032, allocations: 36.8 kB / 0.5243 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/0.5035, allocations: 87.39 kB / 0.5244 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.5074, allocations: 1.522 MB / 0.5259 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0078/0.5152, allocations: 4.427 MB / 0.5302 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.5177, allocations: 1.195 MB / 0.5314 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5191, allocations: 0.7768 MB / 0.5321 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-05/0.5192, allocations: 12.92 kB / 0.5322 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.5192, allocations: 46.92 kB / 0.5322 GB, free: 7.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.296e-06/0.5192, allocations: 0 / 0.5322 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007854/0.5271, allocations: 3.851 MB / 0.536 GB, free: 5.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.5272, allocations: 87.08 kB / 0.536 GB, free: 5.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.5277, allocations: 404.3 kB / 0.5364 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.5278, allocations: 41.36 kB / 0.5365 GB, free: 5.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5281, allocations: 345.9 kB / 0.5368 GB, free: 4.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.5284, allocations: 349.4 kB / 0.5371 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.5287, allocations: 162.2 kB / 0.5373 GB, free: 4.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5289, allocations: 376.6 kB / 0.5376 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5299, allocations: 0.596 MB / 0.5382 GB, free: 3.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.531, allocations: 0.7428 MB / 0.539 GB, free: 3.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.5332, allocations: 1.384 MB / 0.5403 GB, free: 2.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5333, allocations: 1.5 kB / 0.5403 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00276/0.536, allocations: 1.6 MB / 0.5419 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5361, allocations: 8 kB / 0.5419 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5361, allocations: 4 kB / 0.5419 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.5363, allocations: 36.84 kB / 0.5419 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.5386, allocations: 0.4916 MB / 0.5424 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.5448, allocations: 6.694 MB / 0.5489 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/0.5458, allocations: 83.89 kB / 0.549 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/0.5459, allocations: 31.98 kB / 0.549 GB, free: 9.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.5465, allocations: 317.6 kB / 0.5494 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.5467, allocations: 71.09 kB / 0.5494 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.5495, allocations: 1.596 MB / 0.551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.5495, allocations: 23.98 kB / 0.551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5496, allocations: 0 / 0.551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5496, allocations: 7.984 kB / 0.551 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.5541, allocations: 2.873 MB / 0.5538 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5542, allocations: 4.062 kB / 0.5538 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/0.5567, allocations: 0.5266 MB / 0.5543 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.5569, allocations: 44.77 kB / 0.5544 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.557, allocations: 24 kB / 0.5544 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.5582, allocations: 1.634 MB / 0.556 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5583, allocations: 4.031 kB / 0.556 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.5622, allocations: 2.535 MB / 0.5585 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.5624, allocations: 148.1 kB / 0.5586 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5625, allocations: 23.98 kB / 0.5586 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.5631, allocations: 71.91 kB / 0.5587 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.5633, allocations: 76.42 kB / 0.5588 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.5634, allocations: 24 kB / 0.5588 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.5638, allocations: 283.1 kB / 0.5591 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5638, allocations: 0 / 0.5591 GB, free: 14.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001179/0.565, allocations: 240 kB / 0.5593 GB, free: 14.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.5653, allocations: 159 kB / 0.5595 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.5694, allocations: 1.842 MB / 0.5612 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5695, allocations: 0 / 0.5612 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.5722, allocations: 1.198 MB / 0.5624 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.5732, allocations: 155.9 kB / 0.5626 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.5789, allocations: 2.593 MB / 0.5651 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/0.5797, allocations: 1.08 MB / 0.5662 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007422/0.5805, allocations: 269.6 kB / 0.5664 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.5807, allocations: 59.42 kB / 0.5665 GB, free: 7.137 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5807, allocations: 0 / 0.5665 GB, free: 7.137 MB / 430.1 MB Notification: Performance of Templates: time 0.02019/0.6009, allocations: 11.12 MB / 0.5773 GB, free: 12.09 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches