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.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.0009758/0.0009758, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009751/0.0009751, allocations: 167.9 kB / 24.91 MB, free: 9.184 MB / 18.57 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.241/0.241, allocations: 29.42 MB / 291.2 MB, free: 2.484 MB / 266.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.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 1.092e-06/1.092e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.177e-05, allocations: 3.188 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.005604/0.005616, allocations: 6.36 MB / 323.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.008947, allocations: 2.856 MB / 326.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.009265, allocations: 39.75 kB / 326.1 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.009957, allocations: 274.1 kB / 326.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.01117, allocations: 0.7966 MB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.01166, allocations: 331.3 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.01306, allocations: 1.601 MB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.01436, allocations: 1.227 MB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.01532, allocations: 0.9162 MB / 331.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.01604, allocations: 0.6819 MB / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.01618, allocations: 140 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008145/0.01699, allocations: 0.7137 MB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.01731, allocations: 0.5339 MB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.01766, allocations: 471 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01882, allocations: 1.406 MB / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01883, allocations: 0 / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01883, allocations: 4 kB / 335.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.01884, allocations: 3.938 kB / 335.2 MB, free: 13.53 MB / 314.7 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.001548/0.02039, allocations: 1.371 MB / 336.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.02042, allocations: 15.98 kB / 336.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.0209, allocations: 232.7 kB / 336.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.02188, allocations: 0.6255 MB / 337.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.02205, allocations: 381.3 kB / 337.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.02217, allocations: 112.1 kB / 337.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.02302, allocations: 0.8399 MB / 338.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.02305, allocations: 3.953 kB / 338.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.02311, allocations: 51.97 kB / 338.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-05/0.02319, allocations: 73.97 kB / 338.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.02371, allocations: 376.4 kB / 339.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.02704, allocations: 3.626 MB / 342.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.02756, allocations: 447.2 kB / 343.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.02777, allocations: 165.1 kB / 343.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.02781, allocations: 16.64 kB / 343.5 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.02784, allocations: 43.16 kB / 343.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.355e-06/0.02784, allocations: 0 / 343.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002333/0.03017, allocations: 1.272 MB / 344.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.03022, allocations: 111.5 kB / 344.9 MB, free: 3.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.03051, allocations: 482.8 kB / 345.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.03054, allocations: 37.7 kB / 345.4 MB, free: 2.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.03072, allocations: 461 kB / 345.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.03086, allocations: 281.7 kB / 346.2 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.03102, allocations: 182.4 kB / 346.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.03112, allocations: 378.6 kB / 346.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.03128, allocations: 116.8 kB / 346.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.03154, allocations: 397.8 kB / 347.2 MB, free: 0.918 MB / 314.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: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.03235, allocations: 0.8628 MB / 348.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.03235, allocations: 4 kB / 348.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0006347/0.03299, allocations: 0.588 MB / 348.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.03301, allocations: 8 kB / 348.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.03302, allocations: 8 kB / 348.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.03315, allocations: 53.08 kB / 348.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.03362, allocations: 227.6 kB / 348.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/0.0342, allocations: 1.214 MB / 350.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.03444, allocations: 43.94 kB / 350.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.03449, allocations: 40.02 kB / 350.2 MB, free: 13.65 MB / 330.7 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.0001844/0.03467, allocations: 184.3 kB / 350.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.03478, allocations: 71.94 kB / 350.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.03525, allocations: 413.6 kB / 350.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.03527, allocations: 16 kB / 350.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.03527, allocations: 0 / 350.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.03528, allocations: 11.92 kB / 350.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.03679, allocations: 1.143 MB / 352.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0368, allocations: 4 kB / 352.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.03719, allocations: 147.8 kB / 352.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-05/0.03724, allocations: 12.86 kB / 352.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.03727, allocations: 23.92 kB / 352.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/0.03775, allocations: 1.158 MB / 353.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03775, allocations: 4.125 kB / 353.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.03842, allocations: 0.7925 MB / 354.2 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.03857, allocations: 119.5 kB / 354.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.03863, allocations: 19.98 kB / 354.3 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.03882, allocations: 19.98 kB / 354.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.0389, allocations: 56.56 kB / 354.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.03893, allocations: 19.88 kB / 354.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.03907, allocations: 196.4 kB / 354.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03907, allocations: 4 kB / 354.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.03958, allocations: 255.9 kB / 354.9 MB, free: 8.836 MB / 330.7 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.0002157/0.0398, allocations: 141.9 kB / 355 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.04041, allocations: 0.5592 MB / 355.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.04042, allocations: 10.38 kB / 355.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.04068, allocations: 324.4 kB / 355.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.04118, allocations: 186 kB / 356.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.04358, allocations: 1.889 MB / 358 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.04405, allocations: 255.5 kB / 358.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.04432, allocations: 102 kB / 358.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.04463, allocations: 197.2 kB / 358.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04463, allocations: 0 / 358.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01283/0.05747, allocations: 10.65 MB / 369.2 MB, free: 10.61 MB / 346.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0842156908474863]