Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.001015, allocations: 182.3 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007717/0.0007718, allocations: 101.9 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2817/0.2817, allocations: 38.18 MB / 383.7 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 12 kB / 453.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 59.15 MB / 0.5007 GB, free: 39.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007151/0.2549, allocations: 6.833 MB / 0.5074 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004024/0.259, allocations: 3.515 MB / 0.5108 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.2598, allocations: 40.69 kB / 0.5108 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.2604, allocations: 141.5 kB / 0.511 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2618, allocations: 0.5145 MB / 0.5115 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.2626, allocations: 316.8 kB / 0.5118 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.2643, allocations: 1.84 MB / 0.5136 GB, free: 32.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.2656, allocations: 1.25 MB / 0.5148 GB, free: 31.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.2663, allocations: 451.2 kB / 0.5152 GB, free: 31.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.2671, allocations: 0.6941 MB / 0.5159 GB, free: 31.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2673, allocations: 53.38 kB / 0.5159 GB, free: 31.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/0.2682, allocations: 0.586 MB / 0.5165 GB, free: 31.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.2687, allocations: 410.6 kB / 0.5169 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.2692, allocations: 499.8 kB / 0.5174 GB, free: 31.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2704, allocations: 1.452 MB / 0.5188 GB, free: 30.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2704, allocations: 0 / 0.5188 GB, free: 30.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2704, allocations: 0 / 0.5188 GB, free: 30.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2705, allocations: 0 / 0.5188 GB, free: 30.67 MB / 378.7 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.002074/0.2725, allocations: 1.217 MB / 0.52 GB, free: 29.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2726, allocations: 8.719 kB / 0.52 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.2731, allocations: 147.8 kB / 0.5201 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.2741, allocations: 0.6587 MB / 0.5208 GB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2742, allocations: 177.7 kB / 0.521 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.2744, allocations: 86.55 kB / 0.521 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.2762, allocations: 1.429 MB / 0.5224 GB, free: 28.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2762, allocations: 7.938 kB / 0.5224 GB, free: 28.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.2763, allocations: 29.69 kB / 0.5225 GB, free: 28.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.2765, allocations: 84.02 kB / 0.5226 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.2786, allocations: 1.557 MB / 0.5241 GB, free: 28.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.2836, allocations: 4.474 MB / 0.5284 GB, free: 25.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2854, allocations: 1.253 MB / 0.5297 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.2864, allocations: 0.7998 MB / 0.5304 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/0.2865, allocations: 9.219 kB / 0.5305 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2865, allocations: 49.97 kB / 0.5305 GB, free: 25.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 2.805e-06/0.2865, allocations: 0 / 0.5305 GB, free: 25.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.005275/0.2918, allocations: 3.974 MB / 0.5344 GB, free: 23.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2918, allocations: 91.36 kB / 0.5345 GB, free: 23.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.2921, allocations: 393.3 kB / 0.5348 GB, free: 23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2922, allocations: 40.98 kB / 0.5349 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2923, allocations: 343.2 kB / 0.5352 GB, free: 22.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.2925, allocations: 354.3 kB / 0.5355 GB, free: 22.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.2925, allocations: 17.81 kB / 0.5356 GB, free: 22.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.2926, allocations: 384.4 kB / 0.5359 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008646/0.2935, allocations: 0.6102 MB / 0.5365 GB, free: 21.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.2944, allocations: 0.7687 MB / 0.5373 GB, free: 21.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.2962, allocations: 1.426 MB / 0.5387 GB, free: 20.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2962, allocations: 0 / 0.5387 GB, free: 20.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002114/0.2983, allocations: 1.641 MB / 0.5403 GB, free: 20.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2983, allocations: 10.22 kB / 0.5403 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2984, allocations: 7.172 kB / 0.5403 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.2985, allocations: 39.72 kB / 0.5403 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.3008, allocations: 0.6217 MB / 0.5409 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.3054, allocations: 6.402 MB / 0.5472 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.306, allocations: 95.3 kB / 0.5473 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.3061, allocations: 32.34 kB / 0.5473 GB, free: 14.47 MB / 378.7 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.0004226/0.3065, allocations: 325.9 kB / 0.5476 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3067, allocations: 71.94 kB / 0.5477 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.3093, allocations: 1.635 MB / 0.5493 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.3093, allocations: 24.05 kB / 0.5493 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3093, allocations: 1.469 kB / 0.5493 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3093, allocations: 4.688 kB / 0.5493 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.3135, allocations: 2.923 MB / 0.5522 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3135, allocations: 1.094 kB / 0.5522 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/0.3164, allocations: 0.6819 MB / 0.5528 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.3165, allocations: 32.77 kB / 0.5529 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.3165, allocations: 22.42 kB / 0.5529 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007673/0.3173, allocations: 1.474 MB / 0.5543 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3173, allocations: 3.062 kB / 0.5543 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/0.321, allocations: 2.611 MB / 0.5569 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3211, allocations: 134.8 kB / 0.557 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3212, allocations: 21.98 kB / 0.557 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.3218, allocations: 85.34 kB / 0.5571 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.322, allocations: 76.31 kB / 0.5572 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.322, allocations: 27.94 kB / 0.5572 GB, free: 9.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002749/0.3223, allocations: 276.9 kB / 0.5575 GB, free: 9.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3223, allocations: 0 / 0.5575 GB, free: 9.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008266/0.3232, allocations: 236.2 kB / 0.5577 GB, free: 9.242 MB / 378.7 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.0002717/0.3234, allocations: 185.2 kB / 0.5579 GB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.3276, allocations: 2.005 MB / 0.5598 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3276, allocations: 0 / 0.5598 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.3304, allocations: 1.35 MB / 0.5612 GB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.3312, allocations: 141 kB / 0.5613 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.335, allocations: 3.119 MB / 0.5643 GB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3355, allocations: 1.08 MB / 0.5654 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006477/0.3361, allocations: 261.5 kB / 0.5656 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3363, allocations: 63.42 kB / 0.5657 GB, free: 3.262 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3363, allocations: 4 kB / 0.5657 GB, free: 3.258 MB / 378.7 MB Notification: Performance of Templates: time 0.01438/0.3507, allocations: 10.06 MB / 0.5755 GB, free: 9.242 MB / 394.7 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches