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.000982/0.000982, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001037/0.001037, allocations: 159.3 kB / 24.98 MB, free: 9.324 MB / 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.9682/0.9682, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2403/0.2403, allocations: 29.41 MB / 291.2 MB, free: 2.504 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.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.284e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.008495/0.008518, allocations: 6.647 MB / 376.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.01157, allocations: 1.633 MB / 377.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.01185, allocations: 39.62 kB / 377.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.01232, allocations: 158.7 kB / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.01298, allocations: 465.3 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.01348, allocations: 367.2 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.01446, allocations: 1.515 MB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.01475, allocations: 246.2 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.01546, allocations: 0.8182 MB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.01605, allocations: 0.643 MB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.01614, allocations: 96 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.01626, allocations: 100 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.01684, allocations: 443 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.01733, allocations: 339.3 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.01833, allocations: 0.8139 MB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01834, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01834, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.01837, allocations: 0 / 383.9 MB, free: 13 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.002049/0.02042, allocations: 1.337 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.02046, allocations: 11.98 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.0207, allocations: 164.4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.02169, allocations: 0.6786 MB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.02213, allocations: 0.7331 MB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.02224, allocations: 64.38 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.02323, allocations: 0.717 MB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.02325, allocations: 0 / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.02331, allocations: 20 kB / 387.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-05/0.0234, allocations: 41.28 kB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.02424, allocations: 427.4 kB / 388.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.02796, allocations: 3.031 MB / 391.1 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.02891, allocations: 465.1 kB / 391.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.02952, allocations: 312.8 kB / 391.9 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.02956, allocations: 12.5 kB / 391.9 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005615/0.03012, allocations: 383.9 kB / 392.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.235e-06/0.03013, allocations: 0 / 392.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.01112/0.04125, allocations: 3.107 MB / 395.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.0413, allocations: 85.61 kB / 395.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.04172, allocations: 446.5 kB / 395.9 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.04177, allocations: 41.7 kB / 395.9 MB, free: 468 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.042, allocations: 379.5 kB / 396.3 MB, free: 84 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.04217, allocations: 210.4 kB / 396.5 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.04237, allocations: 135.9 kB / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.04254, allocations: 0.5507 MB / 397.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.04296, allocations: 231.2 kB / 397.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.04643, allocations: 394.4 kB / 397.8 MB, free: 14.49 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.001534/0.04796, allocations: 0.9993 MB / 398.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.04796, allocations: 0 / 398.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.006282/0.05425, allocations: 1.436 MB / 400.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.05431, allocations: 53.69 kB / 400.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.05432, allocations: 8 kB / 400.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/0.06025, allocations: 1.435 MB / 401.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.06064, allocations: 111.8 kB / 401.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.07231, allocations: 3.486 MB / 405.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.07278, allocations: 63.94 kB / 405.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.07286, allocations: 43.97 kB / 405.4 MB, free: 6.633 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.003306/0.07616, allocations: 214.4 kB / 405.6 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.0763, allocations: 75.67 kB / 405.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/0.08227, allocations: 1.283 MB / 407 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.08228, allocations: 12 kB / 407 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.08228, allocations: 0 / 407 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.08229, allocations: 3.984 kB / 407 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007055/0.08935, allocations: 2.065 MB / 409.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.08935, allocations: 4 kB / 409.1 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.08963, allocations: 80.05 kB / 409.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004972/0.0946, allocations: 1.447 MB / 410.6 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.09468, allocations: 23.97 kB / 410.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.1001, allocations: 3.458 MB / 414.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1001, allocations: 0 / 414.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.1029, allocations: 1.646 MB / 415.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.1032, allocations: 139.5 kB / 415.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.1033, allocations: 35.98 kB / 415.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.1036, allocations: 63.92 kB / 416 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.1039, allocations: 172.1 kB / 416.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.1039, allocations: 23.98 kB / 416.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1042, allocations: 283 kB / 416.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1042, allocations: 0 / 416.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006343/0.1048, allocations: 224 kB / 416.6 MB, free: 11.14 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.0001684/0.105, allocations: 130.4 kB / 416.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.1066, allocations: 1.063 MB / 417.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1066, allocations: 0 / 417.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.1077, allocations: 0.6929 MB / 418.5 MB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1082, allocations: 164.4 kB / 418.7 MB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.1107, allocations: 1.423 MB / 420.1 MB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1109, allocations: 207 kB / 420.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.1112, allocations: 96.92 kB / 420.4 MB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1112, allocations: 48.48 kB / 420.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.896e-06/0.1113, allocations: 4 kB / 420.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of Templates: time 0.01796/0.1292, allocations: 15.78 MB / 436.2 MB, free: 7.477 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.6810845530126244]