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.001158/0.001158, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001074/0.001074, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9805/0.9805, allocations: 177.1 MB / 205 MB, free: 5.613 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.2749/0.2749, allocations: 29.41 MB / 290.9 MB, free: 2.43 MB / 266.7 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.[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.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.94e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005397/0.005426, allocations: 5.802 MB / 375.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.007807, allocations: 1.873 MB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.008123, allocations: 39.69 kB / 377.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.008798, allocations: 210.6 kB / 377.6 MB, free: 3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.009358, allocations: 425.5 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.009928, allocations: 371 kB / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.01063, allocations: 1.055 MB / 379.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.01106, allocations: 408.6 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.01163, allocations: 0.6077 MB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.01213, allocations: 0.5494 MB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.01221, allocations: 68 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.01255, allocations: 263.5 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.01279, allocations: 391 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.01301, allocations: 299.3 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.0137, allocations: 0.8292 MB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.0137, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0137, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.01371, allocations: 4 kB / 382.8 MB, free: 13.76 MB / 362.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.0013/0.01501, allocations: 1.164 MB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01505, allocations: 15.98 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.01564, allocations: 240.1 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.01629, allocations: 0.5615 MB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01632, allocations: 45.67 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.01643, allocations: 72.56 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.01714, allocations: 0.6784 MB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01716, allocations: 0 / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.0172, allocations: 20 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.01731, allocations: 73.95 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.01791, allocations: 451.5 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.02053, allocations: 2.987 MB / 389.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.02105, allocations: 384.8 kB / 389.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.02131, allocations: 204.5 kB / 389.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.02135, allocations: 16.48 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.02138, allocations: 45.83 kB / 389.7 MB, free: 6.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 1.834e-06/0.02138, allocations: 0 / 389.7 MB, free: 6.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001872/0.02325, allocations: 1.431 MB / 391.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.02329, allocations: 85.77 kB / 391.2 MB, free: 4.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.02359, allocations: 458.4 kB / 391.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.02362, allocations: 37.7 kB / 391.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.02379, allocations: 419.2 kB / 392.1 MB, free: 4.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.02393, allocations: 269.7 kB / 392.4 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.02408, allocations: 164.2 kB / 392.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.02423, allocations: 0.5508 MB / 393.1 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.02443, allocations: 133.9 kB / 393.2 MB, free: 2.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.02473, allocations: 403 kB / 393.6 MB, free: 2.449 MB / 362.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.001006/0.02574, allocations: 0.9185 MB / 394.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02574, allocations: 4 kB / 394.5 MB, free: 1.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00078/0.02652, allocations: 0.69 MB / 395.2 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.02654, allocations: 8 kB / 395.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.02655, allocations: 4 kB / 395.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.02666, allocations: 35.67 kB / 395.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.02709, allocations: 187.7 kB / 395.4 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008457/0.02794, allocations: 1.791 MB / 397.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.02813, allocations: 35.97 kB / 397.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.02818, allocations: 32 kB / 397.3 MB, free: 14.51 MB / 378.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.0001567/0.02833, allocations: 200.4 kB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.02844, allocations: 91.58 kB / 397.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.02911, allocations: 0.5698 MB / 398.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.02913, allocations: 20.08 kB / 398.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02913, allocations: 0 / 398.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.02914, allocations: 7.969 kB / 398.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.0307, allocations: 1.471 MB / 399.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.03071, allocations: 8.062 kB / 399.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.03105, allocations: 147.8 kB / 399.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.481e-05/0.03112, allocations: 39.66 kB / 399.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.03116, allocations: 16 kB / 399.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007286/0.03188, allocations: 1.779 MB / 401.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.03189, allocations: 11.94 kB / 401.7 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.03281, allocations: 1.006 MB / 402.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.03287, allocations: 67.55 kB / 402.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.03291, allocations: 19.94 kB / 402.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.03315, allocations: 31.97 kB / 402.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.03321, allocations: 64.27 kB / 402.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.03324, allocations: 28.14 kB / 402.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.03341, allocations: 287 kB / 403.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03341, allocations: 0 / 403.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000408/0.03382, allocations: 180 kB / 403.3 MB, free: 8.117 MB / 378.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.0001965/0.03401, allocations: 158.9 kB / 403.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.03471, allocations: 0.6653 MB / 404.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03472, allocations: 1.438 kB / 404.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.03518, allocations: 438.8 kB / 404.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.03566, allocations: 141.8 kB / 404.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.03767, allocations: 1.684 MB / 406.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.03783, allocations: 223.2 kB / 406.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.03812, allocations: 169.1 kB / 406.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.03824, allocations: 60.48 kB / 406.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03824, allocations: 0 / 406.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01157/0.04982, allocations: 7.827 MB / 414.7 MB, free: 12.7 MB / 394.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.439454719889909]