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.0008063/0.0008063, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.001951, allocations: 449.8 kB / 10.44 MB, free: 252 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.000689/0.000689, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009981/0.001687, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.995/0.995, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.1156/0.1156, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/0.2307, allocations: 9.542 MB / 283.1 MB, free: 12.82 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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.723e-06/1.723e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.66e-05, allocations: 3.859 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008078/0.008105, allocations: 5.396 MB / 289.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.01052, allocations: 1.434 MB / 291.3 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.01086, allocations: 34.75 kB / 291.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.01155, allocations: 136.9 kB / 291.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.01225, allocations: 400.9 kB / 291.8 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.01272, allocations: 191.3 kB / 292 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.01383, allocations: 0.9471 MB / 293 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.01421, allocations: 173.7 kB / 293.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.01534, allocations: 0.6172 MB / 293.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.01592, allocations: 385.4 kB / 294.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.01602, allocations: 41.84 kB / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.01616, allocations: 47.06 kB / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.01636, allocations: 249.8 kB / 294.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.01657, allocations: 175.3 kB / 294.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.01706, allocations: 454.3 kB / 295.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.01708, allocations: 4 kB / 295.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.01708, allocations: 0 / 295.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.0171, allocations: 0 / 295.1 MB, free: 4.035 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001124/0.01822, allocations: 0.9451 MB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.01825, allocations: 8.031 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.01836, allocations: 84.86 kB / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.01884, allocations: 455.2 kB / 296.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.01887, allocations: 41.12 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01893, allocations: 48 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.01932, allocations: 414.7 kB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01934, allocations: 3.938 kB / 297.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.01937, allocations: 16 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/0.01944, allocations: 24.98 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.01965, allocations: 181.6 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.02109, allocations: 1.562 MB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.02144, allocations: 307.2 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.02167, allocations: 188.2 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.0217, allocations: 8 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.02173, allocations: 38.52 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.02173, allocations: 0 / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.001839/0.02357, allocations: 1.073 MB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.02361, allocations: 85.05 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.02383, allocations: 359.2 kB / 300.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.02386, allocations: 33.7 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.02398, allocations: 257.9 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.02407, allocations: 162.6 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.02417, allocations: 98.25 kB / 301.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.02429, allocations: 366.6 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.02436, allocations: 52.11 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.02449, allocations: 171.9 kB / 302 MB, free: 12.8 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.02498, allocations: 455 kB / 302.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.02498, allocations: 4 kB / 302.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003787/0.02536, allocations: 342 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.02538, allocations: 11.88 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.02539, allocations: 4 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.02561, allocations: 105 kB / 302.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.02586, allocations: 107.9 kB / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.02724, allocations: 1.817 MB / 304.8 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.02737, allocations: 15.94 kB / 304.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.02739, allocations: 19.94 kB / 304.8 MB, free: 9.793 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[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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.02754, allocations: 145.5 kB / 305 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.02759, allocations: 47.94 kB / 305 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.02798, allocations: 347.2 kB / 305.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.02799, allocations: 4 kB / 305.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02799, allocations: 4 kB / 305.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.028, allocations: 3.984 kB / 305.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.02888, allocations: 0.8362 MB / 306.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.02888, allocations: 4 kB / 306.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.02907, allocations: 79.89 kB / 306.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.02911, allocations: 47.61 kB / 306.4 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.02936, allocations: 111.5 kB / 306.5 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.02938, allocations: 19.92 kB / 306.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.03063, allocations: 1.81 MB / 308.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.03063, allocations: 3.938 kB / 308.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.03116, allocations: 0.5754 MB / 308.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.0312, allocations: 12 kB / 308.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.0313, allocations: 11.94 kB / 308.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.03136, allocations: 39.92 kB / 308.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.03138, allocations: 12 kB / 308.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.03148, allocations: 144.7 kB / 309.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03148, allocations: 4 kB / 309.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.03185, allocations: 144 kB / 309.2 MB, free: 5.195 MB / 298.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.0001205/0.03197, allocations: 92.36 kB / 309.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.03246, allocations: 432.1 kB / 309.7 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.03248, allocations: 8 kB / 309.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.03285, allocations: 425.7 kB / 310.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.03351, allocations: 1.054 MB / 311.2 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.03989, allocations: 1.107 MB / 312.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.04002, allocations: 177.9 kB / 312.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.04023, allocations: 64.66 kB / 312.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.04043, allocations: 149.3 kB / 312.7 MB, free: 1.395 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.04044, allocations: 0 / 312.7 MB, free: 1.395 MB / 298.7 MB Notification: Performance of Templates: time 0.009701/0.05014, allocations: 7.39 MB / 320.1 MB, free: 10.16 MB / 314.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.876212313771248]