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.0009774/0.0009774, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001155/0.001155, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9942/0.9942, allocations: 177.2 MB / 205 MB, free: 5.301 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.2533/0.2533, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.824e-06/1.824e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.869e-05, allocations: 2.312 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005758/0.005787, allocations: 5.83 MB / 375.5 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.008668, allocations: 2.091 MB / 377.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.009028, allocations: 31.75 kB / 377.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.009873, allocations: 381.9 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.01105, allocations: 0.5712 MB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.0118, allocations: 359 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01298, allocations: 1.317 MB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009124/0.0139, allocations: 0.5255 MB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.01505, allocations: 0.8146 MB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.0158, allocations: 0.678 MB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.01597, allocations: 100 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.01684, allocations: 0.6044 MB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.01723, allocations: 0.491 MB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.01757, allocations: 383.2 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.01879, allocations: 1.149 MB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.0188, allocations: 0 / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.0188, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.01882, allocations: 0 / 385 MB, free: 11.62 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.001938/0.02076, allocations: 1.41 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.0208, allocations: 15.98 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/0.02147, allocations: 268.1 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.02215, allocations: 0.5723 MB / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.0226, allocations: 325.8 kB / 387.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.02273, allocations: 88.48 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.02379, allocations: 0.8597 MB / 388.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.02382, allocations: 4 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.02388, allocations: 35.97 kB / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.024, allocations: 81.95 kB / 388.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.02486, allocations: 0.5658 MB / 389.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.02851, allocations: 3.778 MB / 393 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.02934, allocations: 0.577 MB / 393.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.02977, allocations: 329.9 kB / 393.8 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.02982, allocations: 12.66 kB / 393.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.02985, allocations: 50.05 kB / 393.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 2.194e-06/0.02985, allocations: 0 / 393.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.00297/0.03282, allocations: 1.897 MB / 395.8 MB, free: 416 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.03287, allocations: 86.11 kB / 395.9 MB, free: 308 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.03314, allocations: 386.6 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.03319, allocations: 41.7 kB / 396.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.03335, allocations: 403.8 kB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.03356, allocations: 368.8 kB / 397.1 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.03375, allocations: 168.3 kB / 397.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.0339, allocations: 0.5625 MB / 397.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.0342, allocations: 201.9 kB / 398 MB, free: 14.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.03458, allocations: 413.8 kB / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.0353, allocations: 0.6504 MB / 399 MB, free: 12.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.0353, allocations: 0 / 399 MB, free: 12.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001048/0.03635, allocations: 0.8168 MB / 399.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.03637, allocations: 8 kB / 399.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.03637, allocations: 4 kB / 399.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.0365, allocations: 27.67 kB / 399.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.03757, allocations: 423.6 kB / 400.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.04141, allocations: 7.553 MB / 407.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.04178, allocations: 71.91 kB / 407.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.04184, allocations: 39.97 kB / 408 MB, free: 3.543 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.000239/0.04208, allocations: 204.3 kB / 408.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.04224, allocations: 107.6 kB / 408.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.04351, allocations: 0.7778 MB / 409.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.04354, allocations: 24 kB / 409.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.04354, allocations: 0 / 409.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.04355, allocations: 7.922 kB / 409.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.04557, allocations: 1.644 MB / 410.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.04558, allocations: 4 kB / 410.7 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.04673, allocations: 447.6 kB / 411.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.04683, allocations: 39.61 kB / 411.2 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.04688, allocations: 19.98 kB / 411.2 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000825/0.04771, allocations: 2.004 MB / 413.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.04771, allocations: 4 kB / 413.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.04912, allocations: 1.229 MB / 414.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.0492, allocations: 59.58 kB / 414.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.04926, allocations: 16 kB / 414.5 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.04953, allocations: 63.91 kB / 414.6 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.04968, allocations: 92.38 kB / 414.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.04973, allocations: 28 kB / 414.7 MB, free: 12.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.04991, allocations: 255.1 kB / 415 MB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04991, allocations: 0 / 415 MB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.05068, allocations: 235.9 kB / 415.2 MB, free: 12.04 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.0002917/0.05097, allocations: 162.9 kB / 415.4 MB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.05284, allocations: 1.006 MB / 416.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.05285, allocations: 0.5625 kB / 416.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.05387, allocations: 0.7182 MB / 417.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.05441, allocations: 133 kB / 417.2 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.05746, allocations: 2.012 MB / 419.2 MB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.05765, allocations: 255.9 kB / 419.5 MB, free: 7.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.05803, allocations: 189.1 kB / 419.7 MB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.0582, allocations: 60.48 kB / 419.7 MB, free: 7.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.0582, allocations: 0 / 419.7 MB, free: 7.375 MB / 394.7 MB Notification: Performance of Templates: time 0.0138/0.072, allocations: 10.55 MB / 430.3 MB, free: 12.95 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.509496580809355]