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.001431/0.001431, allocations: 84.33 kB / 20.95 MB, free: 3.457 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.001575/0.001575, allocations: 157.7 kB / 24.27 MB, free: 152 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 1.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3256/0.3256, allocations: 29.41 MB / 290.5 MB, free: 2.438 MB / 266.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.523e-06/1.523e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.05e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.009107/0.009138, allocations: 6.242 MB / 375.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.01234, allocations: 1.601 MB / 376.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.01266, allocations: 39.62 kB / 376.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.01323, allocations: 150.8 kB / 376.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.01426, allocations: 469.3 kB / 377.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.01505, allocations: 367.2 kB / 377.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.01693, allocations: 1.511 MB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.01738, allocations: 250.2 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.01898, allocations: 0.8143 MB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.02017, allocations: 0.6274 MB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.02035, allocations: 100 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.02056, allocations: 100 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.02112, allocations: 446.9 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.02165, allocations: 339.3 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.02342, allocations: 1.231 MB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02342, allocations: 0 / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.02342, allocations: 4 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.02344, allocations: 0 / 383.1 MB, free: 13.01 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003164/0.0266, allocations: 1.249 MB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.02664, allocations: 11.98 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.02696, allocations: 160.4 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.0285, allocations: 0.7032 MB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008295/0.02933, allocations: 0.7409 MB / 386 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.02948, allocations: 64.38 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.03237, allocations: 1.153 MB / 387.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.03239, allocations: 0 / 387.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.03249, allocations: 28 kB / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.03262, allocations: 37.28 kB / 387.3 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.03562, allocations: 1.172 MB / 388.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00601/0.04163, allocations: 3.164 MB / 391.6 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.04442, allocations: 0.9137 MB / 392.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.04626, allocations: 0.6472 MB / 393.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.04632, allocations: 12.5 kB / 393.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/0.04815, allocations: 0.6917 MB / 393.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.04815, allocations: 0 / 393.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.0217/0.06985, allocations: 5.534 MB / 399.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.06995, allocations: 89.59 kB / 399.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.07063, allocations: 421.8 kB / 399.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.07078, allocations: 41.7 kB / 399.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.07113, allocations: 328.7 kB / 400.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.07142, allocations: 214.2 kB / 400.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.0717, allocations: 134.3 kB / 400.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.07194, allocations: 362.7 kB / 401 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.07346, allocations: 0.5459 MB / 401.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.07483, allocations: 0.6627 MB / 402.2 MB, free: 9.43 MB / 378.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.007902/0.08273, allocations: 3.072 MB / 405.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.08274, allocations: 0 / 405.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00844/0.09118, allocations: 2.545 MB / 407.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.09126, allocations: 49.69 kB / 407.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.09127, allocations: 8.219 kB / 407.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00685/0.09812, allocations: 2.073 MB / 409.9 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.09871, allocations: 107.8 kB / 410 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.1176, allocations: 6.671 MB / 416.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.1185, allocations: 87.95 kB / 416.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.1187, allocations: 39.97 kB / 416.8 MB, free: 10.59 MB / 394.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: 14 * 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 (63): * Single equations (assignments): 61 * 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.0005959/0.1193, allocations: 279.6 kB / 417.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.1195, allocations: 83.62 kB / 417.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/0.1282, allocations: 2.415 MB / 419.6 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.1283, allocations: 11.94 kB / 419.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1283, allocations: 0 / 419.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.1283, allocations: 3.984 kB / 419.6 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.139, allocations: 3.282 MB / 422.9 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.1391, allocations: 7.984 kB / 422.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.1398, allocations: 71.91 kB / 423 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00676/0.1465, allocations: 2.073 MB / 425 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.1467, allocations: 27.98 kB / 425.1 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/0.1646, allocations: 6.658 MB / 431.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.1646, allocations: 4 kB / 431.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.175, allocations: 3.199 MB / 434.9 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.1754, allocations: 151.7 kB / 435.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.1756, allocations: 31.98 kB / 435.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/0.1764, allocations: 95.88 kB / 435.2 MB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/0.1769, allocations: 172.1 kB / 435.4 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.1769, allocations: 23.98 kB / 435.4 MB, free: 7.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004184/0.1773, allocations: 287.1 kB / 435.7 MB, free: 7.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1773, allocations: 0 / 435.7 MB, free: 7.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.1783, allocations: 228 kB / 435.9 MB, free: 7.281 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (50): * Single equations (assignments): 42 * 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.0002341/0.1785, allocations: 134.5 kB / 436 MB, free: 7.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005202/0.1837, allocations: 1.698 MB / 437.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1837, allocations: 0 / 437.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003418/0.1872, allocations: 1.083 MB / 438.8 MB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.1882, allocations: 172.2 kB / 439 MB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1919, allocations: 1.635 MB / 440.6 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.1925, allocations: 407.2 kB / 441 MB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.1929, allocations: 112.9 kB / 441.1 MB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.1931, allocations: 48.48 kB / 441.2 MB, free: 1.887 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1931, allocations: 0 / 441.2 MB, free: 1.887 MB / 410.7 MB Notification: Performance of Templates: time 0.1497/0.3428, allocations: 15.51 MB / 456.7 MB, free: 110.2 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.536343968939036]