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.001161/0.001161, allocations: 72.19 kB / 9.929 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002083/0.003244, allocations: 453.6 kB / 10.37 MB, free: 324 kB / 10.45 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.001395/0.001395, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.00306, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9382/0.9382, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08316/1.021, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1651/0.1651, allocations: 29.44 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1316/0.2966, allocations: 9.531 MB / 283 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.373e-06/1.373e-06, allocations: 3.938 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.053e-05, allocations: 5.766 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007288/0.007309, allocations: 5.882 MB / 290.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.01096, allocations: 1.922 MB / 292 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.01155, allocations: 42.34 kB / 292.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.01264, allocations: 413.4 kB / 292.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.0138, allocations: 440.9 kB / 292.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.01491, allocations: 362.2 kB / 293.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.01651, allocations: 1.071 MB / 294.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.0171, allocations: 415.1 kB / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009735/0.01808, allocations: 0.7025 MB / 295.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.01862, allocations: 0.5065 MB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.01869, allocations: 64 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.01916, allocations: 263.6 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.0194, allocations: 355.1 kB / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.01962, allocations: 235.5 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.02038, allocations: 0.7435 MB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.02039, allocations: 0 / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02039, allocations: 0 / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.02041, allocations: 0 / 297.6 MB, free: 1.398 MB / 282.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.001246/0.02166, allocations: 1.148 MB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.02169, allocations: 12.03 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.02226, allocations: 261.8 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.02276, allocations: 498.9 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.02279, allocations: 49.67 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.02289, allocations: 68.52 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.02345, allocations: 0.6027 MB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.02347, allocations: 3.938 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.02351, allocations: 31.98 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-05/0.02361, allocations: 69.95 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.02399, allocations: 320.5 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.02612, allocations: 2.336 MB / 303 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.02652, allocations: 348.9 kB / 303.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.02668, allocations: 151.1 kB / 303.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.02672, allocations: 12.5 kB / 303.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.02675, allocations: 43.06 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 3.006e-06/0.02675, allocations: 0 / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001398/0.02815, allocations: 0.9938 MB / 304.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.02819, allocations: 89.7 kB / 304.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.02839, allocations: 387 kB / 305 MB, free: 9.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.02842, allocations: 33.7 kB / 305 MB, free: 9.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.02855, allocations: 321.4 kB / 305.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.02866, allocations: 269.6 kB / 305.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.02879, allocations: 150.6 kB / 305.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.02888, allocations: 378.6 kB / 306.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.02899, allocations: 96.78 kB / 306.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.02918, allocations: 287 kB / 306.5 MB, free: 8.121 MB / 298.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.0006657/0.02985, allocations: 0.7175 MB / 307.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.02985, allocations: 0 / 307.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005118/0.03036, allocations: 486.4 kB / 307.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.03038, allocations: 10.03 kB / 307.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.03039, allocations: 8 kB / 307.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-05/0.03048, allocations: 33.38 kB / 307.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.03092, allocations: 206.1 kB / 307.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006173/0.03154, allocations: 1.234 MB / 309.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.03173, allocations: 20 kB / 309.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.03176, allocations: 23.98 kB / 309.2 MB, free: 5.223 MB / 298.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.0001686/0.03193, allocations: 160.5 kB / 309.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.03202, allocations: 67.94 kB / 309.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.03249, allocations: 420.9 kB / 309.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.0325, allocations: 15.98 kB / 309.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.03251, allocations: 4 kB / 309.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.03251, allocations: 3.984 kB / 309.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.03371, allocations: 1.163 MB / 311 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.03372, allocations: 4 kB / 311 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.03409, allocations: 170 kB / 311.2 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.03414, allocations: 59.56 kB / 311.2 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-05/0.0342, allocations: 37.39 kB / 311.3 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.03424, allocations: 20 kB / 311.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000543/0.03478, allocations: 1.221 MB / 312.5 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.03478, allocations: 11.94 kB / 312.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.03544, allocations: 0.7752 MB / 313.3 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.03549, allocations: 24.14 kB / 313.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.03565, allocations: 12 kB / 313.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.03571, allocations: 72.2 kB / 313.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.03574, allocations: 31.98 kB / 313.4 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.03584, allocations: 152.7 kB / 313.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03584, allocations: 0 / 313.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.03627, allocations: 187.9 kB / 313.8 MB, free: 352 kB / 298.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.0001909/0.03646, allocations: 136.1 kB / 313.9 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.03703, allocations: 0.5194 MB / 314.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.03705, allocations: 12 kB / 314.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.03729, allocations: 333.7 kB / 314.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.03777, allocations: 207.4 kB / 315 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/0.04632, allocations: 1.553 MB / 316.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.04651, allocations: 223.3 kB / 316.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.04685, allocations: 97.25 kB / 316.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.04712, allocations: 177.3 kB / 317 MB, free: 12.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04712, allocations: 0 / 317 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Templates: time 0.01151/0.05863, allocations: 8.637 MB / 325.6 MB, free: 4.465 MB / 314.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 -ignoreHideResult -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: 2.9436144893988967]