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.000902/0.000902, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0008917/0.0008917, allocations: 168.4 kB / 25.61 MB, free: 8.582 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.8979/0.8979, allocations: 177.1 MB / 206.1 MB, free: 4.445 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.1178/0.1178, allocations: 29.42 MB / 292 MB, free: 2.59 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.473e-06/1.473e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.83e-05, allocations: 4.5 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.00615/0.006168, allocations: 6.297 MB / 377.2 MB, free: 25.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.009773, allocations: 2.801 MB / 380 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.01017, allocations: 31.75 kB / 380 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.01097, allocations: 274.2 kB / 380.3 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.01237, allocations: 0.8082 MB / 381.1 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.01294, allocations: 327.4 kB / 381.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01428, allocations: 1.596 MB / 383 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009983/0.01527, allocations: 1.207 MB / 384.2 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.01615, allocations: 0.92 MB / 385.1 MB, free: 17.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.01695, allocations: 0.7015 MB / 385.8 MB, free: 17.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01711, allocations: 140 kB / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.01793, allocations: 0.7098 MB / 386.7 MB, free: 16.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.01826, allocations: 0.5339 MB / 387.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.01866, allocations: 471 kB / 387.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.01996, allocations: 1.391 MB / 389.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.01997, allocations: 3.984 kB / 389.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01997, allocations: 3.938 kB / 389.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.01999, allocations: 4 kB / 389.1 MB, free: 14.02 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.004886/0.02488, allocations: 1.543 MB / 390.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.02492, allocations: 8.031 kB / 390.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.02558, allocations: 276.1 kB / 390.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007824/0.02636, allocations: 0.7414 MB / 391.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.02647, allocations: 385.3 kB / 392 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.02657, allocations: 108.1 kB / 392.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.02786, allocations: 0.8629 MB / 393 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.0279, allocations: 8 kB / 393 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.02799, allocations: 40 kB / 393 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.02809, allocations: 77.97 kB / 393.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/0.0289, allocations: 389.5 kB / 393.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.03374, allocations: 4.709 MB / 398.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.03446, allocations: 435.6 kB / 398.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.03475, allocations: 189.9 kB / 398.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.03478, allocations: 12.66 kB / 398.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.03481, allocations: 54.03 kB / 398.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.926e-06/0.03481, allocations: 0 / 398.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.00303/0.03784, allocations: 1.358 MB / 400.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.03788, allocations: 111.5 kB / 400.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.03836, allocations: 0.5605 MB / 400.9 MB, free: 1.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.0384, allocations: 41.86 kB / 400.9 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.03867, allocations: 0.5495 MB / 401.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.03884, allocations: 293.5 kB / 401.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.0391, allocations: 204.1 kB / 402 MB, free: 0.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.03924, allocations: 0.5702 MB / 402.5 MB, free: 0 / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.03952, allocations: 113.9 kB / 402.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.04005, allocations: 0.5262 MB / 403.2 MB, free: 15.19 MB / 330.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.001421/0.04147, allocations: 0.9914 MB / 404.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.04148, allocations: 4 kB / 404.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001264/0.04274, allocations: 0.7361 MB / 404.9 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.04276, allocations: 12 kB / 404.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.04278, allocations: 8 kB / 404.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.04297, allocations: 60.03 kB / 405 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.04366, allocations: 199.7 kB / 405.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.04476, allocations: 1.76 MB / 406.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.04521, allocations: 47.94 kB / 407 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.04527, allocations: 36.03 kB / 407 MB, free: 11.04 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.0003074/0.04558, allocations: 216.3 kB / 407.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.04579, allocations: 103.5 kB / 407.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.04665, allocations: 0.5003 MB / 407.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.04668, allocations: 19.98 kB / 407.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.04668, allocations: 0 / 407.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.04669, allocations: 7.984 kB / 407.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.04896, allocations: 1.268 MB / 409.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.04897, allocations: 0 / 409.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.04949, allocations: 123.8 kB / 409.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.04957, allocations: 19.72 kB / 409.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.04963, allocations: 27.92 kB / 409.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009121/0.05054, allocations: 1.701 MB / 411 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.05054, allocations: 4 kB / 411 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.05185, allocations: 0.906 MB / 411.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.05211, allocations: 139.5 kB / 412 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.0522, allocations: 16 kB / 412.1 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.05254, allocations: 23.98 kB / 412.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.05267, allocations: 56.48 kB / 412.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.05271, allocations: 19.94 kB / 412.2 MB, free: 5.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.05301, allocations: 322.7 kB / 412.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.05301, allocations: 0 / 412.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001049/0.05405, allocations: 263.9 kB / 412.7 MB, free: 5.109 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.0002919/0.05435, allocations: 169 kB / 412.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007619/0.05511, allocations: 0.6658 MB / 413.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.05511, allocations: 0 / 413.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.05542, allocations: 404 kB / 413.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.05594, allocations: 162.1 kB / 414.1 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.05903, allocations: 2.022 MB / 416.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.05923, allocations: 279.5 kB / 416.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.05953, allocations: 102 kB / 416.5 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.05984, allocations: 226 kB / 416.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.05985, allocations: 0 / 416.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of Templates: time 0.0148/0.07465, allocations: 10.85 MB / 427.6 MB, free: 6.293 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.380556923802942]