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.001734/0.001735, allocations: 115.3 kB / 17.07 MB, free: 5.773 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.001694/0.001695, allocations: 195.9 kB / 18 MB, free: 4.953 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.417/1.417, 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.3128/0.3128, allocations: 38.04 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3704, allocations: 58.05 MB / 0.5041 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.0082/0.3786, allocations: 6.688 MB / 0.5106 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.3836, allocations: 2.12 MB / 0.5127 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.3842, allocations: 31 kB / 0.5127 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3861, allocations: 0.4958 MB / 0.5132 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.388, allocations: 0.565 MB / 0.5138 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3892, allocations: 348 kB / 0.5141 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.3911, allocations: 1.298 MB / 0.5154 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.3923, allocations: 0.7289 MB / 0.5161 GB, free: 20 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.3937, allocations: 0.5506 MB / 0.5166 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.3955, allocations: 0.7426 MB / 0.5173 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.3959, allocations: 105.5 kB / 0.5174 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.3979, allocations: 0.5949 MB / 0.518 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007441/0.3986, allocations: 477.1 kB / 0.5185 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.3995, allocations: 0.5288 MB / 0.519 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.4019, allocations: 1.536 MB / 0.5205 GB, free: 14.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.402, allocations: 1 kB / 0.5205 GB, free: 14.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.402, allocations: 4.453 kB / 0.5205 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.402, allocations: 0 / 0.5205 GB, free: 14.34 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.00334/0.4054, allocations: 1.369 MB / 0.5218 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4054, allocations: 13.95 kB / 0.5219 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.4063, allocations: 142.9 kB / 0.522 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.4079, allocations: 0.6939 MB / 0.5227 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.4082, allocations: 173.1 kB / 0.5228 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.4084, allocations: 88.23 kB / 0.5229 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.4112, allocations: 1.412 MB / 0.5243 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.4112, allocations: 1.281 kB / 0.5243 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.4113, allocations: 30.25 kB / 0.5243 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/0.4116, allocations: 88.88 kB / 0.5244 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.4148, allocations: 1.522 MB / 0.5259 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008002/0.4228, allocations: 4.426 MB / 0.5302 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.4253, allocations: 1.186 MB / 0.5314 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.4267, allocations: 0.779 MB / 0.5321 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.4268, allocations: 17.39 kB / 0.5322 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4268, allocations: 42.8 kB / 0.5322 GB, free: 7.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 4.298e-06/0.4268, allocations: 1.812 kB / 0.5322 GB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007699/0.4345, allocations: 3.849 MB / 0.536 GB, free: 5.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002275/0.4348, allocations: 91.67 kB / 0.536 GB, free: 5.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.4354, allocations: 399.7 kB / 0.5364 GB, free: 5.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.4354, allocations: 41.2 kB / 0.5365 GB, free: 5.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.4357, allocations: 346 kB / 0.5368 GB, free: 4.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.4361, allocations: 349.8 kB / 0.5371 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.4364, allocations: 162.2 kB / 0.5373 GB, free: 4.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4366, allocations: 376.6 kB / 0.5376 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.4378, allocations: 0.5953 MB / 0.5382 GB, free: 3.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.4391, allocations: 0.743 MB / 0.5389 GB, free: 3.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.4414, allocations: 1.386 MB / 0.5403 GB, free: 2.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4414, allocations: 0 / 0.5403 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003033/0.4445, allocations: 1.599 MB / 0.5419 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4445, allocations: 8 kB / 0.5419 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4446, allocations: 4 kB / 0.5419 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.4447, allocations: 32.84 kB / 0.5419 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.4472, allocations: 0.4994 MB / 0.5424 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/0.454, allocations: 6.69 MB / 0.5489 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.4551, allocations: 83.89 kB / 0.549 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4552, allocations: 31.98 kB / 0.549 GB, free: 9.484 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.0007655/0.456, allocations: 317.6 kB / 0.5493 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4562, allocations: 67.09 kB / 0.5494 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.4591, allocations: 1.592 MB / 0.551 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.4591, allocations: 27.94 kB / 0.551 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4592, allocations: 4 kB / 0.551 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4592, allocations: 11.92 kB / 0.551 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.4642, allocations: 2.873 MB / 0.5538 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4642, allocations: 4 kB / 0.5538 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/0.4668, allocations: 0.5228 MB / 0.5543 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.4669, allocations: 52.84 kB / 0.5544 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.467, allocations: 23.94 kB / 0.5544 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.4682, allocations: 1.63 MB / 0.556 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4682, allocations: 0 / 0.556 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.4722, allocations: 2.547 MB / 0.5585 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.4725, allocations: 140.2 kB / 0.5586 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4726, allocations: 23.98 kB / 0.5586 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.4732, allocations: 63.91 kB / 0.5587 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.4735, allocations: 84.42 kB / 0.5588 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.4735, allocations: 20 kB / 0.5588 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.4739, allocations: 287.1 kB / 0.5591 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4739, allocations: 0 / 0.5591 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001074/0.475, allocations: 236 kB / 0.5593 GB, free: 14.62 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.0003615/0.4753, allocations: 163.1 kB / 0.5594 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00414/0.4795, allocations: 1.845 MB / 0.5612 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4795, allocations: 0 / 0.5612 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.4823, allocations: 1.194 MB / 0.5624 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4833, allocations: 157 kB / 0.5626 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.4884, allocations: 2.587 MB / 0.5651 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.4891, allocations: 1.076 MB / 0.5661 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007641/0.4899, allocations: 269.5 kB / 0.5664 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.4902, allocations: 59.42 kB / 0.5665 GB, free: 7.172 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4902, allocations: 0 / 0.5665 GB, free: 7.172 MB / 430.1 MB Notification: Performance of Templates: time 0.02074/0.5109, allocations: 11.14 MB / 0.5773 GB, free: 12.12 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