Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005012/0.0005012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007458/0.001247, allocations: 0 / 0, free: 0 / 0 " [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.0007214/0.0007214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006761/0.001397, allocations: 0 / 0, free: 0 / 0 " [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.2756/0.2756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05831/0.3339, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.04428/0.04428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01093/0.05521, allocations: 0 / 0, free: 0 / 0 " [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: simulate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,startTime=0,stopTime=0.2,tolerance=1e-05,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,startTime=0,stopTime=0.2,tolerance=1e-05,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.879e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 6.046e-05/6.534e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007555/0.00762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005562/0.01318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.01463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001244/0.01587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002677/0.01855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.02022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002133/0.02235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.02307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.02446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.02525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.02542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.02642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.02687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.02729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001801/0.02909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001651/0.02926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.124e-06/0.02926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.025e-05/0.02928, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002983/0.03226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.857e-05/0.03236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.03309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.03392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.03428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.03448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.03615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.03619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.03631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.03644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.03743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.04222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.04311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.04354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.04359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008334/0.04442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=116): time 1.589e-05/0.04444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=118): time 0.00781/0.05225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.05231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.05263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.05282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.05307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.05335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.05372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 6.262e-05/0.05379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.05428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.0548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.05628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.05629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=158) (initialization): time 0.003717/0.06001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.06008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.0601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/0.06353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.06425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/0.07183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.07275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/0.07315, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.ind.i[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 (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.gates[5],$PRE.inverter.modulator.gates[6],$PRE.inverter.modulator.t0[3],$PRE.inverter.modulator.t0[2],$PRE.inverter.modulator.t0[1],$PRE.inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.t0[3],inverter.modulator.t0[2],inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],inverter.modulator.gates[5],inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 100 * Array equations: 3 * 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 {(7,18)} Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.07419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.07448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.07797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/0.07802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.07803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.07805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/0.08358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.08359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.08428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.08468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/0.08794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/0.08822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/0.09413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.09414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.09892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.09925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.09973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007213/0.1005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.1006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002153/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.712e-05/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001394/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007361/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002553/0.1055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.23e-05/0.1055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001526/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003784/0.1172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.1178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.056e-05/0.1178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006834/0.1247, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.5884261829778552]