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.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.0007748/0.0007748, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003377/0.003377, allocations: 157.1 kB / 24.7 MB, free: 9.406 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.8595/0.8595, 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.2103/0.2103, allocations: 29.4 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.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 1.313e-06/1.313e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.514e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.004729/0.004744, allocations: 6.173 MB / 437.7 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.006878, allocations: 1.815 MB / 439.5 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.007139, allocations: 35.69 kB / 439.5 MB, free: 5.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.007881, allocations: 449.7 kB / 439.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.008419, allocations: 429.3 kB / 440.4 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.008995, allocations: 370.9 kB / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007127/0.009707, allocations: 1.055 MB / 441.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.01012, allocations: 424.5 kB / 442.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.01068, allocations: 0.6076 MB / 442.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.01117, allocations: 0.5494 MB / 443.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.01124, allocations: 68 kB / 443.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.01156, allocations: 259.5 kB / 443.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.0118, allocations: 398.9 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.01199, allocations: 291.3 kB / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.144/0.156, allocations: 1.081 MB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.156, allocations: 3.125 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.156, allocations: 0.6562 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.156, allocations: 2.562 kB / 445.4 MB, free: 45.38 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001163/0.1571, allocations: 1.059 MB / 446.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1572, allocations: 14.7 kB / 446.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.1576, allocations: 168 kB / 446.7 MB, free: 44.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.1582, allocations: 0.5424 MB / 447.2 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1582, allocations: 48.7 kB / 447.3 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1583, allocations: 71.33 kB / 447.3 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.1591, allocations: 1.01 MB / 448.3 MB, free: 44.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1592, allocations: 5.125 kB / 448.3 MB, free: 44.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1592, allocations: 32.47 kB / 448.4 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.681e-05/0.1593, allocations: 69.95 kB / 448.4 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/0.1601, allocations: 0.9725 MB / 449.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1623, allocations: 2.937 MB / 452.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.163, allocations: 0.6375 MB / 453 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.1633, allocations: 380.3 kB / 453.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.1634, allocations: 10.09 kB / 453.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1634, allocations: 47.09 kB / 453.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.1634, allocations: 0 / 453.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.002044/0.1654, allocations: 2.214 MB / 455.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1655, allocations: 90.81 kB / 455.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1657, allocations: 425.2 kB / 456.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1657, allocations: 36.98 kB / 456.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.1658, allocations: 368.7 kB / 456.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.1659, allocations: 277 kB / 456.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.166, allocations: 153.7 kB / 457 MB, free: 41.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.166, allocations: 375.1 kB / 457.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1663, allocations: 343 kB / 457.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.1666, allocations: 0.5225 MB / 458.2 MB, free: 40.55 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.1691, allocations: 2.163 MB / 460.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1691, allocations: 2.969 kB / 460.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009052/0.17, allocations: 1.018 MB / 461.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.17, allocations: 9.25 kB / 461.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.17, allocations: 6.25 kB / 461.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.1701, allocations: 41.52 kB / 461.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.1705, allocations: 191.5 kB / 461.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006122/0.1711, allocations: 1.374 MB / 463 MB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1713, allocations: 34.72 kB / 463 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.1713, allocations: 37.09 kB / 463 MB, free: 38.08 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[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.0002236/0.1716, allocations: 275.2 kB / 463.3 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.1716, allocations: 69.73 kB / 463.4 MB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.1724, allocations: 0.8997 MB / 464.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.1724, allocations: 12.41 kB / 464.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1724, allocations: 3.156 kB / 464.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1724, allocations: 3.375 kB / 464.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.1739, allocations: 1.749 MB / 466 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1739, allocations: 6.438 kB / 466.1 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.1742, allocations: 161.3 kB / 466.2 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.443e-05/0.1743, allocations: 37 kB / 466.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1743, allocations: 21.28 kB / 466.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004118/0.1747, allocations: 1.367 MB / 467.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1747, allocations: 7.375 kB / 467.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.1757, allocations: 1.436 MB / 469.1 MB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1757, allocations: 64.44 kB / 469.1 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.1758, allocations: 20.69 kB / 469.2 MB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1759, allocations: 42.81 kB / 469.2 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.176, allocations: 67.75 kB / 469.3 MB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.176, allocations: 23.31 kB / 469.3 MB, free: 34.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.1762, allocations: 278.3 kB / 469.6 MB, free: 34.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1762, allocations: 0 / 469.6 MB, free: 34.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003819/0.1765, allocations: 190.1 kB / 469.8 MB, free: 34.41 MB / 410.7 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.0001693/0.1767, allocations: 158.9 kB / 469.9 MB, free: 34.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.1775, allocations: 0.9056 MB / 470.8 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1775, allocations: 3.312 kB / 470.8 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1778, allocations: 0.4933 MB / 471.3 MB, free: 33.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1782, allocations: 135 kB / 471.4 MB, free: 33.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1797, allocations: 1.9 MB / 473.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.18, allocations: 416.8 kB / 473.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1801, allocations: 60.88 kB / 473.8 MB, free: 32.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1801, allocations: 0 / 473.8 MB, free: 32.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01064/0.1907, allocations: 12.42 MB / 486.2 MB, free: 31.54 MB / 410.7 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: 6.1137737687677145]