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.00181/0.00181, allocations: 84.39 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002206/0.002206, allocations: 166.3 kB / 23.95 MB, free: 4.16 MB / 14.72 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.3 MB, free: 9.172 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.1858/0.1858, allocations: 29.44 MB / 290.1 MB, free: 3.262 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.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.603e-06/1.603e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.567e-05, allocations: 2.281 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.009911/0.009937, allocations: 6.742 MB / 437.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.01518, allocations: 2.703 MB / 440.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.0158, allocations: 35.75 kB / 440.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.01726, allocations: 373.8 kB / 440.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.01953, allocations: 0.8315 MB / 441.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.02044, allocations: 315.4 kB / 441.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.02274, allocations: 1.608 MB / 443.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.02452, allocations: 1.167 MB / 444.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.02598, allocations: 0.9197 MB / 445.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.02716, allocations: 0.6858 MB / 446.1 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.0274, allocations: 140 kB / 446.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.02878, allocations: 0.7019 MB / 446.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.02934, allocations: 0.5222 MB / 447.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.02997, allocations: 471 kB / 447.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2003/0.2303, allocations: 2.182 MB / 450.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.2303, allocations: 4.719 kB / 450.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2303, allocations: 0 / 450.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.182e-05/0.2303, allocations: 0 / 450.1 MB, free: 19.18 MB / 366.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.003556/0.2339, allocations: 1.497 MB / 451.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.234, allocations: 13.36 kB / 451.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.2348, allocations: 184.7 kB / 451.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.2364, allocations: 0.772 MB / 452.6 MB, free: 18.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.2367, allocations: 386.8 kB / 452.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.2369, allocations: 106.3 kB / 453 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.2397, allocations: 1.471 MB / 454.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.2397, allocations: 12.86 kB / 454.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.2398, allocations: 39.31 kB / 454.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.24, allocations: 80.91 kB / 454.6 MB, free: 17.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.2423, allocations: 1.27 MB / 455.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.2489, allocations: 4.577 MB / 460.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2504, allocations: 0.8113 MB / 461.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008838/0.2513, allocations: 467 kB / 461.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.2513, allocations: 12.47 kB / 461.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2514, allocations: 41.12 kB / 461.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 3.025e-06/0.2514, allocations: 0 / 461.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.006621/0.258, allocations: 2.943 MB / 464.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2581, allocations: 114.8 kB / 464.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.2588, allocations: 0.5701 MB / 465.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.2589, allocations: 37.05 kB / 465.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.2591, allocations: 0.4984 MB / 466 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2593, allocations: 280.5 kB / 466.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.2596, allocations: 187.8 kB / 466.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2598, allocations: 377.7 kB / 466.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.2605, allocations: 441.6 kB / 467.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/0.2614, allocations: 0.7121 MB / 467.9 MB, free: 11.21 MB / 366.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.00565/0.267, allocations: 2.513 MB / 470.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.2671, allocations: 3.125 kB / 470.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0023/0.2694, allocations: 1.312 MB / 471.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.2694, allocations: 9.219 kB / 471.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.2694, allocations: 10 kB / 471.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.2697, allocations: 87.19 kB / 471.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.2706, allocations: 224.6 kB / 472.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000878/0.2715, allocations: 1.316 MB / 473.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.2722, allocations: 77.78 kB / 473.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.2722, allocations: 43.41 kB / 473.5 MB, free: 8.27 MB / 366.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.0006256/0.2729, allocations: 409.8 kB / 473.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2731, allocations: 72.12 kB / 474 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.2747, allocations: 0.9739 MB / 475 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.2747, allocations: 17.72 kB / 475 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2747, allocations: 1.375 kB / 475 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2747, allocations: 2.312 kB / 475 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.278, allocations: 1.96 MB / 476.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.278, allocations: 3.844 kB / 476.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.2786, allocations: 143.5 kB / 477.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.2787, allocations: 29.98 kB / 477.1 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.2788, allocations: 25.33 kB / 477.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005797/0.2794, allocations: 1.256 MB / 478.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2794, allocations: 0 / 478.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.2813, allocations: 1.641 MB / 480 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.2816, allocations: 157.5 kB / 480.2 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2817, allocations: 19.78 kB / 480.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.2822, allocations: 46.19 kB / 480.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.2824, allocations: 64.83 kB / 480.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.2824, allocations: 19.81 kB / 480.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003801/0.2828, allocations: 377 kB / 480.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2828, allocations: 0 / 480.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00101/0.2838, allocations: 258.5 kB / 481 MB, free: 4.266 MB / 366.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.0004114/0.2842, allocations: 164.1 kB / 481.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.286, allocations: 1.11 MB / 482.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.286, allocations: 4.312 kB / 482.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.2867, allocations: 0.578 MB / 482.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.2876, allocations: 142.2 kB / 483 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.2915, allocations: 2.348 MB / 485.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.292, allocations: 0.5591 MB / 485.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005517/0.2926, allocations: 241.8 kB / 486.1 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.2928, allocations: 60.48 kB / 486.2 MB, free: 368 kB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2928, allocations: 0 / 486.2 MB, free: 368 kB / 366.1 MB Notification: Performance of Templates: time 0.02067/0.3135, allocations: 9.719 MB / 495.9 MB, free: 6.809 MB / 382.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: 5.527379311621189] Failed to read output from testmodel.py, exit status != 0: 0.32315392419695854 0.33876110499999995 0.10502762500000001 Calling exit ...