Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.001522/0.001522, allocations: 119.4 kB / 18.41 MB, free: 4.656 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.001325/0.001325, allocations: 192.3 kB / 21.35 MB, free: 1.723 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.468/1.468, allocations: 222.9 MB / 247 MB, free: 4.184 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.3783/0.3783, allocations: 37.99 MB / 337.2 MB, free: 13.3 MB / 270.1 MB " [Timeout remaining time 179] 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.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.3 kB / 467.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1012, allocations: 58.06 MB / 0.5133 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.009113/0.1104, allocations: 7.084 MB / 0.5202 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.115, allocations: 2.851 MB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.1154, allocations: 27.81 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1166, allocations: 389.2 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1183, allocations: 0.7855 MB / 0.5241 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.119, allocations: 299.5 kB / 0.5244 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.1208, allocations: 1.581 MB / 0.526 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.1224, allocations: 1.429 MB / 0.5274 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.1233, allocations: 0.6386 MB / 0.528 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1244, allocations: 0.7475 MB / 0.5287 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.1246, allocations: 140 kB / 0.5288 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1258, allocations: 0.6866 MB / 0.5295 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.1263, allocations: 498.9 kB / 0.53 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.127, allocations: 0.6574 MB / 0.5306 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.1294, allocations: 2.118 MB / 0.5327 GB, free: 5.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1294, allocations: 3.938 kB / 0.5327 GB, free: 5.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1294, allocations: 0 / 0.5327 GB, free: 5.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.1294, allocations: 0 / 0.5327 GB, free: 5.777 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003154/0.1326, allocations: 1.588 MB / 0.5343 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1326, allocations: 15.89 kB / 0.5343 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.1333, allocations: 172.1 kB / 0.5344 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1347, allocations: 0.8389 MB / 0.5352 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.1349, allocations: 204.7 kB / 0.5354 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.1351, allocations: 108 kB / 0.5355 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.1375, allocations: 1.461 MB / 0.537 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.1375, allocations: 7.938 kB / 0.537 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1376, allocations: 40 kB / 0.537 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.1378, allocations: 77.97 kB / 0.5371 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.1399, allocations: 1.261 MB / 0.5383 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00727/0.1472, allocations: 5.201 MB / 0.5434 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1489, allocations: 1.028 MB / 0.5444 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.1497, allocations: 0.4925 MB / 0.5449 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.996e-05/0.1498, allocations: 12.56 kB / 0.5449 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1498, allocations: 39.12 kB / 0.5449 GB, free: 8.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 4.789e-06/0.1499, allocations: 0 / 0.5449 GB, free: 8.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006394/0.1563, allocations: 3.106 MB / 0.548 GB, free: 5.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.1564, allocations: 119.5 kB / 0.5481 GB, free: 5.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.1573, allocations: 0.6915 MB / 0.5488 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.1574, allocations: 33.7 kB / 0.5488 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.1578, allocations: 488.2 kB / 0.5493 GB, free: 4.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.1581, allocations: 281.6 kB / 0.5495 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.1585, allocations: 198.5 kB / 0.5497 GB, free: 3.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.1588, allocations: 390.7 kB / 0.5501 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.1595, allocations: 441.8 kB / 0.5505 GB, free: 2.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.1605, allocations: 0.7246 MB / 0.5512 GB, free: 2.125 MB / 414.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: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005876/0.1664, allocations: 2.568 MB / 0.5537 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1664, allocations: 4 kB / 0.5537 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002329/0.1688, allocations: 1.317 MB / 0.555 GB, free: 14.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.1688, allocations: 8 kB / 0.555 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.1688, allocations: 11.94 kB / 0.555 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.1691, allocations: 85.66 kB / 0.5551 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008547/0.17, allocations: 223.6 kB / 0.5553 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1713, allocations: 1.446 MB / 0.5567 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.1721, allocations: 79.88 kB / 0.5568 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.1722, allocations: 40 kB / 0.5569 GB, free: 12.05 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[6],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0006606/0.1729, allocations: 421.2 kB / 0.5573 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.1731, allocations: 87.47 kB / 0.5573 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.175, allocations: 0.9863 MB / 0.5583 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.175, allocations: 15.98 kB / 0.5583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.1751, allocations: 7.938 kB / 0.5583 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1751, allocations: 3.984 kB / 0.5583 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.1792, allocations: 2.265 MB / 0.5605 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1793, allocations: 0 / 0.5605 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.18, allocations: 147.8 kB / 0.5607 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.1801, allocations: 16.89 kB / 0.5607 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.167e-05/0.1802, allocations: 27.98 kB / 0.5607 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1814, allocations: 1.383 MB / 0.5621 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1814, allocations: 0 / 0.5621 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.1842, allocations: 1.651 MB / 0.5637 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.1846, allocations: 252.5 kB / 0.5639 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.1848, allocations: 12.08 kB / 0.5639 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.1853, allocations: 51.92 kB / 0.564 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.1855, allocations: 60.47 kB / 0.564 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.1856, allocations: 20 kB / 0.5641 GB, free: 4.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007326/0.1863, allocations: 487 kB / 0.5645 GB, free: 3.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1863, allocations: 0 / 0.5645 GB, free: 3.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001046/0.1874, allocations: 263.9 kB / 0.5648 GB, free: 3.645 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * 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,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.0003989/0.1878, allocations: 151 kB / 0.5649 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.1902, allocations: 1.25 MB / 0.5661 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1902, allocations: 0 / 0.5661 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.1912, allocations: 0.6228 MB / 0.5668 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1924, allocations: 225.4 kB / 0.567 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.1974, allocations: 2.611 MB / 0.5695 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.1985, allocations: 1.157 MB / 0.5707 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.1989, allocations: 75.42 kB / 0.5707 GB, free: 13.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.348e-06/0.1989, allocations: 0 / 0.5707 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Templates: time 0.2617/0.4606, allocations: 20.99 MB / 0.5912 GB, free: 64.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.8726819769945] Failed to read output from testmodel.py, exit status != 0: 0.46709908603224903 0.47873577800000006 0.347162953 Calling exit ...