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.001536/0.001536, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001709/0.001709, allocations: 164 kB / 23.95 MB, free: 4.148 MB / 14.72 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.395/1.395, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1715/0.1715, allocations: 29.45 MB / 290.1 MB, free: 3.27 MB / 270.1 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 1.563e-06/1.563e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.534e-05, allocations: 6.219 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008335/0.008361, allocations: 6.374 MB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.01196, allocations: 2.017 MB / 439.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.01222, allocations: 31.75 kB / 439.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.01371, allocations: 0.5092 MB / 439.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.01492, allocations: 0.5867 MB / 440.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.01579, allocations: 359 kB / 440.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.01729, allocations: 1.329 MB / 441.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/0.01807, allocations: 0.5217 MB / 442.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.01911, allocations: 0.7597 MB / 443.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.02014, allocations: 0.7054 MB / 443.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.02031, allocations: 104 kB / 444 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.02137, allocations: 0.6044 MB / 444.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.02188, allocations: 0.5027 MB / 445.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.02238, allocations: 387.2 kB / 445.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.02433, allocations: 1.64 MB / 447.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02433, allocations: 0 / 447.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02433, allocations: 0 / 447.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.02435, allocations: 0 / 447.1 MB, free: 1.441 MB / 366.1 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.003052/0.0274, allocations: 1.314 MB / 448.4 MB, free: 96 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.02744, allocations: 19.86 kB / 448.5 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1676/0.1951, allocations: 171.7 kB / 448.6 MB, free: 30.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.1964, allocations: 0.6155 MB / 449.2 MB, free: 30.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.1966, allocations: 339 kB / 449.6 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.1968, allocations: 83.44 kB / 449.7 MB, free: 29.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.199, allocations: 1.408 MB / 451.1 MB, free: 29.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.199, allocations: 5.406 kB / 451.1 MB, free: 29.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.1991, allocations: 30.03 kB / 451.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.1993, allocations: 89.61 kB / 451.2 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.2017, allocations: 1.511 MB / 452.7 MB, free: 28.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005767/0.2075, allocations: 4.027 MB / 456.7 MB, free: 26.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.2096, allocations: 1.113 MB / 457.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.2108, allocations: 0.7067 MB / 458.5 MB, free: 26.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.2108, allocations: 10.91 kB / 458.6 MB, free: 26.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2108, allocations: 48.25 kB / 458.6 MB, free: 26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.915e-06/0.2108, allocations: 0 / 458.6 MB, free: 26 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006251/0.2171, allocations: 3.644 MB / 462.2 MB, free: 24.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2171, allocations: 87.59 kB / 462.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.2174, allocations: 364.2 kB / 462.7 MB, free: 24.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.2175, allocations: 37.11 kB / 462.7 MB, free: 24.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2177, allocations: 351.4 kB / 463.1 MB, free: 23.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2178, allocations: 365.7 kB / 463.4 MB, free: 23.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.2181, allocations: 165.3 kB / 463.6 MB, free: 23.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2182, allocations: 381 kB / 464 MB, free: 23.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.2192, allocations: 0.5899 MB / 464.6 MB, free: 23.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.2202, allocations: 0.7386 MB / 465.3 MB, free: 22.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.2223, allocations: 1.387 MB / 466.7 MB, free: 22.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2223, allocations: 5.156 kB / 466.7 MB, free: 22.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002616/0.2249, allocations: 1.518 MB / 468.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.225, allocations: 11.25 kB / 468.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.225, allocations: 7.406 kB / 468.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.2251, allocations: 43.06 kB / 468.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.2276, allocations: 499.9 kB / 468.7 MB, free: 21.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.2325, allocations: 6.173 MB / 474.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.2332, allocations: 78.83 kB / 475 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.2333, allocations: 35.36 kB / 475 MB, free: 15.89 MB / 366.1 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.0004237/0.2337, allocations: 320.9 kB / 475.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.2339, allocations: 68.39 kB / 475.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.2364, allocations: 1.507 MB / 476.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/0.2364, allocations: 27.05 kB / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2364, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2364, allocations: 3.984 kB / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.24, allocations: 2.567 MB / 479.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.24, allocations: 0 / 479.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/0.2426, allocations: 0.5307 MB / 480 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.2427, allocations: 36.84 kB / 480.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.2428, allocations: 23.98 kB / 480.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006692/0.2435, allocations: 1.498 MB / 481.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2435, allocations: 0 / 481.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.2466, allocations: 2.46 MB / 484.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.2467, allocations: 63.56 kB / 484.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2468, allocations: 16 kB / 484.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.2473, allocations: 75.78 kB / 484.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.2475, allocations: 88.44 kB / 484.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.2476, allocations: 24 kB / 484.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.2478, allocations: 239.2 kB / 484.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2478, allocations: 0 / 484.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000749/0.2485, allocations: 239.9 kB / 484.8 MB, free: 6.949 MB / 366.1 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.0002653/0.2488, allocations: 166.2 kB / 485 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.2524, allocations: 1.763 MB / 486.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2524, allocations: 0 / 486.7 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.255, allocations: 1.135 MB / 487.9 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.2557, allocations: 118.4 kB / 488 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.2594, allocations: 2.441 MB / 490.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2597, allocations: 490.1 kB / 490.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.2602, allocations: 265.1 kB / 491.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.2605, allocations: 60.48 kB / 491.2 MB, free: 460 kB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2605, allocations: 0 / 491.2 MB, free: 460 kB / 366.1 MB Notification: Performance of Templates: time 0.01808/0.2785, allocations: 10.01 MB / 0.4895 GB, free: 6.578 MB / 382.1 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: 4.961906045675278]