Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001774/0.001774, allocations: 119.5 kB / 18.41 MB, free: 4.684 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.00209/0.00209, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.436/1.436, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.293/0.293, allocations: 37.99 MB / 337.2 MB, free: 12.93 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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.75 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09481, allocations: 58.07 MB / 0.5133 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008568/0.1034, allocations: 6.336 MB / 0.5195 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.1062, allocations: 1.441 MB / 0.5209 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.1066, allocations: 23.81 kB / 0.5209 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.1073, allocations: 154.8 kB / 0.521 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1083, allocations: 425.9 kB / 0.5215 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.1089, allocations: 215.6 kB / 0.5217 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1103, allocations: 1.114 MB / 0.5227 GB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.1108, allocations: 360.6 kB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.1117, allocations: 474.2 kB / 0.5235 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009983/0.1127, allocations: 0.5373 MB / 0.5241 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.1129, allocations: 67.94 kB / 0.5241 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1131, allocations: 64 kB / 0.5242 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.1135, allocations: 315.2 kB / 0.5245 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.1141, allocations: 370.3 kB / 0.5248 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1153, allocations: 0.8717 MB / 0.5257 GB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1153, allocations: 4 kB / 0.5257 GB, free: 12.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1153, allocations: 0 / 0.5257 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.1153, allocations: 0 / 0.5257 GB, free: 12.99 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002291/0.1176, allocations: 1.046 MB / 0.5267 GB, free: 11.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1177, allocations: 15.89 kB / 0.5267 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1178, allocations: 76.47 kB / 0.5268 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.119, allocations: 0.5928 MB / 0.5274 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.1192, allocations: 120.8 kB / 0.5275 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1193, allocations: 56 kB / 0.5276 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.1207, allocations: 0.7849 MB / 0.5283 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.1208, allocations: 4 kB / 0.5283 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.1209, allocations: 27.94 kB / 0.5284 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.121, allocations: 32.97 kB / 0.5284 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1225, allocations: 0.6908 MB / 0.5291 GB, free: 9.406 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.127, allocations: 2.697 MB / 0.5317 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.129, allocations: 0.8776 MB / 0.5326 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.1297, allocations: 325.6 kB / 0.5329 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1297, allocations: 7.984 kB / 0.5329 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.1298, allocations: 38.31 kB / 0.5329 GB, free: 5.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/0.1298, allocations: 8 kB / 0.5329 GB, free: 5.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004231/0.134, allocations: 1.951 MB / 0.5348 GB, free: 3.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.1341, allocations: 89.03 kB / 0.5349 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.1347, allocations: 417.9 kB / 0.5353 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1347, allocations: 33.7 kB / 0.5353 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.135, allocations: 332.9 kB / 0.5357 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1351, allocations: 142.8 kB / 0.5358 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1353, allocations: 86.2 kB / 0.5359 GB, free: 2.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1355, allocations: 358.8 kB / 0.5362 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.136, allocations: 233 kB / 0.5364 GB, free: 1.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.1367, allocations: 354.2 kB / 0.5368 GB, free: 1.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.1378, allocations: 0.5783 MB / 0.5373 GB, free: 0.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1378, allocations: 0 / 0.5373 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001577/0.1394, allocations: 0.7957 MB / 0.5381 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1394, allocations: 8 kB / 0.5381 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1395, allocations: 4.312 kB / 0.5381 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.1397, allocations: 77.67 kB / 0.5382 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.1412, allocations: 279.6 kB / 0.5385 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.1482, allocations: 6.52 MB / 0.5448 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.1487, allocations: 39.95 kB / 0.5449 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.1487, allocations: 12 kB / 0.5449 GB, free: 8.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.1491, allocations: 249.6 kB / 0.5451 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1493, allocations: 55.67 kB / 0.5452 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.1508, allocations: 0.7338 MB / 0.5459 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1508, allocations: 4 kB / 0.5459 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.1508, allocations: 4 kB / 0.5459 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1508, allocations: 3.938 kB / 0.5459 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.1536, allocations: 1.483 MB / 0.5474 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1536, allocations: 0 / 0.5474 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.1553, allocations: 303.6 kB / 0.5476 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.1556, allocations: 93.58 kB / 0.5477 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.1556, allocations: 12 kB / 0.5477 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.1584, allocations: 3.161 MB / 0.5508 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1584, allocations: 4.031 kB / 0.5508 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.1605, allocations: 1.122 MB / 0.5519 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1606, allocations: 120.8 kB / 0.552 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.1607, allocations: 12.03 kB / 0.5521 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.161, allocations: 27.97 kB / 0.5521 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.1612, allocations: 47.81 kB / 0.5521 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.1612, allocations: 12 kB / 0.5521 GB, free: 260 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.1616, allocations: 303.1 kB / 0.5524 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1616, allocations: 0 / 0.5524 GB, free: 15.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.1623, allocations: 136 kB / 0.5526 GB, free: 15.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.1624, allocations: 115.1 kB / 0.5527 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.1652, allocations: 0.9858 MB / 0.5536 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1652, allocations: 0 / 0.5536 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.1672, allocations: 0.724 MB / 0.5543 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.168, allocations: 151 kB / 0.5545 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1706, allocations: 1.485 MB / 0.5559 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.1713, allocations: 0.9409 MB / 0.5569 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1714, allocations: 43.44 kB / 0.5569 GB, free: 11.26 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1714, allocations: 0 / 0.5569 GB, free: 11.26 MB / 430.1 MB Notification: Performance of Templates: time 0.02218/0.1936, allocations: 16.89 MB / 0.5734 GB, free: 10.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.484153146040626] Failed to read output from testmodel.py, exit status != 0: 0.20033413893543184 0.39859065200000005 0.280161753 Calling exit ...