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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 98.56 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1729/0.1729, allocations: 38.02 MB / 355.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000989/0.000989, allocations: 59.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3114, allocations: 55.23 MB / 477.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01048/0.3219, allocations: 7.522 MB / 484.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.3274, allocations: 2.443 MB / 487.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.3282, allocations: 40.38 kB / 487.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.3298, allocations: 486.4 kB / 487.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.3314, allocations: 0.5174 MB / 488.1 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3325, allocations: 317.1 kB / 488.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.3354, allocations: 1.85 MB / 490.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.3366, allocations: 0.6368 MB / 490.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3377, allocations: 471.2 kB / 491.4 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3391, allocations: 0.7458 MB / 492.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.3393, allocations: 62.28 kB / 492.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.3412, allocations: 0.6122 MB / 492.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009275/0.3422, allocations: 437.4 kB / 493.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008969/0.3431, allocations: 497.2 kB / 493.7 MB, free: 372 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.3457, allocations: 1.483 MB / 495.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3457, allocations: 0 / 495.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3458, allocations: 0 / 495.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.3458, allocations: 0 / 495.2 MB, free: 15.79 MB / 330.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.00414/0.3499, allocations: 1.374 MB / 496.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.35, allocations: 9.188 kB / 496.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.3508, allocations: 134.9 kB / 496.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.3524, allocations: 0.6635 MB / 497.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.3527, allocations: 171.9 kB / 497.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.353, allocations: 86.7 kB / 497.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.3556, allocations: 1.407 MB / 499 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.3557, allocations: 5.094 kB / 499 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.3558, allocations: 31 kB / 499 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/0.356, allocations: 82.97 kB / 499.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.3589, allocations: 1.524 MB / 0.4889 GB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008087/0.367, allocations: 4.443 MB / 0.4933 GB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.3695, allocations: 1.188 MB / 0.4944 GB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.3709, allocations: 0.7789 MB / 0.4952 GB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.371, allocations: 13.86 kB / 0.4952 GB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.371, allocations: 46.97 kB / 0.4952 GB, free: 8.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 4.098e-06/0.371, allocations: 0 / 0.4952 GB, free: 8.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=102): time 0.007075/0.3781, allocations: 3.852 MB / 0.499 GB, free: 4.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3782, allocations: 90.11 kB / 0.4991 GB, free: 4.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.3787, allocations: 401.9 kB / 0.4995 GB, free: 4.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.3787, allocations: 41.7 kB / 0.4995 GB, free: 4.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.379, allocations: 344.2 kB / 0.4998 GB, free: 3.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.3793, allocations: 354.8 kB / 0.5002 GB, free: 3.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.3796, allocations: 166.7 kB / 0.5003 GB, free: 3.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3797, allocations: 370.8 kB / 0.5007 GB, free: 2.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3808, allocations: 0.5914 MB / 0.5013 GB, free: 2.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.382, allocations: 0.7425 MB / 0.502 GB, free: 1.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3843, allocations: 1.391 MB / 0.5033 GB, free: 92 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3843, allocations: 0 / 0.5033 GB, free: 92 kB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00285/0.3872, allocations: 1.6 MB / 0.5049 GB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3872, allocations: 8 kB / 0.5049 GB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.3872, allocations: 4 kB / 0.5049 GB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.3874, allocations: 48.95 kB / 0.505 GB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.3899, allocations: 499.3 kB / 0.5054 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/0.3967, allocations: 6.188 MB / 0.5115 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3978, allocations: 83.8 kB / 0.5116 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.3981, allocations: 32 kB / 0.5116 GB, free: 7.082 MB / 346.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.001088/0.3992, allocations: 321.4 kB / 0.5119 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/0.3996, allocations: 71.27 kB / 0.512 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.4031, allocations: 1.592 MB / 0.5135 GB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/0.4032, allocations: 23.98 kB / 0.5135 GB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4032, allocations: 4 kB / 0.5135 GB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4032, allocations: 3.984 kB / 0.5136 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/0.4087, allocations: 2.873 MB / 0.5164 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4087, allocations: 4 kB / 0.5164 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/0.4117, allocations: 0.5307 MB / 0.5169 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.4118, allocations: 32.84 kB / 0.5169 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.4119, allocations: 23.98 kB / 0.5169 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4132, allocations: 1.474 MB / 0.5184 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4132, allocations: 4.031 kB / 0.5184 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/0.4379, allocations: 13.19 MB / 0.5313 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4382, allocations: 136.2 kB / 0.5314 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.4384, allocations: 20 kB / 0.5314 GB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/0.4392, allocations: 71.89 kB / 0.5315 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.4395, allocations: 80.48 kB / 0.5315 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.4396, allocations: 27.94 kB / 0.5316 GB, free: 1.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.44, allocations: 279.1 kB / 0.5318 GB, free: 1.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.44, allocations: 0 / 0.5318 GB, free: 1.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001682/0.4417, allocations: 320 kB / 0.5321 GB, free: 1.332 MB / 362.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.0004745/0.4422, allocations: 183 kB / 0.5323 GB, free: 1.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005093/0.4473, allocations: 1.826 MB / 0.5341 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4473, allocations: 0 / 0.5341 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.4506, allocations: 1.19 MB / 0.5353 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4518, allocations: 142.1 kB / 0.5354 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.4596, allocations: 3.716 MB / 0.539 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.461, allocations: 1.103 MB / 0.5401 GB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001328/0.4623, allocations: 301.5 kB / 0.5404 GB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.4628, allocations: 67.42 kB / 0.5405 GB, free: 8.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4628, allocations: 0 / 0.5405 GB, free: 8.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02521/0.488, allocations: 13.24 MB / 0.5534 GB, free: 11.44 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@2/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