Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 115.9 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 189.3 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] 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.2862/0.2862, allocations: 37.99 MB / 337.2 MB, free: 12.94 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 72.22 kB / 467.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09816, allocations: 58.06 MB / 0.5133 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008488/0.1067, allocations: 6.087 MB / 0.5192 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.1096, allocations: 1.414 MB / 0.5206 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.1101, allocations: 27.81 kB / 0.5206 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.1107, allocations: 142.9 kB / 0.5208 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1118, allocations: 386 kB / 0.5211 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1124, allocations: 187.7 kB / 0.5213 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1135, allocations: 0.9227 MB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.1139, allocations: 274.7 kB / 0.5225 GB, free: 280 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.1145, allocations: 402.4 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.1152, allocations: 470.3 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.1153, allocations: 48 kB / 0.5233 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1155, allocations: 52 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.1158, allocations: 263.3 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.1161, allocations: 314.4 kB / 0.5239 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.117, allocations: 0.6885 MB / 0.5246 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.117, allocations: 0 / 0.5246 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.117, allocations: 0 / 0.5246 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.117, allocations: 0 / 0.5246 GB, free: 14.06 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001806/0.1188, allocations: 0.9597 MB / 0.5256 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1189, allocations: 11.89 kB / 0.5256 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.119, allocations: 76.45 kB / 0.5256 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.12, allocations: 0.5691 MB / 0.5262 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.1201, allocations: 41.12 kB / 0.5262 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.1202, allocations: 48 kB / 0.5263 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1212, allocations: 0.621 MB / 0.5269 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1212, allocations: 0 / 0.5269 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.1213, allocations: 24 kB / 0.5269 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.1214, allocations: 36.97 kB / 0.5269 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.1223, allocations: 0.5035 MB / 0.5274 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003256/0.1255, allocations: 2.222 MB / 0.5296 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.1264, allocations: 0.4996 MB / 0.5301 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.1272, allocations: 349.6 kB / 0.5304 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.1272, allocations: 8 kB / 0.5304 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.1272, allocations: 39.28 kB / 0.5305 GB, free: 7.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.1273, allocations: 0 / 0.5305 GB, free: 7.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003618/0.1309, allocations: 1.766 MB / 0.5322 GB, free: 5.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.131, allocations: 89.03 kB / 0.5323 GB, free: 5.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.1315, allocations: 421.8 kB / 0.5327 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.1315, allocations: 37.7 kB / 0.5327 GB, free: 5.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.1318, allocations: 301 kB / 0.533 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.1319, allocations: 174.5 kB / 0.5332 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1321, allocations: 90.25 kB / 0.5333 GB, free: 4.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1323, allocations: 362.8 kB / 0.5336 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.1326, allocations: 193 kB / 0.5338 GB, free: 4.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.133, allocations: 303.7 kB / 0.5341 GB, free: 3.938 MB / 398.1 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.002794/0.1358, allocations: 1.234 MB / 0.5353 GB, free: 2.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1359, allocations: 4 kB / 0.5353 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00131/0.1372, allocations: 0.7107 MB / 0.536 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1372, allocations: 7.938 kB / 0.536 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1372, allocations: 4 kB / 0.536 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.1376, allocations: 141.2 kB / 0.5361 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.1381, allocations: 107.9 kB / 0.5362 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.1413, allocations: 2.615 MB / 0.5388 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1417, allocations: 28.03 kB / 0.5388 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.1418, allocations: 27.98 kB / 0.5388 GB, free: 14.85 MB / 414.1 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: 16 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.1421, allocations: 217.7 kB / 0.539 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.1422, allocations: 55.61 kB / 0.5391 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1435, allocations: 0.6621 MB / 0.5397 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1435, allocations: 4 kB / 0.5398 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1435, allocations: 4 kB / 0.5398 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1435, allocations: 3.938 kB / 0.5398 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.1458, allocations: 1.377 MB / 0.5411 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1458, allocations: 0 / 0.5411 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.1462, allocations: 71.89 kB / 0.5412 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.1466, allocations: 152.8 kB / 0.5413 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.1467, allocations: 15.98 kB / 0.5413 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.1498, allocations: 2.614 MB / 0.5439 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1498, allocations: 4 kB / 0.5439 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1514, allocations: 0.9928 MB / 0.5449 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1515, allocations: 132.7 kB / 0.545 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.1516, allocations: 12.09 kB / 0.545 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1518, allocations: 27.86 kB / 0.545 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.1519, allocations: 31.95 kB / 0.5451 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.152, allocations: 23.98 kB / 0.5451 GB, free: 8.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003534/0.1523, allocations: 287.1 kB / 0.5454 GB, free: 7.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1523, allocations: 0 / 0.5454 GB, free: 7.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006202/0.153, allocations: 148 kB / 0.5455 GB, free: 7.73 MB / 414.1 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.1531, allocations: 107.1 kB / 0.5456 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1543, allocations: 0.6601 MB / 0.5462 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1543, allocations: 0 / 0.5462 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.155, allocations: 447.3 kB / 0.5467 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007384/0.1558, allocations: 142.2 kB / 0.5468 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.158, allocations: 1.386 MB / 0.5482 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.1586, allocations: 0.9253 MB / 0.5491 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1587, allocations: 43.42 kB / 0.5491 GB, free: 3.918 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1587, allocations: 0 / 0.5491 GB, free: 3.918 MB / 414.1 MB Notification: Performance of Templates: time 0.01327/0.172, allocations: 9.206 MB / 0.5581 GB, free: 10.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.501590796047822] Failed to read output from testmodel.py, exit status != 0: 0.1789031100925058 0.192139008 0.072620506 Calling exit ...