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.001851/0.001851, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.001936/0.001936, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3983/0.3983, allocations: 29.42 MB / 290.5 MB, free: 2.43 MB / 266.7 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.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.483e-06/1.483e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.67e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.01068/0.01071, allocations: 7.159 MB / 376 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.01614, allocations: 2.808 MB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.0166, allocations: 43.62 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.01782, allocations: 373.8 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.01975, allocations: 0.8161 MB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.02054, allocations: 331.3 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.02287, allocations: 1.608 MB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.02451, allocations: 1.195 MB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.02586, allocations: 0.9237 MB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.02702, allocations: 0.7209 MB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.02725, allocations: 140 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.02849, allocations: 0.7059 MB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.0291, allocations: 0.53 MB / 386.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.02973, allocations: 471 kB / 386.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.03269, allocations: 2.201 MB / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0327, allocations: 4 kB / 388.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0327, allocations: 0 / 388.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.03272, allocations: 0 / 388.9 MB, free: 7.219 MB / 362.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.003422/0.03614, allocations: 1.718 MB / 390.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.03618, allocations: 15.98 kB / 390.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.03709, allocations: 284 kB / 390.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.03877, allocations: 0.7805 MB / 391.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.03912, allocations: 381.3 kB / 392 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.03931, allocations: 108.1 kB / 392.1 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.04156, allocations: 1.186 MB / 393.3 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.04159, allocations: 4 kB / 393.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.04171, allocations: 43.98 kB / 393.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.04185, allocations: 73.97 kB / 393.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.0435, allocations: 0.7259 MB / 394.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008756/0.05226, allocations: 5.547 MB / 399.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.05352, allocations: 0.5315 MB / 400.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.05414, allocations: 256.9 kB / 400.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.05421, allocations: 12.66 kB / 400.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.05425, allocations: 46.05 kB / 400.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.05426, allocations: 0 / 400.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.005678/0.05994, allocations: 2.034 MB / 402.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.06003, allocations: 111.6 kB / 402.7 MB, free: 8.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.06105, allocations: 0.7522 MB / 403.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.06111, allocations: 37.7 kB / 403.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.06164, allocations: 0.5776 MB / 404.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.06196, allocations: 313.6 kB / 404.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.06238, allocations: 252.1 kB / 404.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004547/0.06283, allocations: 0.6172 MB / 405.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.06334, allocations: 209.9 kB / 405.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.06442, allocations: 0.6513 MB / 406.1 MB, free: 5.262 MB / 378.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.005154/0.06958, allocations: 1.751 MB / 407.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.06958, allocations: 4 kB / 407.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001982/0.07157, allocations: 0.9276 MB / 408.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.07159, allocations: 8 kB / 408.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.07161, allocations: 8 kB / 408.8 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.07188, allocations: 71.95 kB / 408.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.07279, allocations: 223.6 kB / 409.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.07472, allocations: 1.842 MB / 410.9 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.07533, allocations: 75.88 kB / 411 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.0754, allocations: 40.03 kB / 411 MB, free: 4 kB / 378.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.0005582/0.07596, allocations: 319.7 kB / 411.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.0762, allocations: 107.5 kB / 411.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.07767, allocations: 0.5981 MB / 412.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.0777, allocations: 12 kB / 412.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0777, allocations: 4 kB / 412.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.07771, allocations: 7.984 kB / 412.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.08154, allocations: 1.792 MB / 413.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.08155, allocations: 4 kB / 413.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.08229, allocations: 135.8 kB / 414 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.08241, allocations: 35.64 kB / 414 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.08247, allocations: 16 kB / 414.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.08394, allocations: 1.771 MB / 415.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.08394, allocations: 0 / 415.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.0862, allocations: 1.113 MB / 416.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.08665, allocations: 155.4 kB / 417.1 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/0.08675, allocations: 12 kB / 417.1 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.0872, allocations: 47.89 kB / 417.2 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.08739, allocations: 64.53 kB / 417.2 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.08744, allocations: 23.98 kB / 417.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005836/0.08803, allocations: 430.8 kB / 417.7 MB, free: 9.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08803, allocations: 4 kB / 417.7 MB, free: 9.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001015/0.08904, allocations: 255.9 kB / 417.9 MB, free: 8.902 MB / 394.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.0003854/0.08943, allocations: 162.3 kB / 418.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.09119, allocations: 0.8607 MB / 418.9 MB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.09119, allocations: 1.875 kB / 418.9 MB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008057/0.092, allocations: 486.4 kB / 419.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.09295, allocations: 154 kB / 419.6 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.09718, allocations: 2.079 MB / 421.6 MB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.09789, allocations: 0.5356 MB / 422.2 MB, free: 4.504 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000591/0.09848, allocations: 189.8 kB / 422.4 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.0987, allocations: 68.48 kB / 422.4 MB, free: 4.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0987, allocations: 0 / 422.4 MB, free: 4.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02104/0.1197, allocations: 9.758 MB / 432.2 MB, free: 10.62 MB / 410.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6442305819364265]