Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.001321/0.001321, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.002064/0.002064, allocations: 169.2 kB / 24.91 MB, free: 9.207 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.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2521/0.2521, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.685e-05, allocations: 7.672 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005663/0.00569, allocations: 5.293 MB / 322.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.008714, allocations: 1.434 MB / 323.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.009146, allocations: 35.69 kB / 323.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.00964, allocations: 138.9 kB / 323.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007949/0.01043, allocations: 389.7 kB / 324.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.01095, allocations: 195.5 kB / 324.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.01182, allocations: 0.9495 MB / 325.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.01209, allocations: 173.2 kB / 325.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.01294, allocations: 0.6077 MB / 326 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.01343, allocations: 378.9 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.0135, allocations: 48 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.01358, allocations: 44 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.01381, allocations: 287.2 kB / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.01403, allocations: 211.5 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.01467, allocations: 490.2 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.01468, allocations: 4 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01468, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01469, allocations: 0 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001231/0.01592, allocations: 0.8278 MB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.01596, allocations: 11.98 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.01609, allocations: 80.88 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.01678, allocations: 447.2 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.01681, allocations: 45.38 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.01689, allocations: 52.38 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.01741, allocations: 418.9 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01743, allocations: 3.938 kB / 329.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.01747, allocations: 20 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-05/0.01756, allocations: 21 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.01786, allocations: 169.6 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.0201, allocations: 1.57 MB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.02053, allocations: 299.3 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.02085, allocations: 182.2 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.02088, allocations: 15.95 kB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.02091, allocations: 38.56 kB / 331.6 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 3.256e-06/0.02092, allocations: 0 / 331.6 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.00229/0.02321, allocations: 1.045 MB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.02325, allocations: 85.23 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.02352, allocations: 359.1 kB / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.02355, allocations: 37.64 kB / 333.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.02368, allocations: 253.9 kB / 333.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.02379, allocations: 170.5 kB / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.02391, allocations: 86.3 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02402, allocations: 362.7 kB / 334 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.02412, allocations: 60.11 kB / 334.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.02427, allocations: 163.9 kB / 334.2 MB, free: 14.25 MB / 314.7 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.02489, allocations: 448.3 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02489, allocations: 3.938 kB / 334.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005191/0.02541, allocations: 353.9 kB / 335 MB, free: 13.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.02543, allocations: 8 kB / 335 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.02544, allocations: 4 kB / 335 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.02574, allocations: 92.31 kB / 335.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.02604, allocations: 104 kB / 335.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.02764, allocations: 1.804 MB / 337 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.02784, allocations: 12 kB / 337 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.02787, allocations: 16 kB / 337 MB, free: 11.28 MB / 314.7 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.02806, allocations: 160.4 kB / 337.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.02813, allocations: 35.97 kB / 337.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.02892, allocations: 347.2 kB / 337.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.02893, allocations: 11.94 kB / 337.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.02893, allocations: 8 kB / 337.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.02894, allocations: 3.984 kB / 337.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.03009, allocations: 0.8441 MB / 338.4 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.0301, allocations: 0 / 338.4 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.03033, allocations: 67.91 kB / 338.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.03062, allocations: 102.5 kB / 338.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.03065, allocations: 16 kB / 338.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.03222, allocations: 1.817 MB / 340.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.03223, allocations: 7.938 kB / 340.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.0329, allocations: 0.5475 MB / 341 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.03296, allocations: 43.67 kB / 341 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.03301, allocations: 15.98 kB / 341.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.03316, allocations: 12 kB / 341.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.03323, allocations: 39.88 kB / 341.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.03325, allocations: 15.98 kB / 341.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.03339, allocations: 144.7 kB / 341.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03339, allocations: 0 / 341.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005608/0.03395, allocations: 144 kB / 341.4 MB, free: 6.707 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (meterDC.pav,meterAC.pav,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 (40): * Single equations (assignments): 38 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.03409, allocations: 96.28 kB / 341.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.03471, allocations: 431.4 kB / 341.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.03473, allocations: 4 kB / 341.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.03511, allocations: 324.4 kB / 342.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.03566, allocations: 131.8 kB / 342.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.03774, allocations: 1.085 MB / 343.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.03791, allocations: 173.9 kB / 343.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000213/0.03812, allocations: 60.67 kB / 343.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.03837, allocations: 149.3 kB / 343.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.03837, allocations: 4 kB / 343.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of Templates: time 0.01266/0.05103, allocations: 7.184 MB / 351 MB, free: 13.13 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.361313204281032]