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.000662/0.000662, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.001895, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007036/0.0007036, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008607/0.001564, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9564/0.9564, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0778/1.034, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.115/0.115, allocations: 29.42 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1466/0.2616, allocations: 9.517 MB / 282.9 MB, free: 12.84 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 1.503e-06/1.503e-06, allocations: 1.094 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.827e-06/1.033e-05, allocations: 2.859 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.005172/0.005183, allocations: 6.407 MB / 290.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.008162, allocations: 2.884 MB / 293.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.008417, allocations: 35.06 kB / 293.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.008975, allocations: 294.2 kB / 293.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.01003, allocations: 0.8057 MB / 294.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.01046, allocations: 328 kB / 294.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.01161, allocations: 1.609 MB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.01244, allocations: 1.2 MB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.01311, allocations: 0.9519 MB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.0137, allocations: 0.6937 MB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.01382, allocations: 140 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006353/0.01445, allocations: 0.702 MB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.01473, allocations: 475 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.01504, allocations: 395.3 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009411/0.01598, allocations: 1.278 MB / 302.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.01599, allocations: 0 / 302.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01599, allocations: 0 / 302.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.01601, allocations: 0 / 302.4 MB, free: 12.56 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.001578/0.01759, allocations: 1.644 MB / 304 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.415e-05/0.01761, allocations: 8.031 kB / 304 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.01807, allocations: 309.8 kB / 304.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.01874, allocations: 0.6255 MB / 304.9 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.01892, allocations: 384.6 kB / 305.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01902, allocations: 104 kB / 305.4 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.01982, allocations: 0.84 MB / 306.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.01984, allocations: 3.953 kB / 306.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.01991, allocations: 47.98 kB / 306.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/0.01998, allocations: 73.97 kB / 306.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.02045, allocations: 372.4 kB / 306.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.02342, allocations: 3.637 MB / 310.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.02389, allocations: 443.5 kB / 310.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.02408, allocations: 168.5 kB / 311 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.02411, allocations: 12.66 kB / 311 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.02413, allocations: 39.22 kB / 311 MB, free: 3.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 1.904e-06/0.02414, allocations: 0 / 311 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.00192/0.02606, allocations: 1.27 MB / 312.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.0261, allocations: 115.5 kB / 312.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.02637, allocations: 479 kB / 312.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.0264, allocations: 33.7 kB / 312.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.02656, allocations: 465 kB / 313.4 MB, free: 1.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.02669, allocations: 281.5 kB / 313.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.02686, allocations: 178.5 kB / 313.8 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.02695, allocations: 382.6 kB / 314.2 MB, free: 228 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.0271, allocations: 116.8 kB / 314.3 MB, free: 108 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02735, allocations: 401.7 kB / 314.7 MB, free: 15.59 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.0007707/0.02812, allocations: 0.8672 MB / 315.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.02813, allocations: 4 kB / 315.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0006024/0.02873, allocations: 0.5839 MB / 316.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.02874, allocations: 8 kB / 316.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.02875, allocations: 8.844 kB / 316.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.02887, allocations: 52.52 kB / 316.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.02936, allocations: 243.6 kB / 316.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005533/0.02991, allocations: 1.214 MB / 317.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.03015, allocations: 51.97 kB / 317.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.03019, allocations: 32 kB / 317.8 MB, free: 12.31 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.0001763/0.03037, allocations: 168.4 kB / 317.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.03047, allocations: 83.8 kB / 318 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.03093, allocations: 413.7 kB / 318.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.03094, allocations: 16 kB / 318.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.03095, allocations: 0 / 318.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.03096, allocations: 7.984 kB / 318.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.03215, allocations: 1.15 MB / 319.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.03216, allocations: 3.938 kB / 319.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.03255, allocations: 147.9 kB / 319.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.03269, allocations: 123.5 kB / 319.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.03275, allocations: 20.78 kB / 319.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.03278, allocations: 12 kB / 319.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004587/0.03324, allocations: 1.171 MB / 321 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03324, allocations: 0 / 321 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.03387, allocations: 0.7887 MB / 321.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.03392, allocations: 19.98 kB / 321.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.03411, allocations: 23.98 kB / 321.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.03419, allocations: 56.5 kB / 321.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.03421, allocations: 16.06 kB / 322 MB, free: 7.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.03434, allocations: 196.4 kB / 322.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03434, allocations: 0 / 322.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004556/0.0348, allocations: 263.9 kB / 322.4 MB, free: 7.488 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.0001949/0.03499, allocations: 148.8 kB / 322.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.03556, allocations: 0.5605 MB / 323.1 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.03558, allocations: 12.5 kB / 323.1 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.03584, allocations: 329.1 kB / 323.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.03633, allocations: 242.4 kB / 323.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.05081, allocations: 1.924 MB / 325.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.051, allocations: 263.5 kB / 325.9 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.05126, allocations: 106 kB / 326 MB, free: 3.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.05155, allocations: 193.3 kB / 326.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05155, allocations: 0 / 326.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of Templates: time 0.0126/0.06415, allocations: 10.9 MB / 337 MB, free: 8.906 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: 3.016386028379202]