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.0006608/0.0006608, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009329/0.001594, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006976/0.0006976, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001725, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.933/0.933, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07853/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.149/0.149, allocations: 29.42 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/0.2587, allocations: 9.535 MB / 283.1 MB, free: 12.81 MB / 282.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 4.559e-06/4.559e-06, allocations: 7.922 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.48e-05, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.008424/0.008449, allocations: 6.417 MB / 290.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.01357, allocations: 2.89 MB / 293.7 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000726/0.01429, allocations: 38 kB / 293.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.01523, allocations: 292.8 kB / 294.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.01729, allocations: 0.8102 MB / 294.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.01814, allocations: 328.1 kB / 295.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.02034, allocations: 1.608 MB / 296.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.02183, allocations: 1.188 MB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.02337, allocations: 0.9636 MB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.02449, allocations: 0.6975 MB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.02471, allocations: 136 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.02601, allocations: 0.7059 MB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.0265, allocations: 471 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.02706, allocations: 395.3 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.02886, allocations: 1.285 MB / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.02887, allocations: 0 / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02887, allocations: 0 / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.0289, allocations: 0 / 302.6 MB, free: 12.42 MB / 298.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.002634/0.03153, allocations: 1.636 MB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.03157, allocations: 12.03 kB / 304.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.03237, allocations: 301.8 kB / 304.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.03351, allocations: 0.6294 MB / 305.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.03376, allocations: 384.7 kB / 305.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.03393, allocations: 104 kB / 305.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.03526, allocations: 0.8322 MB / 306.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.0353, allocations: 11.89 kB / 306.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/0.03539, allocations: 40 kB / 306.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.03551, allocations: 77.95 kB / 306.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.03627, allocations: 368.5 kB / 307 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.04133, allocations: 3.649 MB / 310.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.04208, allocations: 439.2 kB / 311.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.04238, allocations: 164.5 kB / 311.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.04243, allocations: 16.64 kB / 311.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.04247, allocations: 43.16 kB / 311.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 4.449e-06/0.04247, allocations: 0 / 311.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.003238/0.04571, allocations: 1.283 MB / 312.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.04577, allocations: 115.5 kB / 312.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.04622, allocations: 478.8 kB / 313.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.04627, allocations: 37.86 kB / 313.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.04652, allocations: 461 kB / 313.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.04672, allocations: 285.5 kB / 313.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.04696, allocations: 178.5 kB / 314.1 MB, free: 460 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.0471, allocations: 390.6 kB / 314.5 MB, free: 60 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.04737, allocations: 112.8 kB / 314.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.04776, allocations: 393.8 kB / 315 MB, free: 15.44 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.001287/0.04905, allocations: 0.9023 MB / 315.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.04906, allocations: 4 kB / 315.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00105/0.05011, allocations: 0.584 MB / 316.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.05013, allocations: 8 kB / 316.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.05015, allocations: 8 kB / 316.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.05035, allocations: 61.22 kB / 316.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.05115, allocations: 239.6 kB / 316.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008719/0.05202, allocations: 1.202 MB / 318 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.05256, allocations: 51.97 kB / 318 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.05262, allocations: 32 kB / 318 MB, free: 12.13 MB / 314.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.0003296/0.05295, allocations: 173.7 kB / 318.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.05315, allocations: 72.02 kB / 318.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.05391, allocations: 421.6 kB / 318.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.05393, allocations: 16 kB / 318.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.05393, allocations: 0 / 318.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.05395, allocations: 7.984 kB / 318.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.05599, allocations: 1.147 MB / 319.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.05599, allocations: 3.938 kB / 319.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.05663, allocations: 151.9 kB / 320 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.05689, allocations: 123.5 kB / 320.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.724e-05/0.05698, allocations: 16.84 kB / 320.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.05703, allocations: 12 kB / 320.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007317/0.05776, allocations: 1.171 MB / 321.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.05777, allocations: 7.922 kB / 321.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.0588, allocations: 0.7809 MB / 322.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.0589, allocations: 19.98 kB / 322.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.05923, allocations: 31.91 kB / 322.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.05936, allocations: 60.48 kB / 322.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.0594, allocations: 16 kB / 322.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.05961, allocations: 196.5 kB / 322.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05961, allocations: 0 / 322.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006127/0.06023, allocations: 259.9 kB / 322.7 MB, free: 7.301 MB / 314.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.0002962/0.06052, allocations: 150.2 kB / 322.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.06119, allocations: 0.5697 MB / 323.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/0.06121, allocations: 12.5 kB / 323.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.06154, allocations: 370.8 kB / 323.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.06236, allocations: 1.189 MB / 325 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.07524, allocations: 1.908 MB / 326.9 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.07548, allocations: 267.5 kB / 327.1 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.07584, allocations: 113.9 kB / 327.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.07614, allocations: 193.3 kB / 327.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.07615, allocations: 0 / 327.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of Templates: time 0.01332/0.08947, allocations: 10.63 MB / 338.1 MB, free: 7.77 MB / 330.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: 2.930716311559081]