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.001394/0.001394, allocations: 108.3 kB / 17.74 MB, free: 5.297 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.001592/0.001592, allocations: 187 kB / 18.67 MB, free: 4.375 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.333/1.333, 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.1834/0.1834, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.368, allocations: 58.06 MB / 0.5048 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007324/0.3753, allocations: 6.685 MB / 0.5113 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.3793, allocations: 2.122 MB / 0.5134 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000579/0.3799, allocations: 27.78 kB / 0.5134 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.3814, allocations: 0.5038 MB / 0.5139 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.3829, allocations: 0.561 MB / 0.5144 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.384, allocations: 352.1 kB / 0.5148 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.3856, allocations: 1.295 MB / 0.516 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3866, allocations: 0.7345 MB / 0.5167 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3877, allocations: 0.5517 MB / 0.5173 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.3891, allocations: 0.7365 MB / 0.518 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.3894, allocations: 108.9 kB / 0.5181 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.3908, allocations: 0.5949 MB / 0.5187 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.3914, allocations: 477.6 kB / 0.5191 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007405/0.3922, allocations: 0.5312 MB / 0.5197 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.3945, allocations: 1.53 MB / 0.5212 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3945, allocations: 1.031 kB / 0.5212 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3945, allocations: 0 / 0.5212 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.3946, allocations: 3.938 kB / 0.5212 GB, free: 14.29 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.003548/0.3981, allocations: 1.369 MB / 0.5225 GB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3982, allocations: 13.89 kB / 0.5225 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008127/0.399, allocations: 142.5 kB / 0.5227 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.4006, allocations: 0.69 MB / 0.5233 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.4009, allocations: 172.7 kB / 0.5235 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4011, allocations: 88.89 kB / 0.5236 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.4038, allocations: 1.411 MB / 0.525 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4038, allocations: 3.141 kB / 0.525 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.4039, allocations: 34.17 kB / 0.525 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.4042, allocations: 85.61 kB / 0.5251 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.4071, allocations: 1.518 MB / 0.5266 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.4147, allocations: 4.426 MB / 0.5309 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.4172, allocations: 1.192 MB / 0.532 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4185, allocations: 0.7759 MB / 0.5328 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.4186, allocations: 17.23 kB / 0.5328 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.4187, allocations: 47.36 kB / 0.5329 GB, free: 7.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.646e-06/0.4187, allocations: 0 / 0.5329 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007323/0.426, allocations: 3.851 MB / 0.5366 GB, free: 5.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.4261, allocations: 86.11 kB / 0.5367 GB, free: 5.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.4266, allocations: 401.3 kB / 0.5371 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.4267, allocations: 40.95 kB / 0.5371 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.4269, allocations: 342.3 kB / 0.5374 GB, free: 4.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.4272, allocations: 353.3 kB / 0.5378 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.4275, allocations: 164.7 kB / 0.5379 GB, free: 4.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4277, allocations: 377.6 kB / 0.5383 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.4288, allocations: 0.5917 MB / 0.5389 GB, free: 3.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.43, allocations: 0.7476 MB / 0.5396 GB, free: 3.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.4323, allocations: 1.381 MB / 0.541 GB, free: 2.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4323, allocations: 0 / 0.541 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002883/0.4352, allocations: 1.602 MB / 0.5425 GB, free: 1.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4353, allocations: 7.984 kB / 0.5425 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4353, allocations: 4 kB / 0.5425 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.4354, allocations: 41.03 kB / 0.5426 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.4379, allocations: 0.4953 MB / 0.5431 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006619/0.4446, allocations: 6.694 MB / 0.5496 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.4456, allocations: 83.98 kB / 0.5497 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.4457, allocations: 28 kB / 0.5497 GB, free: 9.512 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.0005929/0.4463, allocations: 321.5 kB / 0.55 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.4465, allocations: 71.09 kB / 0.5501 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.4494, allocations: 1.588 MB / 0.5516 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.4494, allocations: 35.92 kB / 0.5517 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4494, allocations: 4 kB / 0.5517 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4494, allocations: 3.984 kB / 0.5517 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.4542, allocations: 2.865 MB / 0.5545 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4542, allocations: 4 kB / 0.5545 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.4569, allocations: 0.5307 MB / 0.555 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.4571, allocations: 48.7 kB / 0.555 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.4571, allocations: 16 kB / 0.5551 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.4584, allocations: 1.634 MB / 0.5566 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4584, allocations: 4 kB / 0.5567 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.4624, allocations: 2.539 MB / 0.5591 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.4626, allocations: 140.2 kB / 0.5593 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4627, allocations: 23.98 kB / 0.5593 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.4633, allocations: 63.91 kB / 0.5593 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.4635, allocations: 88.42 kB / 0.5594 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/0.4636, allocations: 24 kB / 0.5595 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.4639, allocations: 279.1 kB / 0.5597 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4639, allocations: 0 / 0.5597 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001051/0.465, allocations: 240 kB / 0.5599 GB, free: 14.66 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.0003154/0.4653, allocations: 165.7 kB / 0.5601 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004086/0.4694, allocations: 1.838 MB / 0.5619 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4694, allocations: 4 kB / 0.5619 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.4721, allocations: 1.182 MB / 0.5631 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.4731, allocations: 157.5 kB / 0.5632 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.4779, allocations: 2.665 MB / 0.5658 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.4785, allocations: 1.072 MB / 0.5669 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.4789, allocations: 67.42 kB / 0.5669 GB, free: 7.395 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4789, allocations: 0 / 0.5669 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Templates: time 0.02791/0.5068, allocations: 24.06 MB / 0.5904 GB, free: 15.33 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches