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.00108/0.00108, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001284/0.001284, allocations: 174 kB / 25.61 MB, free: 8.926 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.953/0.953, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.1805/0.1805, allocations: 29.42 MB / 292 MB, free: 2.625 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.954e-06/1.954e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.398e-05, allocations: 3.531 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.003927/0.00394, allocations: 5.543 MB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.005616, allocations: 1.632 MB / 378.1 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.005845, allocations: 39.62 kB / 378.1 MB, free: 25.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.006212, allocations: 146.9 kB / 378.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.006738, allocations: 453.4 kB / 378.7 MB, free: 24.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.007165, allocations: 367.2 kB / 379 MB, free: 24.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008702/0.008035, allocations: 1.523 MB / 380.6 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.008291, allocations: 242.2 kB / 380.8 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.009028, allocations: 0.8808 MB / 381.7 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.009544, allocations: 0.5767 MB / 382.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.006e-05/0.009624, allocations: 84 kB / 382.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.009721, allocations: 88 kB / 382.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.009939, allocations: 434.9 kB / 382.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.01014, allocations: 319.3 kB / 383.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.01068, allocations: 0.7671 MB / 383.9 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01069, allocations: 0 / 383.9 MB, free: 19.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01069, allocations: 0 / 383.9 MB, free: 19.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.0107, allocations: 0 / 383.9 MB, free: 19.22 MB / 314.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.00131/0.01201, allocations: 1.278 MB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01204, allocations: 8.031 kB / 385.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.0122, allocations: 160.4 kB / 385.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.01272, allocations: 0.5797 MB / 385.9 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.01295, allocations: 0.7292 MB / 386.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.01303, allocations: 64.38 kB / 386.7 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.01364, allocations: 0.6466 MB / 387.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01365, allocations: 7.984 kB / 387.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.0137, allocations: 24 kB / 387.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.01376, allocations: 25.31 kB / 387.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.01414, allocations: 330 kB / 387.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.01607, allocations: 2.863 MB / 390.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.01654, allocations: 401.9 kB / 391 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.01685, allocations: 265.3 kB / 391.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.01688, allocations: 8.5 kB / 391.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.01715, allocations: 343.9 kB / 391.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 1.843e-06/0.01716, allocations: 0 / 391.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.004894/0.02205, allocations: 2.721 MB / 394.3 MB, free: 8.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.02208, allocations: 93.61 kB / 394.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.02229, allocations: 446.3 kB / 394.9 MB, free: 7.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.02233, allocations: 37.7 kB / 394.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.02246, allocations: 383.4 kB / 395.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.02256, allocations: 214.2 kB / 395.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.0227, allocations: 143.9 kB / 395.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.02278, allocations: 0.5468 MB / 396.2 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.02295, allocations: 175.2 kB / 396.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.02316, allocations: 354.3 kB / 396.7 MB, free: 5.848 MB / 314.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.0007323/0.02389, allocations: 0.8198 MB / 397.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02389, allocations: 7.938 kB / 397.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001908/0.0258, allocations: 1.311 MB / 398.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.02584, allocations: 55.72 kB / 398.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.02584, allocations: 11.94 kB / 398.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.02764, allocations: 1.407 MB / 400.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.02786, allocations: 103.8 kB / 400.4 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.03135, allocations: 3.31 MB / 403.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.03159, allocations: 55.95 kB / 403.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.03164, allocations: 35.97 kB / 403.8 MB, free: 14.53 MB / 330.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.0001756/0.03182, allocations: 210.5 kB / 404 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.0319, allocations: 75.56 kB / 404.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.03394, allocations: 1.185 MB / 405.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.03394, allocations: 8 kB / 405.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.03395, allocations: 0 / 405.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.03395, allocations: 7.984 kB / 405.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.03675, allocations: 1.959 MB / 407.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03675, allocations: 0 / 407.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.03693, allocations: 71.91 kB / 407.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.03891, allocations: 1.42 MB / 408.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.03895, allocations: 19.98 kB / 408.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.04259, allocations: 3.305 MB / 412.1 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.04259, allocations: 4 kB / 412.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.04495, allocations: 1.509 MB / 413.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.04512, allocations: 115.5 kB / 413.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.04519, allocations: 31.98 kB / 413.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.04544, allocations: 55.94 kB / 413.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.0456, allocations: 88.23 kB / 413.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.04563, allocations: 19.98 kB / 413.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.04578, allocations: 263 kB / 414.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04578, allocations: 0 / 414.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.04633, allocations: 228 kB / 414.4 MB, free: 3.707 MB / 330.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.0001514/0.04648, allocations: 132.7 kB / 414.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.04779, allocations: 0.9655 MB / 415.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.0478, allocations: 4 kB / 415.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.04871, allocations: 0.6458 MB / 416.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.0492, allocations: 168.1 kB / 416.3 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.0511, allocations: 1.409 MB / 417.7 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.05125, allocations: 211 kB / 417.9 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.05143, allocations: 68.94 kB / 418 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.05168, allocations: 198.1 kB / 418.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.05168, allocations: 0 / 418.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Templates: time 0.01798/0.06966, allocations: 16.99 MB / 435.1 MB, free: 14.91 MB / 362.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.459645909257233]