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.0009029/0.0009029, allocations: 80.8 kB / 21.5 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.0009907/0.0009907, allocations: 168.7 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 0.9732/0.9732, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.269/0.269, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.512e-06/1.512e-06, allocations: 3.938 kB / 316.8 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.448e-05, allocations: 2.312 kB / 316.8 MB, free: 44 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006124/0.006138, allocations: 6.315 MB / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.009644, allocations: 2.86 MB / 326 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.01003, allocations: 39.69 kB / 326 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.01081, allocations: 270.2 kB / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01202, allocations: 0.8122 MB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.0125, allocations: 339.3 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.0139, allocations: 1.592 MB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.01485, allocations: 1.231 MB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.01569, allocations: 0.92 MB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.01636, allocations: 0.6897 MB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.01651, allocations: 136 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.0172, allocations: 0.702 MB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006899/0.01789, allocations: 0.5339 MB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.01853, allocations: 475 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.02042, allocations: 1.398 MB / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.02043, allocations: 0 / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02043, allocations: 0 / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-05/0.02048, allocations: 0 / 335.1 MB, free: 13.66 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.002091/0.02257, allocations: 1.386 MB / 336.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.02261, allocations: 11.98 kB / 336.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.02325, allocations: 236.7 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.02427, allocations: 0.6178 MB / 337.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.02449, allocations: 381.3 kB / 337.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.02462, allocations: 112 kB / 337.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.02562, allocations: 0.8439 MB / 338.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.02565, allocations: 7.953 kB / 338.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.02572, allocations: 47.92 kB / 338.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/0.02581, allocations: 73.97 kB / 338.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.02639, allocations: 376.4 kB / 339.2 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.0302, allocations: 3.626 MB / 342.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.03076, allocations: 443.2 kB / 343.2 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.03099, allocations: 169.1 kB / 343.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.03104, allocations: 12.66 kB / 343.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.03107, allocations: 47.22 kB / 343.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.617e-06/0.03107, allocations: 0 / 343.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002543/0.03362, allocations: 1.272 MB / 344.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.03367, allocations: 111.5 kB / 344.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.034, allocations: 478.8 kB / 345.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.03405, allocations: 41.7 kB / 345.3 MB, free: 2.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.03424, allocations: 457 kB / 345.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.03438, allocations: 273.6 kB / 346.1 MB, free: 2.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.03456, allocations: 186.4 kB / 346.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.0347, allocations: 386.6 kB / 346.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.03487, allocations: 112.8 kB / 346.7 MB, free: 1.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.03514, allocations: 401.8 kB / 347.1 MB, free: 1.031 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.0008636/0.036, allocations: 0.8628 MB / 348 MB, free: 52 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.03601, allocations: 7.938 kB / 348 MB, free: 44 kB / 314.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0007327/0.03674, allocations: 0.5848 MB / 348.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.03676, allocations: 8 kB / 348.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.03678, allocations: 8 kB / 348.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.03696, allocations: 64.28 kB / 348.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.03741, allocations: 191.7 kB / 348.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007228/0.03813, allocations: 1.21 MB / 350.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.03847, allocations: 43.94 kB / 350.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.03851, allocations: 35.98 kB / 350.1 MB, free: 13.79 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.0002658/0.03878, allocations: 180.3 kB / 350.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.03892, allocations: 67.94 kB / 350.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.03953, allocations: 425.6 kB / 350.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.03955, allocations: 23.98 kB / 350.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.03956, allocations: 48 / 350.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.03957, allocations: 7.969 kB / 350.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.04134, allocations: 1.147 MB / 352 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.04134, allocations: 0 / 352 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.04172, allocations: 119.8 kB / 352.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.04184, allocations: 20.84 kB / 352.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.04188, allocations: 19.98 kB / 352.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000759/0.04264, allocations: 1.154 MB / 353.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04264, allocations: 0 / 353.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.04343, allocations: 0.7925 MB / 354.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.04364, allocations: 123.5 kB / 354.2 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.04369, allocations: 16 kB / 354.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.0439, allocations: 27.98 kB / 354.2 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.044, allocations: 56.64 kB / 354.3 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.04402, allocations: 15.98 kB / 354.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.04419, allocations: 192.4 kB / 354.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04419, allocations: 0 / 354.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007323/0.04492, allocations: 259.9 kB / 354.7 MB, free: 9 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.0003153/0.04524, allocations: 140.8 kB / 354.9 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007754/0.04602, allocations: 0.5603 MB / 355.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/0.04603, allocations: 13.25 kB / 355.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.04632, allocations: 324.5 kB / 355.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.04688, allocations: 187.5 kB / 356 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.05024, allocations: 1.895 MB / 357.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.05047, allocations: 259.5 kB / 358.1 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.05089, allocations: 110 kB / 358.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.05126, allocations: 193.2 kB / 358.4 MB, free: 5.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.854e-06/0.05126, allocations: 0 / 358.4 MB, free: 5.238 MB / 330.7 MB Notification: Performance of Templates: time 0.01797/0.06923, allocations: 10.63 MB / 369 MB, free: 10.77 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.243632776197046]