Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1878/0.1878, allocations: 38.53 MB / 342.5 MB, free: 8.094 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 59.31 kB / 479.1 MB, free: 33.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1416, allocations: 61.25 MB / 0.5277 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008961/0.1506, allocations: 6.549 MB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1545, allocations: 1.893 MB / 0.5359 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.155, allocations: 27.81 kB / 0.536 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.1565, allocations: 457.7 kB / 0.5364 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1576, allocations: 417.9 kB / 0.5368 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1587, allocations: 355.2 kB / 0.5371 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.16, allocations: 1.032 MB / 0.5382 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.1606, allocations: 408.5 kB / 0.5385 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.1614, allocations: 470.1 kB / 0.539 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009438/0.1623, allocations: 0.6074 MB / 0.5396 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1624, allocations: 64 kB / 0.5396 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.163, allocations: 271.6 kB / 0.5399 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.1634, allocations: 379 kB / 0.5403 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.1639, allocations: 421.9 kB / 0.5407 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1653, allocations: 1.047 MB / 0.5417 GB, free: 2.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1653, allocations: 4 kB / 0.5417 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1653, allocations: 0 / 0.5417 GB, free: 2.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1653, allocations: 3.938 kB / 0.5417 GB, free: 2.516 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002417/0.1678, allocations: 1.135 MB / 0.5428 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1678, allocations: 15.89 kB / 0.5428 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.1686, allocations: 128.3 kB / 0.5429 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1698, allocations: 0.6199 MB / 0.5435 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.1699, allocations: 45.69 kB / 0.5436 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.1701, allocations: 80.06 kB / 0.5437 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1718, allocations: 1.014 MB / 0.5447 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.1718, allocations: 0 / 0.5447 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.1719, allocations: 20 kB / 0.5447 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/0.1721, allocations: 77.95 kB / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.1737, allocations: 0.9836 MB / 0.5457 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/0.1789, allocations: 3.264 MB / 0.5489 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.18, allocations: 0.6365 MB / 0.5495 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.1807, allocations: 391.4 kB / 0.5499 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.1807, allocations: 12.56 kB / 0.5499 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.1808, allocations: 39.12 kB / 0.5499 GB, free: 9.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.486e-06/0.1808, allocations: 0 / 0.5499 GB, free: 9.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004452/0.1852, allocations: 2.457 MB / 0.5523 GB, free: 7.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.1853, allocations: 85.67 kB / 0.5524 GB, free: 7.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.1858, allocations: 437.8 kB / 0.5528 GB, free: 6.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.1859, allocations: 37.7 kB / 0.5529 GB, free: 6.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.1862, allocations: 368.4 kB / 0.5532 GB, free: 6.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.1864, allocations: 273.7 kB / 0.5535 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.1866, allocations: 150.6 kB / 0.5536 GB, free: 5.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1869, allocations: 378.7 kB / 0.554 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.1874, allocations: 341.7 kB / 0.5543 GB, free: 5.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1881, allocations: 0.5186 MB / 0.5548 GB, free: 4.559 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005426/0.1935, allocations: 2.238 MB / 0.557 GB, free: 2.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1935, allocations: 0 / 0.557 GB, free: 2.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001879/0.1954, allocations: 1.11 MB / 0.5581 GB, free: 1.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1954, allocations: 8 kB / 0.5581 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.1955, allocations: 4 kB / 0.5581 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.1956, allocations: 44.83 kB / 0.5582 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.1964, allocations: 191.6 kB / 0.5583 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.1979, allocations: 1.492 MB / 0.5598 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.1984, allocations: 39.97 kB / 0.5598 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.1985, allocations: 32 kB / 0.5599 GB, free: 15.14 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0004539/0.1989, allocations: 281.5 kB / 0.5601 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.1991, allocations: 71.56 kB / 0.5602 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.2008, allocations: 0.9661 MB / 0.5611 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.2008, allocations: 15.98 kB / 0.5612 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2008, allocations: 4 kB / 0.5612 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.2008, allocations: 7.938 kB / 0.5612 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.2044, allocations: 1.997 MB / 0.5631 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.2044, allocations: 4 kB / 0.5631 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.2051, allocations: 155.7 kB / 0.5633 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.2053, allocations: 41.53 kB / 0.5633 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.2053, allocations: 23.98 kB / 0.5633 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.2072, allocations: 1.5 MB / 0.5648 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.2072, allocations: 7.938 kB / 0.5648 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.2096, allocations: 1.529 MB / 0.5663 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.2097, allocations: 136.8 kB / 0.5664 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.2098, allocations: 27.98 kB / 0.5665 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.2102, allocations: 27.97 kB / 0.5665 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2103, allocations: 60.38 kB / 0.5665 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.2104, allocations: 31.92 kB / 0.5666 GB, free: 7.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.2108, allocations: 303.1 kB / 0.5669 GB, free: 7.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 0 / 0.5669 GB, free: 7.539 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007985/0.2116, allocations: 191.9 kB / 0.567 GB, free: 7.352 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (75): * Single equations (assignments): 71 * Array equations: 2 * 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.000319/0.2119, allocations: 167 kB / 0.5672 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.2136, allocations: 0.8987 MB / 0.5681 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2136, allocations: 1.438 kB / 0.5681 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.2144, allocations: 0.4945 MB / 0.5686 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.2153, allocations: 146.5 kB / 0.5687 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.2186, allocations: 1.995 MB / 0.5707 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/0.2194, allocations: 1.016 MB / 0.5716 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.22, allocations: 205.4 kB / 0.5718 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2202, allocations: 55.42 kB / 0.5719 GB, free: 2.242 MB / 430.1 MB Notification: Performance of SimCode: time 1.793e-06/0.2202, allocations: 0 / 0.5719 GB, free: 2.242 MB / 430.1 MB Notification: Performance of Templates: time 0.01864/0.2388, allocations: 8.379 MB / 0.5801 GB, free: 9.918 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.501126961782575]