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.0009318/0.0009318, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001207/0.001207, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2629/0.2629, allocations: 29.42 MB / 291.2 MB, free: 2.438 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 1.503e-06/1.503e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.121e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007002/0.007024, allocations: 5.855 MB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.01031, allocations: 1.885 MB / 324.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.01074, allocations: 35.69 kB / 324.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.01166, allocations: 346 kB / 325 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000825/0.01248, allocations: 425.4 kB / 325.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.01332, allocations: 359 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.01602, allocations: 1.048 MB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.01669, allocations: 450.5 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.01786, allocations: 0.6663 MB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.0186, allocations: 0.4948 MB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.01871, allocations: 64 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006646/0.01937, allocations: 279.4 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.01973, allocations: 395 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.02009, allocations: 291.3 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.02116, allocations: 0.8176 MB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02117, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02117, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.02119, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.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.001478/0.02267, allocations: 0.9723 MB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.0227, allocations: 15.98 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.02348, allocations: 188.6 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.02418, allocations: 491 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.02422, allocations: 49.67 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.02449, allocations: 76.44 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.02533, allocations: 0.5949 MB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.02536, allocations: 3.984 kB / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.02541, allocations: 28 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.02555, allocations: 65.95 kB / 332.7 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.02614, allocations: 324.5 kB / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.02927, allocations: 2.34 MB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.03005, allocations: 347.2 kB / 335.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.03029, allocations: 152.9 kB / 335.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.03033, allocations: 20.42 kB / 335.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.03036, allocations: 47 kB / 335.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/0.03037, allocations: 0 / 335.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001834/0.0322, allocations: 0.9939 MB / 336.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.03224, allocations: 85.77 kB / 337 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.03252, allocations: 387 kB / 337.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.03256, allocations: 33.7 kB / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.03272, allocations: 321.4 kB / 337.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.03289, allocations: 273.6 kB / 338 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.03306, allocations: 138.5 kB / 338.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.03318, allocations: 382.6 kB / 338.5 MB, free: 10 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.03334, allocations: 100.8 kB / 338.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.0336, allocations: 283.1 kB / 338.9 MB, free: 9.555 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.0009516/0.03455, allocations: 0.7052 MB / 339.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.03456, allocations: 0 / 339.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000717/0.03527, allocations: 486.7 kB / 340 MB, free: 8.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.03529, allocations: 8 kB / 340.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.03531, allocations: 8 kB / 340.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.03541, allocations: 32.83 kB / 340.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.03602, allocations: 191.9 kB / 340.3 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008056/0.03682, allocations: 1.234 MB / 341.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.03709, allocations: 20 kB / 341.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.03715, allocations: 31.98 kB / 341.6 MB, free: 6.672 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.000213/0.03736, allocations: 156.4 kB / 341.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.03749, allocations: 63.97 kB / 341.8 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.03815, allocations: 428.8 kB / 342.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.03817, allocations: 12 kB / 342.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.03818, allocations: 3.938 kB / 342.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.03819, allocations: 7.984 kB / 342.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.04019, allocations: 1.168 MB / 343.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.0402, allocations: 4 kB / 343.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.04069, allocations: 151.7 kB / 343.5 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.987e-05/0.04077, allocations: 28.84 kB / 343.6 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.04082, allocations: 31.92 kB / 343.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007193/0.04154, allocations: 1.237 MB / 344.8 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.04154, allocations: 4 kB / 344.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.04243, allocations: 0.7751 MB / 345.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.0425, allocations: 63.61 kB / 345.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.04257, allocations: 27.98 kB / 345.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.04279, allocations: 12 kB / 345.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.04289, allocations: 64.28 kB / 345.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.04293, allocations: 27.92 kB / 345.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.04307, allocations: 152.7 kB / 346 MB, free: 1.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04307, allocations: 0 / 346 MB, free: 1.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005976/0.04367, allocations: 176 kB / 346.1 MB, free: 1.809 MB / 314.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.0002201/0.04389, allocations: 136.1 kB / 346.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.04462, allocations: 0.5125 MB / 346.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.04463, allocations: 11.94 kB / 346.8 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.04499, allocations: 332.2 kB / 347.1 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.04547, allocations: 148.5 kB / 347.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.04732, allocations: 1.516 MB / 348.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.04747, allocations: 219.3 kB / 349 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.04771, allocations: 97.27 kB / 349.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.04798, allocations: 177.3 kB / 349.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.04798, allocations: 0 / 349.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of Templates: time 0.0132/0.06118, allocations: 8.419 MB / 357.7 MB, free: 6.246 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 -s gbode -gbm=radauIIA3 -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.176387446001172]