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.001822/0.001822, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.002252/0.002252, allocations: 162.1 kB / 24.5 MB, free: 3.707 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 8.98 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.1776/0.1776, allocations: 29.43 MB / 290.7 MB, free: 3.234 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 63.89 kB / 431.2 MB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 62.45 MB / 493.6 MB, free: 37.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006517/0.3397, allocations: 6.772 MB / 0.4887 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.3433, allocations: 2.71 MB / 0.4913 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.3437, allocations: 34.84 kB / 0.4914 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009911/0.3447, allocations: 369.6 kB / 0.4917 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3462, allocations: 0.8061 MB / 0.4925 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.3468, allocations: 309.8 kB / 0.4928 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3482, allocations: 1.587 MB / 0.4943 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/0.3492, allocations: 1.158 MB / 0.4955 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.3498, allocations: 0.6831 MB / 0.4961 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.3506, allocations: 0.7501 MB / 0.4969 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.3508, allocations: 140.3 kB / 0.497 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009112/0.3517, allocations: 0.6995 MB / 0.4977 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.3521, allocations: 0.5055 MB / 0.4982 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.3526, allocations: 0.5414 MB / 0.4987 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.3541, allocations: 2.122 MB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3541, allocations: 3 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3541, allocations: 0 / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.3541, allocations: 0 / 0.5008 GB, free: 27.34 MB / 446.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.002492/0.3566, allocations: 1.512 MB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3566, allocations: 13.83 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.3573, allocations: 179 kB / 0.5024 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3584, allocations: 0.7805 MB / 0.5032 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.3586, allocations: 385.7 kB / 0.5036 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3588, allocations: 103.9 kB / 0.5037 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.3605, allocations: 1.469 MB / 0.5051 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.3605, allocations: 15.05 kB / 0.5051 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.3606, allocations: 41.03 kB / 0.5052 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3607, allocations: 81.36 kB / 0.5052 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3624, allocations: 1.262 MB / 0.5065 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/0.3674, allocations: 4.599 MB / 0.511 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.3686, allocations: 0.8036 MB / 0.5117 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.3693, allocations: 472.8 kB / 0.5122 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.3694, allocations: 16.12 kB / 0.5122 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3694, allocations: 40.59 kB / 0.5123 GB, free: 20.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.3694, allocations: 0 / 0.5123 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005393/0.3748, allocations: 2.947 MB / 0.5151 GB, free: 19.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3748, allocations: 111.7 kB / 0.5152 GB, free: 19.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3754, allocations: 0.5677 MB / 0.5158 GB, free: 18.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3754, allocations: 36.45 kB / 0.5158 GB, free: 18.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3756, allocations: 0.4985 MB / 0.5163 GB, free: 18.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3758, allocations: 280.8 kB / 0.5166 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.376, allocations: 191.4 kB / 0.5168 GB, free: 18.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.3761, allocations: 379.9 kB / 0.5171 GB, free: 17.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.3768, allocations: 439.5 kB / 0.5175 GB, free: 17.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/0.3776, allocations: 0.7194 MB / 0.5182 GB, free: 17.21 MB / 446.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.005335/0.3829, allocations: 2.507 MB / 0.5207 GB, free: 16.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.3829, allocations: 3.312 kB / 0.5207 GB, free: 16.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00213/0.385, allocations: 1.305 MB / 0.522 GB, free: 15.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3851, allocations: 9.906 kB / 0.522 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3851, allocations: 7.844 kB / 0.522 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.3853, allocations: 89.02 kB / 0.5221 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.3862, allocations: 230.1 kB / 0.5223 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/0.387, allocations: 1.317 MB / 0.5236 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.3876, allocations: 77.55 kB / 0.5237 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.3877, allocations: 44.22 kB / 0.5237 GB, free: 14.13 MB / 446.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.0006168/0.3883, allocations: 419.8 kB / 0.5241 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.3885, allocations: 77.12 kB / 0.5242 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.3901, allocations: 0.9632 MB / 0.5251 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.3901, allocations: 17.11 kB / 0.5251 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3901, allocations: 6.828 kB / 0.5251 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3902, allocations: 2.859 kB / 0.5251 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.3934, allocations: 1.955 MB / 0.527 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3934, allocations: 0 / 0.527 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.3941, allocations: 146 kB / 0.5272 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-05/0.3941, allocations: 28.36 kB / 0.5272 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.3942, allocations: 14.91 kB / 0.5272 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006304/0.3948, allocations: 1.27 MB / 0.5285 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3948, allocations: 0 / 0.5285 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.3971, allocations: 1.641 MB / 0.5301 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.3975, allocations: 163.5 kB / 0.5302 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.3976, allocations: 18.2 kB / 0.5302 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.3981, allocations: 50.53 kB / 0.5303 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3983, allocations: 60.36 kB / 0.5303 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.3983, allocations: 21.19 kB / 0.5304 GB, free: 10.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004961/0.3988, allocations: 382.2 kB / 0.5307 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3988, allocations: 0 / 0.5307 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3999, allocations: 259.8 kB / 0.531 GB, free: 10.04 MB / 446.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.0002925/0.4002, allocations: 157.6 kB / 0.5311 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.4019, allocations: 1.111 MB / 0.5322 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4019, allocations: 4.156 kB / 0.5322 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.4028, allocations: 0.5751 MB / 0.5328 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.4036, allocations: 158 kB / 0.5329 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.4082, allocations: 2.512 MB / 0.5354 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.409, allocations: 0.5542 MB / 0.5359 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008583/0.4099, allocations: 238.8 kB / 0.5362 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.4101, allocations: 65.28 kB / 0.5362 GB, free: 7.551 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4101, allocations: 0 / 0.5362 GB, free: 7.551 MB / 446.1 MB Notification: Performance of Templates: time 0.01821/0.4283, allocations: 9.76 MB / 0.5457 GB, free: 3.539 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5230511870468035] Failed to read output from testmodel.py, exit status != 0: 0.4369591739960015 0.450216594 0.09304425000000001 Calling exit ...