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.0006599/0.0006599, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008926/0.001553, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007135/0.0007135, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001812, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9185/0.9185, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07614/0.9946, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1123/0.1123, allocations: 29.42 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/0.221, allocations: 9.523 MB / 282.9 MB, free: 12.86 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 1.272e-06/1.272e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.031e-05, allocations: 3.438 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006375/0.006386, allocations: 5.631 MB / 289.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.009348, allocations: 1.701 MB / 291.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.00969, allocations: 41.53 kB / 291.6 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.0101, allocations: 147 kB / 291.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.01093, allocations: 455.8 kB / 292.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.01162, allocations: 355.7 kB / 292.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.01309, allocations: 1.511 MB / 294 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.01346, allocations: 260.7 kB / 294.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.01465, allocations: 0.8967 MB / 295.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.0154, allocations: 0.5494 MB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.01549, allocations: 84 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.0156, allocations: 92 kB / 295.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.01584, allocations: 363.2 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.01606, allocations: 255.5 kB / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.0166, allocations: 0.6892 MB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.01661, allocations: 0 / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01661, allocations: 0 / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.01663, allocations: 0 / 297.2 MB, free: 1.781 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.001419/0.01805, allocations: 1.31 MB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.01807, allocations: 8.031 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.01822, allocations: 136.8 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.01901, allocations: 0.5302 MB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.01933, allocations: 0.7327 MB / 299.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.01941, allocations: 67.94 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.02006, allocations: 0.6373 MB / 300.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.02008, allocations: 4 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.02012, allocations: 20 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/0.02018, allocations: 29.3 kB / 300.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.02058, allocations: 301 kB / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.02265, allocations: 2.134 MB / 303.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.02314, allocations: 402.8 kB / 303.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.02345, allocations: 251.1 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.02349, allocations: 20.44 kB / 303.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.0238, allocations: 319.5 kB / 304.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=59): time 1.493e-06/0.0238, allocations: 0 / 304.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=60): time 0.007576/0.03138, allocations: 3.834 MB / 307.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.03141, allocations: 93.59 kB / 308 MB, free: 6.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.0316, allocations: 367.1 kB / 308.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.03164, allocations: 41.7 kB / 308.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.03175, allocations: 281.7 kB / 308.7 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.03186, allocations: 210.2 kB / 308.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.03199, allocations: 122.2 kB / 309 MB, free: 5.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.03208, allocations: 374.6 kB / 309.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.03225, allocations: 165.8 kB / 309.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.03245, allocations: 279.9 kB / 309.8 MB, free: 4.664 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.000698/0.03314, allocations: 0.7663 MB / 310.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.03315, allocations: 4 kB / 310.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001772/0.03492, allocations: 1.186 MB / 311.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.03496, allocations: 53.67 kB / 311.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.03497, allocations: 4 kB / 311.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.03678, allocations: 1.391 MB / 313.2 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.03728, allocations: 123.8 kB / 313.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.04052, allocations: 2.747 MB / 316.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.04073, allocations: 51.95 kB / 316.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.04078, allocations: 35.91 kB / 316.1 MB, free: 14.12 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.0001534/0.04093, allocations: 175.8 kB / 316.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.041, allocations: 51.95 kB / 316.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.04275, allocations: 1.073 MB / 317.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.04275, allocations: 4 kB / 317.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.04275, allocations: 3.984 kB / 317.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.04276, allocations: 4 kB / 317.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.0451, allocations: 1.74 MB / 319.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.04511, allocations: 0 / 319.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.0453, allocations: 79.89 kB / 319.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.04543, allocations: 107.6 kB / 319.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.04754, allocations: 1.397 MB / 320.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.04757, allocations: 19.92 kB / 320.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.05072, allocations: 2.74 MB / 323.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.05072, allocations: 7.938 kB / 323.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.05267, allocations: 1.354 MB / 324.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.05274, allocations: 31.98 kB / 324.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.05296, allocations: 51.94 kB / 325 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.05308, allocations: 88.23 kB / 325.1 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.05312, allocations: 15.98 kB / 325.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.05321, allocations: 152.7 kB / 325.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05321, allocations: 0 / 325.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.05363, allocations: 224 kB / 325.4 MB, free: 4.617 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.0001126/0.05374, allocations: 104.3 kB / 325.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.05481, allocations: 0.8726 MB / 326.4 MB, free: 3.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.05482, allocations: 4 kB / 326.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.05557, allocations: 0.57 MB / 327 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.056, allocations: 234.2 kB / 327.2 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.06342, allocations: 1.378 MB / 328.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.0636, allocations: 210.9 kB / 328.8 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.06378, allocations: 64.91 kB / 328.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.064, allocations: 173.3 kB / 329 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.064, allocations: 0 / 329 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of Templates: time 0.01624/0.08024, allocations: 16.96 MB / 346 MB, free: 108 kB / 330.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.8905727295204997]