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.002059/0.002059, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.003005/0.003005, allocations: 165.7 kB / 24.27 MB, free: 148 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 1.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3075/0.3075, allocations: 29.42 MB / 290.5 MB, free: 2.438 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.851e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009684/0.009712, allocations: 6.399 MB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.01415, allocations: 2.009 MB / 377.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.01457, allocations: 31.75 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01616, allocations: 0.4936 MB / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.0178, allocations: 0.5828 MB / 378.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.01886, allocations: 378.9 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.02067, allocations: 1.321 MB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008925/0.02156, allocations: 0.5294 MB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.02285, allocations: 0.7519 MB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.02397, allocations: 0.7132 MB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.02415, allocations: 104 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.02532, allocations: 0.6005 MB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006022/0.02592, allocations: 0.4987 MB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005825/0.0265, allocations: 391.2 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.02908, allocations: 1.648 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02909, allocations: 0 / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.02909, allocations: 0 / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.02911, allocations: 0 / 385.3 MB, free: 10.81 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.003379/0.03249, allocations: 1.306 MB / 386.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.03253, allocations: 11.98 kB / 386.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.03367, allocations: 280 kB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.03517, allocations: 0.6457 MB / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.03555, allocations: 329.8 kB / 387.9 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.03577, allocations: 84.55 kB / 388 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.03843, allocations: 1.41 MB / 389.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.03846, allocations: 3.938 kB / 389.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.03857, allocations: 35.98 kB / 389.4 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.0388, allocations: 89.94 kB / 389.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.04192, allocations: 1.503 MB / 391 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008451/0.05037, allocations: 4.045 MB / 395 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.05294, allocations: 1.122 MB / 396.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.05441, allocations: 0.6992 MB / 396.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/0.05448, allocations: 20.66 kB / 396.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.05453, allocations: 47.09 kB / 396.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 3.046e-06/0.05453, allocations: 0 / 396.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.01029/0.06482, allocations: 3.681 MB / 400.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.06494, allocations: 86.11 kB / 400.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.06562, allocations: 361.5 kB / 401.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.06573, allocations: 37.7 kB / 401.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.06616, allocations: 349.1 kB / 401.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/0.0667, allocations: 364.8 kB / 401.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.06718, allocations: 162.6 kB / 401.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003285/0.06751, allocations: 378.8 kB / 402.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.06937, allocations: 0.5914 MB / 402.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.07141, allocations: 0.7424 MB / 403.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.07538, allocations: 1.383 MB / 405 MB, free: 6.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.07539, allocations: 0 / 405 MB, free: 6.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004982/0.08037, allocations: 1.568 MB / 406.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.08041, allocations: 8 kB / 406.6 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.08042, allocations: 0 / 406.6 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.08081, allocations: 49.02 kB / 406.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/0.08498, allocations: 0.4914 MB / 407.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.09864, allocations: 6.181 MB / 413.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.1001, allocations: 83.89 kB / 413.4 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.1003, allocations: 32 kB / 413.4 MB, free: 13.8 MB / 394.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.0009728/0.1013, allocations: 325.6 kB / 413.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007005/0.102, allocations: 103.7 kB / 413.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005907/0.1079, allocations: 1.509 MB / 415.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.523e-05/0.108, allocations: 31.98 kB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.108, allocations: 0 / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.108, allocations: 7.922 kB / 415.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009049/0.117, allocations: 2.551 MB / 418 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.117, allocations: 0 / 418 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005637/0.1227, allocations: 0.5307 MB / 418.5 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.1229, allocations: 40.83 kB / 418.5 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.123, allocations: 20 kB / 418.5 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.1255, allocations: 1.5 MB / 420 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.1255, allocations: 7.969 kB / 420.1 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008743/0.1343, allocations: 2.496 MB / 422.6 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.1345, allocations: 55.58 kB / 422.6 MB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.1347, allocations: 23.98 kB / 422.6 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.1359, allocations: 75.91 kB / 422.7 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.1363, allocations: 76.45 kB / 422.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.1364, allocations: 31.94 kB / 422.8 MB, free: 4.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000611/0.137, allocations: 239.2 kB / 423 MB, free: 3.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.137, allocations: 3.938 kB / 423 MB, free: 3.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001921/0.1389, allocations: 235.9 kB / 423.3 MB, free: 3.727 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.0007315/0.1397, allocations: 179.1 kB / 423.5 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008639/0.1483, allocations: 1.751 MB / 425.2 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.1483, allocations: 0 / 425.2 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006232/0.1546, allocations: 1.135 MB / 426.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.1562, allocations: 139.9 kB / 426.5 MB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.1664, allocations: 2.461 MB / 428.9 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.1675, allocations: 490.2 kB / 429.4 MB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001511/0.169, allocations: 261.1 kB / 429.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.1695, allocations: 60.48 kB / 429.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1695, allocations: 4 kB / 429.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of Templates: time 0.02614/0.1956, allocations: 10.05 MB / 439.8 MB, free: 3.227 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.42402330506593]