Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.00114/0.00114, allocations: 80.8 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.002966/0.002966, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2297/0.2297, allocations: 29.42 MB / 291.2 MB, free: 2.41 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.438e-05, allocations: 2.969 kB / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005728/0.005752, allocations: 5.34 MB / 322.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.007606, allocations: 1.434 MB / 323.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.007862, allocations: 35.69 kB / 323.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.008242, allocations: 134.9 kB / 323.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.008714, allocations: 393.6 kB / 324.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.009021, allocations: 195.5 kB / 324.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.009628, allocations: 0.9456 MB / 325.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.009857, allocations: 185.1 kB / 325.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.01045, allocations: 0.6039 MB / 326.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.01081, allocations: 378.9 kB / 326.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.01086, allocations: 44 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.01092, allocations: 44 kB / 326.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01109, allocations: 287.2 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01124, allocations: 215.5 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.01165, allocations: 494.2 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.01166, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01166, allocations: 0 / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01166, allocations: 3.938 kB / 327.6 MB, free: 5.191 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0008546/0.01252, allocations: 0.8163 MB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.01255, allocations: 15.98 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.01264, allocations: 76.88 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.01307, allocations: 451.2 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.0131, allocations: 41.38 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.01315, allocations: 48.38 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.01353, allocations: 418.9 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01354, allocations: 0 / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.01357, allocations: 20 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/0.01364, allocations: 21 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.01384, allocations: 169.6 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.01522, allocations: 1.57 MB / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.01561, allocations: 303.3 kB / 331.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.01592, allocations: 178.4 kB / 331.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.01595, allocations: 19.89 kB / 331.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.01598, allocations: 42.55 kB / 331.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.01598, allocations: 0 / 331.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.002278/0.01826, allocations: 1.044 MB / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.01831, allocations: 89.23 kB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.01857, allocations: 351.1 kB / 333.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.0186, allocations: 33.7 kB / 333.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.01873, allocations: 257.9 kB / 333.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.01884, allocations: 166.5 kB / 333.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01896, allocations: 90.3 kB / 333.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01908, allocations: 362.7 kB / 334.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.01918, allocations: 60.05 kB / 334.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01933, allocations: 167.9 kB / 334.3 MB, free: 14.12 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.01993, allocations: 448.3 kB / 334.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01993, allocations: 4 kB / 334.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005066/0.02044, allocations: 353.9 kB / 335.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.02045, allocations: 4 kB / 335.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.02046, allocations: 4 kB / 335.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.02073, allocations: 88.81 kB / 335.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.02105, allocations: 115.9 kB / 335.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.02265, allocations: 1.811 MB / 337.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.02284, allocations: 16 kB / 337.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.02287, allocations: 16 kB / 337.1 MB, free: 11.13 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.02305, allocations: 153.7 kB / 337.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.02314, allocations: 43.95 kB / 337.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.02367, allocations: 339.3 kB / 337.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.02368, allocations: 15.97 kB / 337.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.02368, allocations: 112 / 337.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.02369, allocations: 11.92 kB / 337.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.02487, allocations: 0.8363 MB / 338.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.02487, allocations: 4 kB / 338.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.02511, allocations: 75.83 kB / 338.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.02537, allocations: 106.5 kB / 338.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.0254, allocations: 15.98 kB / 338.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.02679, allocations: 1.813 MB / 340.5 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.02679, allocations: 4 kB / 340.5 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.02738, allocations: 0.5591 MB / 341.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.02742, allocations: 39.67 kB / 341.1 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.02747, allocations: 12 kB / 341.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.02761, allocations: 15.98 kB / 341.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.02767, allocations: 43.88 kB / 341.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.02769, allocations: 7.984 kB / 341.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.02781, allocations: 144.7 kB / 341.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02781, allocations: 0 / 341.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004644/0.02828, allocations: 148 kB / 341.5 MB, free: 6.555 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (meterDC.pav,meterAC.pav,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 (40): * Single equations (assignments): 38 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.02839, allocations: 92.28 kB / 341.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.02895, allocations: 435 kB / 342 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.02896, allocations: 4 kB / 342 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.02945, allocations: 320.8 kB / 342.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.02994, allocations: 136.3 kB / 342.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.03165, allocations: 1.084 MB / 343.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.03178, allocations: 169.9 kB / 343.7 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.03196, allocations: 68.66 kB / 343.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.0322, allocations: 153.2 kB / 343.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0322, allocations: 0 / 343.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of Templates: time 0.01108/0.04328, allocations: 7.174 MB / 351.1 MB, free: 12.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.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.9956583227030933]