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.001074/0.001074, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004211/0.004211, allocations: 164 kB / 24.7 MB, free: 8.891 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 0.8336/0.8336, allocations: 177.1 MB / 205 MB, free: 5.742 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.24/0.24, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.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.172e-06/1.172e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.686e-05, allocations: 6.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004949/0.004975, allocations: 5.787 MB / 437.3 MB, free: 7.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.00668, allocations: 1.379 MB / 438.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.006965, allocations: 35.69 kB / 438.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.007398, allocations: 138.8 kB / 438.8 MB, free: 5.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006198/0.008018, allocations: 401.6 kB / 439.2 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.008368, allocations: 203.4 kB / 439.4 MB, free: 5.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.008972, allocations: 0.9419 MB / 440.3 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.009199, allocations: 167.2 kB / 440.5 MB, free: 4.008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/0.009705, allocations: 0.5452 MB / 441.1 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.01011, allocations: 438.8 kB / 441.5 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.01016, allocations: 48 kB / 441.5 MB, free: 2.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.01022, allocations: 48 kB / 441.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.01038, allocations: 275.3 kB / 441.8 MB, free: 2.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.01053, allocations: 223.4 kB / 442.1 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.01104, allocations: 0.6775 MB / 442.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01104, allocations: 0 / 442.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01104, allocations: 0 / 442.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.01105, allocations: 0 / 442.7 MB, free: 1.77 MB / 410.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.001277/0.01233, allocations: 0.896 MB / 443.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01236, allocations: 11.98 kB / 443.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.01244, allocations: 72.47 kB / 443.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.01306, allocations: 0.4884 MB / 444.2 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.01309, allocations: 37.38 kB / 444.2 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.01314, allocations: 48.38 kB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1436/0.1567, allocations: 0.6267 MB / 444.9 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1568, allocations: 0 / 444.9 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.1568, allocations: 21.81 kB / 444.9 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-05/0.1569, allocations: 33.09 kB / 445 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.1573, allocations: 0.5038 MB / 445.5 MB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.159, allocations: 1.998 MB / 447.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1594, allocations: 460.6 kB / 447.9 MB, free: 53.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.1598, allocations: 325.3 kB / 448.2 MB, free: 53.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1598, allocations: 7.906 kB / 448.2 MB, free: 53.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.1598, allocations: 47.47 kB / 448.3 MB, free: 53.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.463e-06/0.1598, allocations: 0 / 448.3 MB, free: 53.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.001802/0.1616, allocations: 1.596 MB / 449.9 MB, free: 52.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1617, allocations: 83.61 kB / 450 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1619, allocations: 404.5 kB / 450.4 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1619, allocations: 36.95 kB / 450.4 MB, free: 52.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.162, allocations: 296.7 kB / 450.7 MB, free: 52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.162, allocations: 168.1 kB / 450.9 MB, free: 51.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.1621, allocations: 96.67 kB / 450.9 MB, free: 51.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.1622, allocations: 361.1 kB / 451.3 MB, free: 51.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1623, allocations: 186.1 kB / 451.5 MB, free: 51.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1625, allocations: 311.4 kB / 451.8 MB, free: 51.24 MB / 410.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.001288/0.1638, allocations: 1.168 MB / 453 MB, free: 50.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1638, allocations: 0 / 453 MB, free: 50.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000577/0.1644, allocations: 0.7017 MB / 453.7 MB, free: 50.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1644, allocations: 6.594 kB / 453.7 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1644, allocations: 6.562 kB / 453.7 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.1646, allocations: 140.5 kB / 453.8 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1648, allocations: 109.1 kB / 453.9 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.1662, allocations: 2.47 MB / 456.4 MB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1663, allocations: 24.62 kB / 456.4 MB, free: 48.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1664, allocations: 27.83 kB / 456.4 MB, free: 48.66 MB / 410.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: 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 (54): * Single equations (assignments): 53 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.1665, allocations: 224.4 kB / 456.7 MB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1666, allocations: 46.89 kB / 456.7 MB, free: 48.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.1671, allocations: 0.65 MB / 457.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1671, allocations: 6.25 kB / 457.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1671, allocations: 0 / 457.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1671, allocations: 10.33 kB / 457.4 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.1681, allocations: 1.17 MB / 458.5 MB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1681, allocations: 4.094 kB / 458.5 MB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1683, allocations: 79.12 kB / 458.6 MB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.1685, allocations: 150.6 kB / 458.8 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1685, allocations: 10.56 kB / 458.8 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.1698, allocations: 2.471 MB / 461.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1698, allocations: 3.469 kB / 461.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.1705, allocations: 0.9864 MB / 462.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1705, allocations: 43.3 kB / 462.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1705, allocations: 14.2 kB / 462.3 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1706, allocations: 20.98 kB / 462.3 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1707, allocations: 44.06 kB / 462.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1707, allocations: 16.36 kB / 462.4 MB, free: 45.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1708, allocations: 275.6 kB / 462.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1708, allocations: 0 / 462.6 MB, free: 45.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.1712, allocations: 144.1 kB / 462.8 MB, free: 45.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 39 * 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.0001016/0.1713, allocations: 110.6 kB / 462.9 MB, free: 44.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006135/0.1719, allocations: 0.6328 MB / 463.5 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1719, allocations: 4.25 kB / 463.5 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.1722, allocations: 428.6 kB / 463.9 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1727, allocations: 125.6 kB / 464.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1738, allocations: 1.292 MB / 465.4 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.174, allocations: 326.1 kB / 465.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.174, allocations: 52.67 kB / 465.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.174, allocations: 0 / 465.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of Templates: time 0.006453/0.1805, allocations: 9.357 MB / 475.1 MB, free: 42.87 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.105328782461584]