Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.03 kB / 17.74 MB, free: 5.309 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.001032/0.001032, allocations: 198.5 kB / 18.67 MB, free: 4.383 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3294, allocations: 58.05 MB / 0.5048 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006788/0.3362, allocations: 5.963 MB / 0.5106 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3389, allocations: 1.561 MB / 0.5121 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.3392, allocations: 26.12 kB / 0.5121 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.3397, allocations: 134.1 kB / 0.5123 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007136/0.3404, allocations: 371.1 kB / 0.5126 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.3411, allocations: 304.4 kB / 0.5129 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3425, allocations: 1.348 MB / 0.5142 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.343, allocations: 370.8 kB / 0.5146 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.3438, allocations: 0.5497 MB / 0.5151 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.3446, allocations: 0.5508 MB / 0.5157 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3448, allocations: 90.12 kB / 0.5157 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.345, allocations: 95.53 kB / 0.5158 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.3454, allocations: 343.7 kB / 0.5162 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.3458, allocations: 404.6 kB / 0.5166 GB, free: 472 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3471, allocations: 1.059 MB / 0.5176 GB, free: 76 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3472, allocations: 0.5625 kB / 0.5176 GB, free: 76 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3472, allocations: 0.5 kB / 0.5176 GB, free: 76 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.3472, allocations: 0 / 0.5176 GB, free: 76 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002824/0.35, allocations: 1.197 MB / 0.5188 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3501, allocations: 13.59 kB / 0.5188 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.3503, allocations: 82.88 kB / 0.5188 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.3516, allocations: 0.6658 MB / 0.5195 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.3521, allocations: 335.3 kB / 0.5198 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3522, allocations: 60.41 kB / 0.5199 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.3546, allocations: 1.046 MB / 0.5209 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3546, allocations: 1.156 kB / 0.5209 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.3547, allocations: 22.34 kB / 0.5209 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3547, allocations: 13.75 kB / 0.5209 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.3574, allocations: 1.093 MB / 0.522 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.3626, allocations: 3.195 MB / 0.5251 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.3648, allocations: 0.7551 MB / 0.5259 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.3662, allocations: 0.5322 MB / 0.5264 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.3662, allocations: 6.703 kB / 0.5264 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.3677, allocations: 0.629 MB / 0.527 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 3.156e-06/0.3677, allocations: 0 / 0.527 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003911/0.3716, allocations: 1.368 MB / 0.5283 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.3717, allocations: 148.7 kB / 0.5285 GB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.3722, allocations: 393.6 kB / 0.5288 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.3722, allocations: 43.11 kB / 0.5289 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.3725, allocations: 289.6 kB / 0.5292 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.3726, allocations: 164.5 kB / 0.5293 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.3728, allocations: 119.2 kB / 0.5294 GB, free: 9.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.373, allocations: 357.6 kB / 0.5298 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.374, allocations: 455.8 kB / 0.5302 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3751, allocations: 0.5576 MB / 0.5308 GB, free: 8.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.377, allocations: 0.888 MB / 0.5316 GB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.377, allocations: 1.219 kB / 0.5316 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00235/0.3794, allocations: 1.079 MB / 0.5327 GB, free: 7.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.3795, allocations: 52.38 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3795, allocations: 3.344 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3795, allocations: 5.406 kB / 0.5327 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005421/0.3849, allocations: 1.115 MB / 0.5338 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/0.3925, allocations: 4.688 MB / 0.5384 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.3934, allocations: 116.8 kB / 0.5385 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3935, allocations: 37.28 kB / 0.5386 GB, free: 3.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004554/0.394, allocations: 250.1 kB / 0.5388 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.3941, allocations: 50.59 kB / 0.5388 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.3967, allocations: 0.9883 MB / 0.5398 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3967, allocations: 5.359 kB / 0.5398 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3967, allocations: 0 / 0.5398 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.3971, allocations: 200.3 kB / 0.54 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3972, allocations: 34.92 kB / 0.54 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.3979, allocations: 88 kB / 0.5401 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3981, allocations: 89.55 kB / 0.5402 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008125/0.4062, allocations: 2.423 MB / 0.5426 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003815/0.4101, allocations: 1.882 MB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001229/0.4113, allocations: 0.542 MB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.4117, allocations: 271.1 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Backend: time 2.91e-07/0.4117, allocations: 3.938 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00674/0.4184, allocations: 1.711 MB / 0.5469 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 0.002256/0.4207, allocations: 1.658 MB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.01621/0.4369, allocations: 10.49 MB / 0.5587 GB, free: 0.5352 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches