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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.1764/0.1764, allocations: 38.52 MB / 344.5 MB, free: 2.527 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001925/0.001925, allocations: 67.88 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.007339/0.3559, allocations: 7.25 MB / 0.5376 GB, free: 388 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.3606, allocations: 2.884 MB / 0.5405 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.3611, allocations: 27.22 kB / 0.5405 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3624, allocations: 387.8 kB / 0.5408 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3642, allocations: 0.7955 MB / 0.5416 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.3649, allocations: 305.1 kB / 0.5419 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.3668, allocations: 1.575 MB / 0.5435 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3681, allocations: 1.112 MB / 0.5445 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000904/0.3691, allocations: 0.6711 MB / 0.5452 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3701, allocations: 0.7871 MB / 0.546 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.3703, allocations: 139.5 kB / 0.5461 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3714, allocations: 0.7082 MB / 0.5468 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.3719, allocations: 0.506 MB / 0.5473 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007262/0.3727, allocations: 0.6588 MB / 0.5479 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.375, allocations: 2.122 MB / 0.55 GB, free: 7.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.375, allocations: 0 / 0.55 GB, free: 7.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.375, allocations: 0 / 0.55 GB, free: 7.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.3751, allocations: 5.469 kB / 0.55 GB, free: 7.715 MB / 398.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.003489/0.3785, allocations: 1.577 MB / 0.5515 GB, free: 6.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3786, allocations: 21.52 kB / 0.5516 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.3795, allocations: 170.5 kB / 0.5517 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.381, allocations: 0.8341 MB / 0.5525 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.3812, allocations: 210.1 kB / 0.5527 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.3814, allocations: 106.1 kB / 0.5528 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.3839, allocations: 1.474 MB / 0.5543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.3839, allocations: 4 kB / 0.5543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.384, allocations: 47.97 kB / 0.5543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.3842, allocations: 73.97 kB / 0.5544 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3863, allocations: 1.269 MB / 0.5556 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/0.3936, allocations: 5.178 MB / 0.5607 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3953, allocations: 0.9844 MB / 0.5617 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.3961, allocations: 468.2 kB / 0.5621 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-05/0.3962, allocations: 13.17 kB / 0.5621 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.3962, allocations: 43.12 kB / 0.5622 GB, free: 11.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 4.92e-06/0.3962, allocations: 0 / 0.5622 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006601/0.4028, allocations: 3.105 MB / 0.5652 GB, free: 8.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.4029, allocations: 115.4 kB / 0.5653 GB, free: 8.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.4038, allocations: 0.6875 MB / 0.566 GB, free: 7.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.4039, allocations: 41.64 kB / 0.566 GB, free: 7.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.4043, allocations: 496.2 kB / 0.5665 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.4046, allocations: 281.6 kB / 0.5668 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.4049, allocations: 190.5 kB / 0.5669 GB, free: 6.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4051, allocations: 390.7 kB / 0.5673 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.4058, allocations: 445.8 kB / 0.5677 GB, free: 5.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.4068, allocations: 0.7126 MB / 0.5684 GB, free: 5.125 MB / 414.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.005671/0.4125, allocations: 2.587 MB / 0.571 GB, free: 2.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.4125, allocations: 4 kB / 0.571 GB, free: 2.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002275/0.4148, allocations: 1.309 MB / 0.5722 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4148, allocations: 12 kB / 0.5722 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4148, allocations: 11.94 kB / 0.5723 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.4151, allocations: 81.67 kB / 0.5723 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.4159, allocations: 223.9 kB / 0.5726 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4172, allocations: 1.45 MB / 0.574 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.4179, allocations: 79.94 kB / 0.574 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.418, allocations: 39.98 kB / 0.5741 GB, free: 15.04 MB / 430.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.0006613/0.4187, allocations: 424.6 kB / 0.5745 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.4189, allocations: 83.48 kB / 0.5746 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.4206, allocations: 0.9822 MB / 0.5755 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.4206, allocations: 16 kB / 0.5755 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4206, allocations: 7.938 kB / 0.5755 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4206, allocations: 3.984 kB / 0.5756 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.4243, allocations: 2.265 MB / 0.5778 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4243, allocations: 4 kB / 0.5778 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.425, allocations: 139.8 kB / 0.5779 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-05/0.4251, allocations: 28.88 kB / 0.5779 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.4252, allocations: 19.98 kB / 0.5779 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4263, allocations: 1.394 MB / 0.5793 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4263, allocations: 0 / 0.5793 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.4287, allocations: 1.651 MB / 0.5809 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.4291, allocations: 248.5 kB / 0.5812 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.4292, allocations: 16 kB / 0.5812 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.4297, allocations: 43.94 kB / 0.5812 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.4298, allocations: 64.48 kB / 0.5813 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.4299, allocations: 19.98 kB / 0.5813 GB, free: 7.355 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006526/0.4305, allocations: 483 kB / 0.5818 GB, free: 6.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4305, allocations: 0 / 0.5818 GB, free: 6.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4317, allocations: 271.8 kB / 0.582 GB, free: 6.625 MB / 430.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.0003342/0.432, allocations: 158.1 kB / 0.5822 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.4339, allocations: 1.187 MB / 0.5833 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.434, allocations: 0 / 0.5833 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.4348, allocations: 0.5759 MB / 0.5839 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4359, allocations: 225.6 kB / 0.5841 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.4404, allocations: 2.558 MB / 0.5866 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.4413, allocations: 1.154 MB / 0.5877 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000662/0.4419, allocations: 254.9 kB / 0.588 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4421, allocations: 75.36 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4421, allocations: 0 / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of Templates: time 0.02211/0.4643, allocations: 12.92 MB / 0.6007 GB, free: 3.508 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.435661650262773]