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.003155/0.003155, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.004499/0.004499, allocations: 167.9 kB / 24.82 MB, free: 9.277 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2561/0.2561, allocations: 29.42 MB / 291.2 MB, free: 2.473 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.613e-06/1.613e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.689e-05, allocations: 6.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006143/0.00616, allocations: 6.296 MB / 376.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.009613, allocations: 2.792 MB / 379.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.00994, allocations: 39.69 kB / 379.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.01069, allocations: 278.1 kB / 379.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01188, allocations: 0.8083 MB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.01237, allocations: 331.3 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.01368, allocations: 1.593 MB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.0147, allocations: 1.195 MB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.01553, allocations: 0.9277 MB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.01616, allocations: 0.7054 MB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.01629, allocations: 136 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.01699, allocations: 0.7097 MB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.01731, allocations: 0.5339 MB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.01764, allocations: 475 kB / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.01882, allocations: 1.394 MB / 388.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01882, allocations: 0 / 388.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01882, allocations: 0 / 388.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.01883, allocations: 0 / 388.3 MB, free: 8.453 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.001738/0.02057, allocations: 1.543 MB / 389.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.02061, allocations: 15.98 kB / 389.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.0211, allocations: 276 kB / 390.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.02185, allocations: 0.7415 MB / 390.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.02207, allocations: 377.3 kB / 391.2 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.02218, allocations: 112.1 kB / 391.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.0231, allocations: 0.8552 MB / 392.2 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.02313, allocations: 7.875 kB / 392.2 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.02319, allocations: 51.97 kB / 392.2 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.254e-05/0.02327, allocations: 73.97 kB / 392.3 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.0238, allocations: 397.5 kB / 392.7 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.02753, allocations: 4.697 MB / 397.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.02803, allocations: 433.2 kB / 397.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.02827, allocations: 189 kB / 398 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.02831, allocations: 12.66 kB / 398 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.02835, allocations: 50.05 kB / 398.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.454e-06/0.02835, allocations: 4 kB / 398.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.002123/0.03047, allocations: 1.354 MB / 399.4 MB, free: 12.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.03052, allocations: 115.4 kB / 399.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.03091, allocations: 0.5527 MB / 400.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.03095, allocations: 41.7 kB / 400.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.03124, allocations: 0.5575 MB / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.03139, allocations: 285.6 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.03158, allocations: 204.1 kB / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.03187, allocations: 0.5702 MB / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.03202, allocations: 117.9 kB / 401.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.03235, allocations: 0.5262 MB / 402.4 MB, free: 9.625 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.001007/0.03335, allocations: 0.9914 MB / 403.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.03336, allocations: 4 kB / 403.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0007273/0.03408, allocations: 0.7284 MB / 404.1 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.0341, allocations: 8 kB / 404.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.03411, allocations: 15.94 kB / 404.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.03426, allocations: 63.97 kB / 404.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.03465, allocations: 195.7 kB / 404.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008484/0.0355, allocations: 1.76 MB / 406.1 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.03573, allocations: 51.89 kB / 406.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.03577, allocations: 40.02 kB / 406.2 MB, free: 5.469 MB / 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.0004971/0.03627, allocations: 217.2 kB / 406.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.03639, allocations: 99.72 kB / 406.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.03691, allocations: 0.5041 MB / 407 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.03692, allocations: 16 kB / 407.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.03693, allocations: 0 / 407.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.03693, allocations: 7.984 kB / 407.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.03826, allocations: 1.268 MB / 408.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.03826, allocations: 0 / 408.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.03857, allocations: 123.8 kB / 408.5 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.684e-05/0.03863, allocations: 23.7 kB / 408.5 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.03866, allocations: 27.92 kB / 408.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006524/0.03931, allocations: 1.697 MB / 410.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03931, allocations: 4 kB / 410.2 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.04004, allocations: 0.906 MB / 411.1 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.0402, allocations: 151.4 kB / 411.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.04025, allocations: 16 kB / 411.3 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.04043, allocations: 23.98 kB / 411.3 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.04051, allocations: 52.55 kB / 411.4 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.04054, allocations: 23.86 kB / 411.4 MB, free: 108 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.04072, allocations: 322.7 kB / 411.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04072, allocations: 0 / 411.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005035/0.04122, allocations: 255.9 kB / 411.9 MB, free: 15.54 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.0002346/0.04146, allocations: 170.9 kB / 412.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006501/0.04211, allocations: 0.6621 MB / 412.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.04211, allocations: 0 / 412.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.0424, allocations: 406.4 kB / 413.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.0429, allocations: 155 kB / 413.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.04612, allocations: 2.032 MB / 415.4 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.04636, allocations: 279.5 kB / 415.6 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.04668, allocations: 110 kB / 415.7 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.04704, allocations: 218.1 kB / 415.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04704, allocations: 0 / 415.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of Templates: time 0.01585/0.06289, allocations: 10.64 MB / 426.6 MB, free: 0.9062 MB / 394.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: 3.3764934963546693]