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.001289/0.001289, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001117/0.001117, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2738/0.2738, allocations: 29.42 MB / 291.2 MB, free: 2.512 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.843e-06/1.843e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.783e-05, allocations: 5.266 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006286/0.006324, allocations: 6.36 MB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.008799, allocations: 1.398 MB / 377.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.009209, allocations: 31.69 kB / 377.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.009704, allocations: 146.9 kB / 377.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008292/0.01053, allocations: 429.4 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.01102, allocations: 191.6 kB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.01206, allocations: 1.11 MB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.0124, allocations: 217.1 kB / 379.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009754/0.01338, allocations: 0.6349 MB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.01407, allocations: 0.5183 MB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.01416, allocations: 68 kB / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.01426, allocations: 64 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.01452, allocations: 335.2 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.01478, allocations: 259.5 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.01553, allocations: 0.5762 MB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01553, allocations: 0 / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01553, allocations: 0 / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.01555, allocations: 0 / 381.9 MB, free: 14.99 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001353/0.0169, allocations: 1.051 MB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.01695, allocations: 19.97 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.01711, allocations: 120.5 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.01777, allocations: 0.5099 MB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.01792, allocations: 224.1 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.01799, allocations: 52.33 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.01873, allocations: 0.5332 MB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.01874, allocations: 4 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.01878, allocations: 20 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.01887, allocations: 36.97 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.01933, allocations: 285.6 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.02167, allocations: 2.38 MB / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.02231, allocations: 432.6 kB / 387.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.02254, allocations: 185.3 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.02257, allocations: 8.5 kB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.0226, allocations: 53.81 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.073e-06/0.0226, allocations: 0 / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001804/0.02441, allocations: 1.08 MB / 388.9 MB, free: 7.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.02445, allocations: 85.55 kB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.02474, allocations: 394.6 kB / 389.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.02477, allocations: 37.7 kB / 389.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.02494, allocations: 347.6 kB / 389.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.02504, allocations: 178.5 kB / 389.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02515, allocations: 107.9 kB / 390 MB, free: 6.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.0253, allocations: 0.5313 MB / 390.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.02545, allocations: 93.25 kB / 390.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.02567, allocations: 242.9 kB / 390.9 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.02618, allocations: 353.7 kB / 391.2 MB, free: 5.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02618, allocations: 4 kB / 391.2 MB, free: 5.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005853/0.02677, allocations: 476.6 kB / 391.7 MB, free: 4.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.02678, allocations: 12 kB / 391.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.02679, allocations: 4 kB / 391.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.02699, allocations: 55.28 kB / 391.8 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.02762, allocations: 243.7 kB / 392 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.03077, allocations: 7.441 MB / 399.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.03102, allocations: 35.97 kB / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.03104, allocations: 16 kB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001792/0.03122, allocations: 192.4 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.0313, allocations: 67.66 kB / 399.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.03187, allocations: 434.2 kB / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.03187, allocations: 4 kB / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.03188, allocations: 4 kB / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.03188, allocations: 3.984 kB / 400.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.03308, allocations: 1.042 MB / 401.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.03308, allocations: 0 / 401.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.03375, allocations: 259.8 kB / 401.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.03392, allocations: 75.25 kB / 401.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.03395, allocations: 15.98 kB / 401.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.03534, allocations: 3.74 MB / 405.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.03534, allocations: 3.938 kB / 405.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.03616, allocations: 0.7275 MB / 406 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.03621, allocations: 43.67 kB / 406.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.03625, allocations: 20.06 kB / 406.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.03642, allocations: 35.95 kB / 406.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.03651, allocations: 47.86 kB / 406.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.03654, allocations: 19.98 kB / 406.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.0367, allocations: 255.1 kB / 406.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0367, allocations: 0 / 406.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.03722, allocations: 144 kB / 406.6 MB, free: 4.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001465/0.03736, allocations: 115.1 kB / 406.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.03851, allocations: 0.7989 MB / 407.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03851, allocations: 0 / 407.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.03932, allocations: 0.653 MB / 408.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.03984, allocations: 127.6 kB / 408.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.0423, allocations: 1.336 MB / 409.6 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.04244, allocations: 177.8 kB / 409.8 MB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.04269, allocations: 96.47 kB / 409.9 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.04279, allocations: 52.48 kB / 409.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.0428, allocations: 0 / 409.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of Templates: time 0.009636/0.05243, allocations: 7.436 MB / 417.4 MB, free: 10.08 MB / 394.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.2044505779631436]