Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2641/0.2641, allocations: 29.42 MB / 291.2 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.167e-05, allocations: 2.969 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005388/0.00541, allocations: 5.291 MB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.007184, allocations: 1.43 MB / 323.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.00741, allocations: 35.69 kB / 323.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.007826, allocations: 135 kB / 323.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.008332, allocations: 421.5 kB / 324.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.008643, allocations: 199.5 kB / 324.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007458/0.009389, allocations: 1.121 MB / 325.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.009653, allocations: 223.1 kB / 325.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.01029, allocations: 0.6781 MB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.01075, allocations: 462.8 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.01081, allocations: 64 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-05/0.01089, allocations: 56 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.01109, allocations: 323.2 kB / 327.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01128, allocations: 251.5 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.01173, allocations: 0.5567 MB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.01173, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01173, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.01174, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001344/0.01308, allocations: 0.8712 MB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01312, allocations: 11.98 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.01323, allocations: 88.88 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.01369, allocations: 427.4 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.01384, allocations: 220.1 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.01391, allocations: 60.31 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.01439, allocations: 0.4915 MB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.0144, allocations: 0 / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.01444, allocations: 20 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/0.0145, allocations: 28.94 kB / 330.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.01478, allocations: 201.6 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.01643, allocations: 1.742 MB / 332.2 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.0169, allocations: 392.7 kB / 332.6 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.01706, allocations: 146.5 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.01709, allocations: 16.48 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.01712, allocations: 43.06 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.01712, allocations: 0 / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008614/0.01798, allocations: 492.3 kB / 333.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.01802, allocations: 85.55 kB / 333.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.01821, allocations: 327.2 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01824, allocations: 37.7 kB / 333.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01835, allocations: 258 kB / 333.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.848e-05/0.01845, allocations: 178.4 kB / 334.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.01854, allocations: 94.25 kB / 334.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01865, allocations: 362.6 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.01874, allocations: 68.11 kB / 334.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.01887, allocations: 165.9 kB / 334.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.01912, allocations: 281.6 kB / 335.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01913, allocations: 0 / 335.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003822/0.01951, allocations: 329.8 kB / 335.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01952, allocations: 8 kB / 335.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01953, allocations: 7.938 kB / 335.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.01972, allocations: 40.52 kB / 335.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.02078, allocations: 243.8 kB / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.02409, allocations: 5.155 MB / 340.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.02425, allocations: 59.55 kB / 340.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02427, allocations: 16 kB / 340.9 MB, free: 7.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.02442, allocations: 148.7 kB / 341.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.02448, allocations: 43.91 kB / 341.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.02487, allocations: 320.4 kB / 341.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.02488, allocations: 7.984 kB / 341.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02488, allocations: 7.938 kB / 341.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.02489, allocations: 0 / 341.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.0258, allocations: 0.8594 MB / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.0258, allocations: 0 / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.0264, allocations: 247.8 kB / 342.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.02655, allocations: 56.48 kB / 342.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.02658, allocations: 12 kB / 342.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.02811, allocations: 2.636 MB / 345.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.02811, allocations: 4 kB / 345.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.02866, allocations: 0.5825 MB / 345.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.0287, allocations: 43.66 kB / 345.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.02874, allocations: 12 kB / 345.9 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.02886, allocations: 15.98 kB / 345.9 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.02894, allocations: 47.86 kB / 345.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.02896, allocations: 15.98 kB / 345.9 MB, free: 1.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.02905, allocations: 124.7 kB / 346.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02905, allocations: 0 / 346.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.02944, allocations: 183.7 kB / 346.2 MB, free: 1.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.02959, allocations: 92.28 kB / 346.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.03048, allocations: 0.6144 MB / 347 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.03048, allocations: 4 kB / 347 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.03112, allocations: 0.5029 MB / 347.5 MB, free: 172 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.03153, allocations: 134 kB / 347.6 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.03359, allocations: 1.237 MB / 348.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.03372, allocations: 185.8 kB / 349 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.03387, allocations: 64.53 kB / 349.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.0341, allocations: 153.2 kB / 349.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0341, allocations: 0 / 349.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01084/0.04493, allocations: 7.928 MB / 357.1 MB, free: 6.547 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.210411740001291]