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.0006667/0.0006667, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009427/0.001609, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000706/0.000706, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009172/0.001623, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8938/0.8938, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07713/0.971, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1309/0.1309, allocations: 29.43 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1134/0.2443, allocations: 9.53 MB / 283.1 MB, free: 12.82 MB / 282.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.503e-06/1.503e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.253e-05, allocations: 2.969 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008259/0.008281, allocations: 5.903 MB / 290.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.01247, allocations: 1.913 MB / 292.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.013, allocations: 41.56 kB / 292.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.01379, allocations: 230.5 kB / 292.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.01486, allocations: 452.9 kB / 292.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.01595, allocations: 354.6 kB / 293.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.01769, allocations: 1.081 MB / 294.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.01846, allocations: 408.2 kB / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.01974, allocations: 0.7188 MB / 295.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.02057, allocations: 0.5026 MB / 296 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.02071, allocations: 68 kB / 296.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.02135, allocations: 263.6 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.0217, allocations: 351.1 kB / 296.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.02203, allocations: 243.4 kB / 296.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02306, allocations: 0.7358 MB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.02307, allocations: 3.938 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02307, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.0231, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.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.001919/0.02501, allocations: 1.148 MB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.02505, allocations: 12.02 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.02596, allocations: 261.8 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.02678, allocations: 499 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.02682, allocations: 49.67 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.02699, allocations: 72.5 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/0.02791, allocations: 0.5988 MB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.02793, allocations: 3.938 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.028, allocations: 27.98 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.02817, allocations: 65.95 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.02884, allocations: 324.5 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.03176, allocations: 2.336 MB / 303 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.03217, allocations: 350.5 kB / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.03234, allocations: 150.4 kB / 303.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.03237, allocations: 12.5 kB / 303.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.0324, allocations: 47.05 kB / 303.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.415e-06/0.0324, allocations: 0 / 303.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001427/0.03383, allocations: 1.017 MB / 304.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.03386, allocations: 89.75 kB / 304.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.03407, allocations: 386.9 kB / 305 MB, free: 9.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.03411, allocations: 41.7 kB / 305.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.03423, allocations: 321.4 kB / 305.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.03436, allocations: 269.7 kB / 305.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.03448, allocations: 138.5 kB / 305.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.03459, allocations: 382.7 kB / 306.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.03471, allocations: 96.8 kB / 306.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.03489, allocations: 287 kB / 306.5 MB, free: 8.133 MB / 298.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.0007008/0.03559, allocations: 0.7331 MB / 307.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0356, allocations: 0 / 307.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005306/0.03613, allocations: 482.6 kB / 307.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.03614, allocations: 8 kB / 307.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.03615, allocations: 4 kB / 307.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.973e-05/0.03624, allocations: 32.83 kB / 307.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.03668, allocations: 213.2 kB / 308 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/0.03752, allocations: 1.23 MB / 309.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.0377, allocations: 27.94 kB / 309.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.03773, allocations: 28 kB / 309.3 MB, free: 5.211 MB / 298.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.0001537/0.03789, allocations: 156.5 kB / 309.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.03798, allocations: 63.89 kB / 309.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.03842, allocations: 428.8 kB / 309.9 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.03844, allocations: 15.98 kB / 309.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.03844, allocations: 0 / 309.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.03845, allocations: 3.984 kB / 309.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.03973, allocations: 1.16 MB / 311.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.03974, allocations: 4 kB / 311.1 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.04011, allocations: 163.7 kB / 311.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.04016, allocations: 67.5 kB / 311.3 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.936e-05/0.04022, allocations: 28.94 kB / 311.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.04026, allocations: 24.28 kB / 311.4 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000545/0.0408, allocations: 1.233 MB / 312.6 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.04081, allocations: 7.938 kB / 312.6 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.04145, allocations: 0.783 MB / 313.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.0415, allocations: 19.98 kB / 313.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.04165, allocations: 20 kB / 313.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.04171, allocations: 64.22 kB / 313.5 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.04174, allocations: 23.94 kB / 313.5 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.04184, allocations: 152.7 kB / 313.7 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04184, allocations: 0 / 313.7 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000385/0.04223, allocations: 187.9 kB / 313.8 MB, free: 340 kB / 298.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.0001862/0.04241, allocations: 136.3 kB / 314 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.04295, allocations: 0.5252 MB / 314.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.04297, allocations: 15.98 kB / 314.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.04327, allocations: 382.9 kB / 314.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.04422, allocations: 1.068 MB / 316 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.05263, allocations: 1.553 MB / 317.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.05278, allocations: 211.3 kB / 317.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.05306, allocations: 98.7 kB / 317.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.05333, allocations: 173.2 kB / 318 MB, free: 11.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.05333, allocations: 0 / 318 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Templates: time 0.01055/0.06388, allocations: 8.439 MB / 326.4 MB, free: 3.551 MB / 314.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: 2.753829998895526]