Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.001562/0.001562, allocations: 118.5 kB / 18.41 MB, free: 4.555 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.00168/0.00168, allocations: 186.7 kB / 21.35 MB, free: 1.621 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.424/1.424, allocations: 222.9 MB / 247 MB, free: 4.207 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.3206/0.3206, allocations: 38 MB / 337.2 MB, free: 12.91 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.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.77 kB / 467.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1064, allocations: 58.06 MB / 0.5133 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008888/0.1154, allocations: 6.334 MB / 0.5194 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.1201, allocations: 2.668 MB / 0.5221 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.1209, allocations: 27.88 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1222, allocations: 326.1 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1237, allocations: 0.5948 MB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.1244, allocations: 291.5 kB / 0.5232 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1259, allocations: 1.192 MB / 0.5244 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.1271, allocations: 0.8768 MB / 0.5253 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.1279, allocations: 494.3 kB / 0.5257 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.1287, allocations: 0.5294 MB / 0.5263 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1289, allocations: 84 kB / 0.5263 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.1295, allocations: 327.5 kB / 0.5267 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.1299, allocations: 339.2 kB / 0.527 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.1304, allocations: 457.9 kB / 0.5274 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.132, allocations: 1.374 MB / 0.5288 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1321, allocations: 0 / 0.5288 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.269e-06/0.1321, allocations: 7.984 kB / 0.5288 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1321, allocations: 0 / 0.5288 GB, free: 9.812 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.0023/0.1344, allocations: 1.171 MB / 0.5299 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1345, allocations: 15.89 kB / 0.5299 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.1351, allocations: 136.3 kB / 0.53 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.1363, allocations: 0.6909 MB / 0.5307 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.1365, allocations: 87.64 kB / 0.5308 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.1366, allocations: 68 kB / 0.5309 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1382, allocations: 0.9608 MB / 0.5318 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.1383, allocations: 0 / 0.5318 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.1383, allocations: 39.97 kB / 0.5318 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.1384, allocations: 49.3 kB / 0.5319 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1399, allocations: 0.7818 MB / 0.5327 GB, free: 5.672 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.005248/0.1452, allocations: 3.837 MB / 0.5364 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.1461, allocations: 0.5167 MB / 0.5369 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.1465, allocations: 242.5 kB / 0.5371 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1466, allocations: 4 kB / 0.5371 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1466, allocations: 38.56 kB / 0.5372 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.1466, allocations: 0 / 0.5372 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01122/0.1578, allocations: 3.768 MB / 0.5409 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.158, allocations: 119.2 kB / 0.541 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.1587, allocations: 0.5261 MB / 0.5415 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.1587, allocations: 37.7 kB / 0.5415 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.1591, allocations: 408.1 kB / 0.5419 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.1592, allocations: 198.3 kB / 0.5421 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.1595, allocations: 126.6 kB / 0.5422 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1597, allocations: 370.8 kB / 0.5426 GB, free: 11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.1602, allocations: 281.8 kB / 0.5428 GB, free: 10.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/0.1609, allocations: 0.5111 MB / 0.5433 GB, free: 10.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.1621, allocations: 0.8442 MB / 0.5442 GB, free: 9.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1621, allocations: 0 / 0.5442 GB, free: 9.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003511/0.1657, allocations: 1.457 MB / 0.5456 GB, free: 7.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1657, allocations: 8 kB / 0.5456 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1657, allocations: 8.25 kB / 0.5456 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.1674, allocations: 458.9 kB / 0.546 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.1679, allocations: 111.8 kB / 0.5462 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.1796, allocations: 9.148 MB / 0.5551 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.1803, allocations: 31.98 kB / 0.5551 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.1804, allocations: 31.98 kB / 0.5551 GB, free: 13.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004914/0.1809, allocations: 313.5 kB / 0.5554 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.181, allocations: 63.58 kB / 0.5555 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.1843, allocations: 1.299 MB / 0.5568 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1843, allocations: 8 kB / 0.5568 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1843, allocations: 4 kB / 0.5568 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1843, allocations: 0 / 0.5568 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.189, allocations: 2.261 MB / 0.559 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.189, allocations: 0 / 0.559 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1893, allocations: 59.91 kB / 0.5591 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.1908, allocations: 435.2 kB / 0.5595 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.1909, allocations: 12 kB / 0.5595 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.2016, allocations: 8.867 MB / 0.5681 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2017, allocations: 0 / 0.5681 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.2058, allocations: 1.847 MB / 0.5699 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.2062, allocations: 212.5 kB / 0.5701 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.2063, allocations: 12 kB / 0.5702 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.2067, allocations: 23.98 kB / 0.5702 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.207, allocations: 60.48 kB / 0.5702 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.207, allocations: 19.94 kB / 0.5703 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005166/0.2076, allocations: 374.8 kB / 0.5706 GB, free: 12.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2076, allocations: 0 / 0.5706 GB, free: 12.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001026/0.2086, allocations: 247.9 kB / 0.5708 GB, free: 12.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.2089, allocations: 143 kB / 0.571 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.2113, allocations: 1.346 MB / 0.5723 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2113, allocations: 0 / 0.5723 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.2128, allocations: 0.9745 MB / 0.5733 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.2138, allocations: 170.2 kB / 0.5734 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.2168, allocations: 1.769 MB / 0.5751 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.2176, allocations: 1.052 MB / 0.5762 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.2178, allocations: 55.36 kB / 0.5762 GB, free: 6.664 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2178, allocations: 0 / 0.5762 GB, free: 6.664 MB / 446.1 MB Notification: Performance of Templates: time 0.2422/0.46, allocations: 24.66 MB / 0.6003 GB, free: 56.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.56278871896211] Failed to read output from testmodel.py, exit status != 0: 0.46667252108454704 0.47590422800000004 0.34195679100000004 Calling exit ...