Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.000963/0.000963, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001346/0.001346, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2295/0.2295, allocations: 29.41 MB / 291.2 MB, free: 2.516 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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.64e-05, allocations: 6.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005514/0.00553, allocations: 6.581 MB / 376.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.00804, allocations: 1.865 MB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.008338, allocations: 35.69 kB / 378.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.009183, allocations: 453.7 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.009799, allocations: 433.3 kB / 379 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.01043, allocations: 363 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.01125, allocations: 1.059 MB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.01175, allocations: 416.6 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.01247, allocations: 0.6154 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.01304, allocations: 0.5456 MB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.01313, allocations: 64 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.01352, allocations: 275.4 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.01379, allocations: 395 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.01403, allocations: 303.3 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.01485, allocations: 0.8215 MB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01486, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01486, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.01487, allocations: 0 / 383.8 MB, free: 13.11 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001392/0.01626, allocations: 1.172 MB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.0163, allocations: 15.98 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.01694, allocations: 236.1 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.0176, allocations: 0.5693 MB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.01764, allocations: 45.69 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.01776, allocations: 72.55 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.01852, allocations: 0.6668 MB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.01854, allocations: 4 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.01859, allocations: 20 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.01872, allocations: 81.94 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.01937, allocations: 435.5 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.02232, allocations: 2.991 MB / 390.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.02288, allocations: 392.8 kB / 390.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.02315, allocations: 197.1 kB / 390.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.02318, allocations: 8.5 kB / 390.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.02321, allocations: 45.89 kB / 390.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.02321, allocations: 4 kB / 390.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001986/0.0252, allocations: 1.434 MB / 392.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.02523, allocations: 85.77 kB / 392.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.02554, allocations: 454.5 kB / 392.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.02557, allocations: 33.7 kB / 392.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.02575, allocations: 427.1 kB / 393.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.0259, allocations: 269.7 kB / 393.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.02631, allocations: 164.3 kB / 393.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.02647, allocations: 0.5469 MB / 394.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.02668, allocations: 141.8 kB / 394.2 MB, free: 2.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.02699, allocations: 399 kB / 394.6 MB, free: 1.797 MB / 362.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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.02805, allocations: 0.9224 MB / 395.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02805, allocations: 3.938 kB / 395.5 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000793/0.02885, allocations: 0.6781 MB / 396.2 MB, free: 88 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.02886, allocations: 8 kB / 396.2 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.02887, allocations: 7.938 kB / 396.2 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.029, allocations: 40.12 kB / 396.3 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.02941, allocations: 187.8 kB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008196/0.03023, allocations: 1.791 MB / 398.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.03044, allocations: 35.97 kB / 398.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.03049, allocations: 35.98 kB / 398.3 MB, free: 13.86 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[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 2 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.03066, allocations: 208.4 kB / 398.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.03078, allocations: 91.56 kB / 398.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.03148, allocations: 0.5581 MB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.0315, allocations: 12 kB / 399.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.0315, allocations: 4 kB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.03151, allocations: 4.125 kB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.03343, allocations: 1.475 MB / 400.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.03343, allocations: 4 kB / 400.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.03378, allocations: 151.8 kB / 400.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.03385, allocations: 35.67 kB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.03389, allocations: 23.98 kB / 400.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00075/0.03464, allocations: 1.779 MB / 402.7 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.03464, allocations: 4 kB / 402.7 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.03561, allocations: 1.018 MB / 403.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.03566, allocations: 67.58 kB / 403.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.03572, allocations: 23.94 kB / 403.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.03589, allocations: 35.97 kB / 403.8 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.03597, allocations: 60.28 kB / 403.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.036, allocations: 27.98 kB / 403.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.03617, allocations: 279.1 kB / 404.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03617, allocations: 0 / 404.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.03662, allocations: 184 kB / 404.3 MB, free: 7.461 MB / 378.7 MB 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.03684, allocations: 163 kB / 404.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.03765, allocations: 0.6667 MB / 405.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.03765, allocations: 4.062 kB / 405.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.038, allocations: 430.2 kB / 405.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.03851, allocations: 144.6 kB / 405.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.04062, allocations: 1.68 MB / 407.4 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.04106, allocations: 219.3 kB / 407.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.04137, allocations: 177.1 kB / 407.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.0415, allocations: 52.48 kB / 407.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0415, allocations: 4 kB / 407.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of Templates: time 0.01012/0.05162, allocations: 7.831 MB / 415.7 MB, free: 12.04 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2182461619377136]