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.001427/0.001427, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001895/0.001895, allocations: 161 kB / 24.56 MB, free: 20 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 0.9957/0.9957, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.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.2604/0.2604, allocations: 29.41 MB / 290.9 MB, free: 2.484 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.342e-06/1.342e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.603e-05, allocations: 6.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.005059/0.005075, allocations: 5.587 MB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.007207, allocations: 1.64 MB / 376.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.007466, allocations: 39.62 kB / 376.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.007902, allocations: 150.8 kB / 377.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006132/0.008515, allocations: 449.4 kB / 377.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.009002, allocations: 359.3 kB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.01003, allocations: 1.519 MB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.0103, allocations: 250.1 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007167/0.01102, allocations: 0.7952 MB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.01161, allocations: 0.6313 MB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.01171, allocations: 100 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.01183, allocations: 100 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.0121, allocations: 450.9 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.01235, allocations: 343.3 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.01297, allocations: 0.8141 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01297, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01297, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01298, allocations: 3.938 kB / 382.8 MB, free: 13.79 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.001528/0.01451, allocations: 1.333 MB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01454, allocations: 19.92 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.01472, allocations: 156.4 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.01558, allocations: 0.6748 MB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.01598, allocations: 0.7292 MB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.01608, allocations: 68.36 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/0.01691, allocations: 0.7169 MB / 386.5 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01692, allocations: 4 kB / 386.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.01697, allocations: 27.98 kB / 386.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/0.01705, allocations: 41.28 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.01767, allocations: 423.4 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.02041, allocations: 3.027 MB / 390 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.02108, allocations: 469.1 kB / 390.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.02179, allocations: 308.8 kB / 390.8 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.02183, allocations: 12.5 kB / 390.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.02224, allocations: 379.9 kB / 391.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 1.663e-06/0.02224, allocations: 0 / 391.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.005685/0.02793, allocations: 3.103 MB / 394.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.02798, allocations: 89.61 kB / 394.4 MB, free: 1.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.02826, allocations: 446.5 kB / 394.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.0283, allocations: 45.64 kB / 394.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.02846, allocations: 379.5 kB / 395.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.02858, allocations: 214.2 kB / 395.4 MB, free: 0.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.02873, allocations: 131.9 kB / 395.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.02887, allocations: 0.5547 MB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.02916, allocations: 227.2 kB / 396.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.02949, allocations: 398.4 kB / 396.7 MB, free: 15.29 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.001121/0.03061, allocations: 0.9956 MB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03061, allocations: 0 / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002468/0.03308, allocations: 1.436 MB / 399.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.03312, allocations: 53.69 kB / 399.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.03313, allocations: 3.984 kB / 399.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.03513, allocations: 1.432 MB / 400.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.03536, allocations: 111.8 kB / 400.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.03934, allocations: 3.495 MB / 404.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.03958, allocations: 55.94 kB / 404.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.03963, allocations: 43.97 kB / 404.3 MB, free: 7.434 MB / 378.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.0001672/0.0398, allocations: 221.5 kB / 404.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.03988, allocations: 71.67 kB / 404.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.0423, allocations: 1.283 MB / 405.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.0423, allocations: 4 kB / 405.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.0423, allocations: 4 kB / 405.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.04231, allocations: 0 / 405.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.04527, allocations: 2.081 MB / 408 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.04527, allocations: 4 kB / 408 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.04546, allocations: 75.89 kB / 408.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.04741, allocations: 1.446 MB / 409.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.04745, allocations: 15.98 kB / 409.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.05136, allocations: 3.472 MB / 413 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.05136, allocations: 0 / 413 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.05379, allocations: 1.642 MB / 414.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.05398, allocations: 139.5 kB / 414.8 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.05405, allocations: 27.98 kB / 414.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.05429, allocations: 63.92 kB / 414.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.05452, allocations: 180.1 kB / 415 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.05456, allocations: 19.98 kB / 415.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.05473, allocations: 279.1 kB / 415.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05473, allocations: 0 / 415.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.05519, allocations: 228 kB / 415.6 MB, free: 11.94 MB / 394.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.0001288/0.05532, allocations: 134.6 kB / 415.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.05672, allocations: 1.063 MB / 416.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.05672, allocations: 0 / 416.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.05763, allocations: 0.6852 MB / 417.4 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.05811, allocations: 161.3 kB / 417.6 MB, free: 9.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.06003, allocations: 1.434 MB / 419 MB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.06016, allocations: 207 kB / 419.2 MB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.06049, allocations: 100.9 kB / 419.3 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.06058, allocations: 48.48 kB / 419.4 MB, free: 7.977 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06059, allocations: 0 / 419.4 MB, free: 7.977 MB / 394.7 MB Notification: Performance of Templates: time 0.01556/0.07614, allocations: 15.78 MB / 435.2 MB, free: 8.266 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7255475791171193]