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.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.00107/0.00107, allocations: 78.66 kB / 21.42 MB, free: 3.078 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: 172.9 kB / 24.82 MB, free: 9.305 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3237/0.3237, allocations: 29.43 MB / 291.2 MB, free: 2.371 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|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=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.741e-05, allocations: 2.312 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007653/0.007681, allocations: 5.772 MB / 375.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.01148, allocations: 2.068 MB / 378 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.01207, allocations: 35.69 kB / 378 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01318, allocations: 374 kB / 378.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.01451, allocations: 0.575 MB / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.01548, allocations: 355.1 kB / 379.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01687, allocations: 1.317 MB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.01763, allocations: 0.5333 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.01878, allocations: 0.8068 MB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.01957, allocations: 0.6742 MB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.0197, allocations: 100 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.02071, allocations: 0.6083 MB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.02109, allocations: 0.491 MB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.02148, allocations: 383.2 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.02295, allocations: 1.153 MB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.02296, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.02296, allocations: 4 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.02298, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.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.001899/0.02488, allocations: 1.312 MB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.02494, allocations: 15.98 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/0.02568, allocations: 248.1 kB / 386.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.02642, allocations: 0.541 MB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.02666, allocations: 329.8 kB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.02681, allocations: 80.56 kB / 387.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.0278, allocations: 0.7892 MB / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.02782, allocations: 0 / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/0.02789, allocations: 32 kB / 388.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.02802, allocations: 73.97 kB / 388.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/0.02867, allocations: 457.4 kB / 389.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.03287, allocations: 3.545 MB / 392.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.03366, allocations: 0.5105 MB / 393.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.03402, allocations: 273.9 kB / 393.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.4e-05/0.03408, allocations: 20.66 kB / 393.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.03412, allocations: 46.05 kB / 393.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 4.168e-06/0.03413, allocations: 0 / 393.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.002767/0.03689, allocations: 1.484 MB / 395.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.03696, allocations: 90.05 kB / 395.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.03726, allocations: 398.3 kB / 395.5 MB, free: 0.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.03731, allocations: 37.7 kB / 395.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.03753, allocations: 407.7 kB / 396 MB, free: 352 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.03778, allocations: 368.9 kB / 396.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.038, allocations: 180.2 kB / 396.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.03821, allocations: 0.5585 MB / 397.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.03841, allocations: 157.8 kB / 397.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.03874, allocations: 365.7 kB / 397.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.03934, allocations: 0.5604 MB / 398.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.03934, allocations: 0 / 398.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0009774/0.04032, allocations: 0.7073 MB / 398.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.04034, allocations: 8 kB / 398.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.04036, allocations: 4 kB / 398.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.04051, allocations: 40.12 kB / 398.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.04151, allocations: 379.4 kB / 399.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.04543, allocations: 7.477 MB / 406.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.04593, allocations: 31.98 kB / 406.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.04599, allocations: 36.09 kB / 406.8 MB, free: 4.891 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.0003666/0.04636, allocations: 200.4 kB / 407 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.04655, allocations: 103.6 kB / 407.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/0.04748, allocations: 0.6879 MB / 407.8 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.0475, allocations: 32 kB / 407.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.04751, allocations: 0 / 407.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.04752, allocations: 3.984 kB / 407.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.04947, allocations: 1.418 MB / 409.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.04948, allocations: 8 kB / 409.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.05056, allocations: 407.4 kB / 409.7 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.291e-05/0.05066, allocations: 39.58 kB / 409.7 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.0507, allocations: 20 kB / 409.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009866/0.05169, allocations: 1.981 MB / 411.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.05169, allocations: 4 kB / 411.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.05298, allocations: 1.08 MB / 412.8 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.05308, allocations: 67.5 kB / 412.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.05314, allocations: 16 kB / 412.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.05338, allocations: 40.02 kB / 412.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.05351, allocations: 68.53 kB / 413 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.05355, allocations: 16 kB / 413 MB, free: 14.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.05371, allocations: 239 kB / 413.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05371, allocations: 0 / 413.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007902/0.0545, allocations: 239.9 kB / 413.5 MB, free: 13.99 MB / 394.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.0002981/0.0548, allocations: 170.9 kB / 413.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.05623, allocations: 0.9205 MB / 414.5 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.05623, allocations: 0 / 414.5 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.05717, allocations: 0.6756 MB / 415.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.05771, allocations: 133 kB / 415.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.06091, allocations: 1.97 MB / 417.3 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.06113, allocations: 251.9 kB / 417.6 MB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.06152, allocations: 89.33 kB / 417.7 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.06186, allocations: 206.1 kB / 417.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/0.06186, allocations: 0 / 417.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of Templates: time 0.01652/0.07838, allocations: 10.79 MB / 428.6 MB, free: 14.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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.86967232869938]