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.001455/0.001455, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009353/0.0009353, allocations: 168.5 kB / 25.61 MB, free: 8.582 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.9535/0.9535, allocations: 177.1 MB / 206 MB, free: 4.477 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.1351/0.1351, allocations: 29.42 MB / 292 MB, free: 2.629 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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|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.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.183e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005353/0.005384, allocations: 5.773 MB / 376.7 MB, free: 26.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.007918, allocations: 1.854 MB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.008285, allocations: 39.69 kB / 378.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.009184, allocations: 342.1 kB / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.009794, allocations: 429.4 kB / 379.3 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.01047, allocations: 359.1 kB / 379.7 MB, free: 23.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.01127, allocations: 1.051 MB / 380.7 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.01171, allocations: 424.4 kB / 381.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.01238, allocations: 0.6663 MB / 381.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.01281, allocations: 0.5143 MB / 382.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.01287, allocations: 64 kB / 382.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.01324, allocations: 267.5 kB / 382.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.01345, allocations: 395 kB / 383 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.01363, allocations: 291.3 kB / 383.3 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.0143, allocations: 0.8175 MB / 384.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0143, allocations: 0 / 384.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0143, allocations: 0 / 384.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.01431, allocations: 0 / 384.1 MB, free: 19.03 MB / 314.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.001048/0.01536, allocations: 1.124 MB / 385.2 MB, free: 17.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.01539, allocations: 12.03 kB / 385.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.01591, allocations: 212.2 kB / 385.5 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.01636, allocations: 0.4979 MB / 386 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.01639, allocations: 49.62 kB / 386 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.01649, allocations: 80.48 kB / 386.1 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.01696, allocations: 0.612 MB / 386.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.01698, allocations: 0 / 386.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.01702, allocations: 24 kB / 386.7 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.01712, allocations: 73.94 kB / 386.8 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.01748, allocations: 345.6 kB / 387.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.01947, allocations: 2.936 MB / 390.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.01984, allocations: 341.9 kB / 390.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.02, allocations: 169.7 kB / 390.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.02004, allocations: 12.5 kB / 390.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.02006, allocations: 45.88 kB / 390.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.02006, allocations: 0 / 390.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001531/0.02159, allocations: 1.107 MB / 391.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.02162, allocations: 85.77 kB / 391.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.02183, allocations: 454.2 kB / 392.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.02186, allocations: 41.83 kB / 392.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.02198, allocations: 423.1 kB / 392.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.02208, allocations: 277.6 kB / 393 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02219, allocations: 156.2 kB / 393.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.02226, allocations: 0.5585 MB / 393.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.02236, allocations: 101.9 kB / 393.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.02253, allocations: 374.9 kB / 394.2 MB, free: 8.512 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.02318, allocations: 0.798 MB / 395 MB, free: 7.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02318, allocations: 0 / 395 MB, free: 7.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005577/0.02374, allocations: 0.6152 MB / 395.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02375, allocations: 4.719 kB / 395.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.02376, allocations: 12 kB / 395.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-05/0.02386, allocations: 43.59 kB / 395.6 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.02419, allocations: 159.8 kB / 395.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005157/0.02471, allocations: 1.764 MB / 397.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.02488, allocations: 20 kB / 397.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.02492, allocations: 32.02 kB / 397.6 MB, free: 4.84 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[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.0001462/0.02507, allocations: 208.3 kB / 397.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.02516, allocations: 87.61 kB / 397.9 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.02564, allocations: 0.4995 MB / 398.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.02565, allocations: 16 kB / 398.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.02566, allocations: 3.984 kB / 398.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.02567, allocations: 4 kB / 398.4 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02685, allocations: 1.388 MB / 399.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.02686, allocations: 4 kB / 399.8 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.02714, allocations: 135.8 kB / 399.9 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.99e-05/0.0272, allocations: 28.23 kB / 400 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.02722, allocations: 35.98 kB / 400 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004081/0.02763, allocations: 1.756 MB / 401.8 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02763, allocations: 4 kB / 401.8 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.02837, allocations: 0.9358 MB / 402.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.02843, allocations: 63.55 kB / 402.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.02848, allocations: 24 kB / 402.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.02863, allocations: 12 kB / 402.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.02869, allocations: 68.22 kB / 402.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.02872, allocations: 23.98 kB / 402.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.02885, allocations: 263 kB / 403.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02885, allocations: 0 / 403.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004486/0.0293, allocations: 195.9 kB / 403.3 MB, free: 14.73 MB / 330.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.0001966/0.0295, allocations: 158.9 kB / 403.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006011/0.0301, allocations: 0.6111 MB / 404.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.0301, allocations: 0 / 404.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.03039, allocations: 415.8 kB / 404.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.03087, allocations: 135.5 kB / 404.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.03284, allocations: 1.665 MB / 406.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.03298, allocations: 223.3 kB / 406.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000223/0.0332, allocations: 89.27 kB / 406.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.03345, allocations: 206.1 kB / 406.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03345, allocations: 0 / 406.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01092/0.04438, allocations: 8.579 MB / 415.4 MB, free: 2.641 MB / 330.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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.3009232645854354]