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.001629/0.001629, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001889/0.001889, allocations: 163.8 kB / 23.95 MB, free: 4.168 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.1708/0.1708, allocations: 29.43 MB / 290.1 MB, free: 3.301 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.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.343e-06/1.343e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.363e-05, allocations: 2.281 kB / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007903/0.007927, allocations: 6.196 MB / 436.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.01118, allocations: 1.803 MB / 438.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.01146, allocations: 43.62 kB / 438.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.01275, allocations: 433.8 kB / 439.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008/0.01355, allocations: 433.4 kB / 439.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.01443, allocations: 370.9 kB / 440 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.0156, allocations: 1.052 MB / 441 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.01623, allocations: 420.5 kB / 441.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.01712, allocations: 0.6154 MB / 442 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008161/0.01793, allocations: 0.5455 MB / 442.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.01805, allocations: 68 kB / 442.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.01859, allocations: 259.5 kB / 442.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.01899, allocations: 402.9 kB / 443.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.01936, allocations: 287.3 kB / 443.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.02063, allocations: 1.09 MB / 444.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.02063, allocations: 0 / 444.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02063, allocations: 0 / 444.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.02065, allocations: 0 / 444.7 MB, free: 3.941 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002125/0.02277, allocations: 1.067 MB / 445.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.02281, allocations: 15.92 kB / 445.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.0237, allocations: 172.2 kB / 445.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.02478, allocations: 0.5355 MB / 446.5 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.02483, allocations: 45.69 kB / 446.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.02501, allocations: 76.53 kB / 446.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.02661, allocations: 1.014 MB / 447.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.02664, allocations: 3.953 kB / 447.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.02671, allocations: 24 kB / 447.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.02693, allocations: 77.94 kB / 447.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1745/0.2014, allocations: 0.9746 MB / 448.7 MB, free: 30.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.2056, allocations: 2.931 MB / 451.6 MB, free: 28.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009608/0.2066, allocations: 0.6366 MB / 452.2 MB, free: 28.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.2072, allocations: 383.9 kB / 452.6 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.2072, allocations: 15.88 kB / 452.6 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2072, allocations: 40.28 kB / 452.7 MB, free: 28.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.2072, allocations: 0 / 452.7 MB, free: 28.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003492/0.2107, allocations: 2.219 MB / 454.9 MB, free: 27.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2108, allocations: 85.86 kB / 455 MB, free: 27.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.2112, allocations: 429 kB / 455.4 MB, free: 26.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.2113, allocations: 36.67 kB / 455.4 MB, free: 26.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.2114, allocations: 374.5 kB / 455.8 MB, free: 26.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.2116, allocations: 263.5 kB / 456 MB, free: 26.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.2118, allocations: 148.8 kB / 456.2 MB, free: 26.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2119, allocations: 374.6 kB / 456.6 MB, free: 26.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.2123, allocations: 337.8 kB / 456.9 MB, free: 25.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.2129, allocations: 0.525 MB / 457.4 MB, free: 25.61 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/0.2178, allocations: 2.168 MB / 459.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2178, allocations: 2.375 kB / 459.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001608/0.2194, allocations: 1.028 MB / 460.6 MB, free: 24.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2194, allocations: 7.562 kB / 460.6 MB, free: 24.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2195, allocations: 7.75 kB / 460.6 MB, free: 24.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.2196, allocations: 41.08 kB / 460.7 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.2203, allocations: 186.5 kB / 460.8 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/0.2212, allocations: 1.37 MB / 462.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.2216, allocations: 35.67 kB / 462.2 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.2217, allocations: 33.78 kB / 462.3 MB, free: 23.09 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[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.0003483/0.222, allocations: 278.6 kB / 462.6 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.2222, allocations: 59.38 kB / 462.6 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2235, allocations: 0.9037 MB / 463.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.2235, allocations: 15.75 kB / 463.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2235, allocations: 4.75 kB / 463.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2236, allocations: 3.375 kB / 463.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.2264, allocations: 1.746 MB / 465.3 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2264, allocations: 4.438 kB / 465.3 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.227, allocations: 157.2 kB / 465.4 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.513e-05/0.2271, allocations: 43.47 kB / 465.5 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.2272, allocations: 20.22 kB / 465.5 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007242/0.2279, allocations: 1.367 MB / 466.9 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.2279, allocations: 8.75 kB / 466.9 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.2296, allocations: 1.442 MB / 468.3 MB, free: 19.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.2297, allocations: 69.22 kB / 468.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.2298, allocations: 25.23 kB / 468.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.2302, allocations: 31.59 kB / 468.4 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2303, allocations: 68.78 kB / 468.5 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.2303, allocations: 27.25 kB / 468.5 MB, free: 19.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.2306, allocations: 277.3 kB / 468.8 MB, free: 19.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2306, allocations: 0 / 468.8 MB, free: 19.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006954/0.2313, allocations: 194.6 kB / 469 MB, free: 19.34 MB / 366.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.0002417/0.2316, allocations: 152.2 kB / 469.1 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2329, allocations: 0.9044 MB / 470.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2329, allocations: 1.344 kB / 470.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.2334, allocations: 0.4928 MB / 470.5 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.2343, allocations: 139.4 kB / 470.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2367, allocations: 1.84 MB / 472.5 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2371, allocations: 425.6 kB / 472.9 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004852/0.2375, allocations: 200.2 kB / 473.1 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.2377, allocations: 59.45 kB / 473.2 MB, free: 17.39 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2377, allocations: 0 / 473.2 MB, free: 17.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.2503, allocations: 7.782 MB / 481 MB, free: 11.3 MB / 366.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: 4.811762735247612]