Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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.0007189/0.0007189, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001738, 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.0007027/0.0007027, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009048/0.001608, 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.9042/0.9042, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07827/0.9825, allocations: 53.66 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.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1434/0.1434, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1215/0.2649, allocations: 9.524 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 1.25 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.558e-05, allocations: 2.969 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.004743/0.004758, allocations: 5.654 MB / 290.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.00723, allocations: 1.701 MB / 291.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.007642, allocations: 36.19 kB / 291.8 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.008051, allocations: 151.5 kB / 292 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.008871, allocations: 451.9 kB / 292.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.009539, allocations: 350.8 kB / 292.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.01119, allocations: 1.52 MB / 294.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.01145, allocations: 257.8 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009841/0.01244, allocations: 0.8954 MB / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.01304, allocations: 0.5611 MB / 296 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.01313, allocations: 84 kB / 296.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.01325, allocations: 88 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.01348, allocations: 363.2 kB / 296.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.01369, allocations: 255.6 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.01424, allocations: 0.6931 MB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.01425, allocations: 0 / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01425, allocations: 0 / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.01427, allocations: 0 / 297.4 MB, free: 1.637 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001452/0.01572, allocations: 1.306 MB / 298.7 MB, free: 292 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.01575, allocations: 8.031 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.0159, allocations: 132.8 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.01646, allocations: 0.5341 MB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.01679, allocations: 0.7327 MB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.01688, allocations: 64 kB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.01754, allocations: 0.6412 MB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01755, allocations: 4 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.0176, allocations: 24 kB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.01767, allocations: 29.3 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.01807, allocations: 297 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.02043, allocations: 2.134 MB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.02093, allocations: 409 kB / 303.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.02124, allocations: 243.1 kB / 304 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.02129, allocations: 16.44 kB / 304 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.02161, allocations: 319.5 kB / 304.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=59): time 1.693e-06/0.02161, allocations: 8 kB / 304.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=60): time 0.007635/0.02924, allocations: 3.858 MB / 308.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.02929, allocations: 97.59 kB / 308.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.0295, allocations: 367.1 kB / 308.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.02981, allocations: 37.7 kB / 308.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.02992, allocations: 285.7 kB / 308.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.03003, allocations: 206.2 kB / 309.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.03016, allocations: 126.2 kB / 309.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.03025, allocations: 374.6 kB / 309.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.03042, allocations: 165.8 kB / 309.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.03063, allocations: 275.9 kB / 310.1 MB, free: 4.496 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.0007342/0.03136, allocations: 0.7819 MB / 310.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.03136, allocations: 0 / 310.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001782/0.03315, allocations: 1.19 MB / 312 MB, free: 2.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.03319, allocations: 49.69 kB / 312.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.0332, allocations: 4 kB / 312.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.03501, allocations: 1.395 MB / 313.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.03526, allocations: 119.9 kB / 313.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.03886, allocations: 2.759 MB / 316.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.03908, allocations: 51.95 kB / 316.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.03916, allocations: 27.98 kB / 316.4 MB, free: 13.93 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: 13 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$PRE.inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],$PRE.inverter.modulator.t0,$PRE.inverter.modulator.sigdel_t,inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.03934, allocations: 174.5 kB / 316.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.03941, allocations: 55.94 kB / 316.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.04117, allocations: 1.069 MB / 317.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.04117, allocations: 8 kB / 317.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.04117, allocations: 0 / 317.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.04118, allocations: 3.984 kB / 317.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.04377, allocations: 1.743 MB / 319.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.04377, allocations: 0 / 319.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.04396, allocations: 79.89 kB / 319.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.04409, allocations: 103.6 kB / 319.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.0459, allocations: 1.4 MB / 321.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.04594, allocations: 19.92 kB / 321.1 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.0491, allocations: 2.734 MB / 323.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.04911, allocations: 16 kB / 323.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.05106, allocations: 1.354 MB / 325.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.05113, allocations: 36.03 kB / 325.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.05135, allocations: 55.92 kB / 325.3 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.0515, allocations: 80.3 kB / 325.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.05153, allocations: 19.98 kB / 325.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.684e-05/0.05162, allocations: 148.7 kB / 325.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05162, allocations: 0 / 325.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.05208, allocations: 228 kB / 325.7 MB, free: 4.414 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: 8 ($whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0,system.initime) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.05221, allocations: 109 kB / 325.8 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.05356, allocations: 0.8734 MB / 326.7 MB, free: 3.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.05357, allocations: 8 kB / 326.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.05442, allocations: 0.6632 MB / 327.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.05509, allocations: 1.158 MB / 328.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.06235, allocations: 1.381 MB / 329.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.06249, allocations: 211 kB / 330.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.06265, allocations: 64.94 kB / 330.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.06287, allocations: 165.3 kB / 330.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.06288, allocations: 0 / 330.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.01664/0.07951, allocations: 17.08 MB / 347.4 MB, free: 14.55 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8785530272871256]