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.001286/0.001286, allocations: 84.55 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.001362/0.001362, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1689/0.1689, allocations: 29.44 MB / 290.1 MB, free: 3.277 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.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.623e-06/1.623e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.925e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007523/0.007553, allocations: 5.795 MB / 436.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.009979, allocations: 1.371 MB / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.01025, allocations: 35.69 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.01072, allocations: 142.8 kB / 438.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007807/0.01151, allocations: 401.6 kB / 438.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.01196, allocations: 191.5 kB / 438.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.01295, allocations: 0.9498 MB / 439.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.01322, allocations: 163.2 kB / 439.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007628/0.01399, allocations: 0.5452 MB / 440.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.01467, allocations: 438.8 kB / 440.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.01476, allocations: 48 kB / 440.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.01487, allocations: 48 kB / 440.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.01516, allocations: 279.2 kB / 441.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.01545, allocations: 219.4 kB / 441.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.01622, allocations: 0.6775 MB / 442 MB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.01623, allocations: 3.984 kB / 442 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01623, allocations: 0 / 442 MB, free: 6.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.01623, allocations: 0 / 442 MB, free: 6.617 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001695/0.01793, allocations: 0.8916 MB / 442.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.01797, allocations: 15.92 kB / 442.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01812, allocations: 76.47 kB / 443 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009534/0.01907, allocations: 0.4884 MB / 443.5 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.01911, allocations: 33.38 kB / 443.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.0192, allocations: 48.38 kB / 443.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.02016, allocations: 0.625 MB / 444.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.02017, allocations: 7.938 kB / 444.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.02022, allocations: 20 kB / 444.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.02036, allocations: 32.97 kB / 444.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.0212, allocations: 0.5074 MB / 444.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.02419, allocations: 1.992 MB / 446.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008371/0.02503, allocations: 465.2 kB / 447.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.02569, allocations: 317.6 kB / 447.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.02573, allocations: 4 kB / 447.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.02577, allocations: 42.5 kB / 447.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.02577, allocations: 0 / 447.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.1732/0.199, allocations: 1.602 MB / 449.1 MB, free: 30.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.199, allocations: 82.97 kB / 449.2 MB, free: 30.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.1995, allocations: 398.6 kB / 449.6 MB, free: 30.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1995, allocations: 36.64 kB / 449.6 MB, free: 30.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1997, allocations: 296 kB / 449.9 MB, free: 29.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1998, allocations: 174.5 kB / 450.1 MB, free: 29.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.2, allocations: 95.19 kB / 450.2 MB, free: 29.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.2001, allocations: 366.9 kB / 450.6 MB, free: 29.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.2003, allocations: 183.5 kB / 450.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.2007, allocations: 315.1 kB / 451 MB, free: 29.04 MB / 366.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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.2033, allocations: 1.167 MB / 452.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2033, allocations: 1.031 kB / 452.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001253/0.2045, allocations: 0.7022 MB / 452.9 MB, free: 28.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.2045, allocations: 7.781 kB / 452.9 MB, free: 28.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2045, allocations: 7.469 kB / 452.9 MB, free: 28.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.205, allocations: 137.8 kB / 453.1 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.2054, allocations: 108.3 kB / 453.2 MB, free: 28.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.208, allocations: 2.463 MB / 455.6 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.2083, allocations: 25.17 kB / 455.7 MB, free: 26.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2084, allocations: 20.91 kB / 455.7 MB, free: 26.48 MB / 366.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[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.0002823/0.2086, allocations: 222.2 kB / 455.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.2087, allocations: 49.66 kB / 455.9 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.2098, allocations: 0.6535 MB / 456.6 MB, free: 26.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2098, allocations: 6.297 kB / 456.6 MB, free: 26.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2098, allocations: 1.375 kB / 456.6 MB, free: 26.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2098, allocations: 3.391 kB / 456.6 MB, free: 26.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.212, allocations: 1.173 MB / 457.8 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.212, allocations: 5.469 kB / 457.8 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.2124, allocations: 71.08 kB / 457.8 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.2128, allocations: 152.5 kB / 458 MB, free: 25.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.2129, allocations: 20.17 kB / 458 MB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.2154, allocations: 2.472 MB / 460.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2154, allocations: 4.781 kB / 460.5 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.2169, allocations: 0.9733 MB / 461.5 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.217, allocations: 49.61 kB / 461.5 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.217, allocations: 18.08 kB / 461.5 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2173, allocations: 14.73 kB / 461.5 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2174, allocations: 46.12 kB / 461.6 MB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2174, allocations: 16.58 kB / 461.6 MB, free: 23.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.2177, allocations: 270.1 kB / 461.9 MB, free: 22.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2177, allocations: 1.375 kB / 461.9 MB, free: 22.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007974/0.2185, allocations: 143.8 kB / 462 MB, free: 22.92 MB / 366.1 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.0001516/0.2187, allocations: 113.3 kB / 462.1 MB, free: 22.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2199, allocations: 0.6381 MB / 462.8 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2199, allocations: 0 / 462.8 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.2205, allocations: 429.2 kB / 463.2 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.2212, allocations: 122.9 kB / 463.3 MB, free: 22.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.2231, allocations: 1.246 MB / 464.5 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.2234, allocations: 330.4 kB / 464.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.2237, allocations: 98.94 kB / 465 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2238, allocations: 40.95 kB / 465 MB, free: 21.47 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2238, allocations: 0 / 465 MB, free: 21.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01248/0.2363, allocations: 6.695 MB / 471.7 MB, free: 19.39 MB / 366.1 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: 4.709859948605299]