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.001345/0.001345, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001412/0.001412, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 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.543/1.543, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.2011/0.2011, allocations: 38.53 MB / 346.3 MB, free: 2.066 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.002055/0.002055, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4098, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.008498/0.4183, allocations: 7.285 MB / 0.5401 GB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.4237, allocations: 2.889 MB / 0.543 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.4245, allocations: 33.56 kB / 0.543 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.4259, allocations: 392.5 kB / 0.5434 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.4282, allocations: 0.8113 MB / 0.5442 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.4291, allocations: 305.9 kB / 0.5445 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.4314, allocations: 1.581 MB / 0.546 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.4328, allocations: 1.117 MB / 0.5471 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.434, allocations: 0.6818 MB / 0.5478 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.4351, allocations: 0.7874 MB / 0.5485 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.4353, allocations: 139.7 kB / 0.5487 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.4366, allocations: 0.7471 MB / 0.5494 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005613/0.4372, allocations: 0.5056 MB / 0.5499 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007739/0.438, allocations: 0.6548 MB / 0.5505 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.4406, allocations: 2.119 MB / 0.5526 GB, free: 7.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4406, allocations: 0 / 0.5526 GB, free: 7.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4406, allocations: 4.938 kB / 0.5526 GB, free: 7.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.4406, allocations: 0 / 0.5526 GB, free: 7.465 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.00391/0.4445, allocations: 1.509 MB / 0.5541 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4446, allocations: 9.25 kB / 0.5541 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.4454, allocations: 173.1 kB / 0.5542 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.4471, allocations: 0.7823 MB / 0.555 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.4474, allocations: 204.7 kB / 0.5552 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.4475, allocations: 107.9 kB / 0.5553 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.4502, allocations: 1.461 MB / 0.5567 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.4502, allocations: 11.92 kB / 0.5567 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.4504, allocations: 43.98 kB / 0.5568 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.4505, allocations: 73.97 kB / 0.5569 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.4527, allocations: 1.265 MB / 0.5581 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.4606, allocations: 5.091 MB / 0.5631 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.4622, allocations: 0.8343 MB / 0.5639 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.463, allocations: 464.4 kB / 0.5643 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.4631, allocations: 9.281 kB / 0.5643 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4631, allocations: 51.14 kB / 0.5644 GB, free: 11.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 2.745e-06/0.4631, allocations: 0 / 0.5644 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006613/0.4697, allocations: 2.948 MB / 0.5673 GB, free: 8.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.4698, allocations: 115.4 kB / 0.5674 GB, free: 8.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009332/0.4708, allocations: 0.6876 MB / 0.568 GB, free: 7.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.4708, allocations: 41.64 kB / 0.5681 GB, free: 7.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.4712, allocations: 492.2 kB / 0.5685 GB, free: 7.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.4714, allocations: 281.6 kB / 0.5688 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.4717, allocations: 190.5 kB / 0.569 GB, free: 6.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4719, allocations: 398.7 kB / 0.5694 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.4727, allocations: 437.8 kB / 0.5698 GB, free: 5.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.4736, allocations: 0.7165 MB / 0.5705 GB, free: 5.117 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.005638/0.4792, allocations: 2.508 MB / 0.5729 GB, free: 2.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.4793, allocations: 4 kB / 0.5729 GB, free: 2.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002337/0.4816, allocations: 1.313 MB / 0.5742 GB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4816, allocations: 8 kB / 0.5742 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.4816, allocations: 11.94 kB / 0.5742 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.4819, allocations: 89.66 kB / 0.5743 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.4827, allocations: 220 kB / 0.5745 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.484, allocations: 1.342 MB / 0.5759 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.4847, allocations: 79.88 kB / 0.5759 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.4848, allocations: 36 kB / 0.576 GB, free: 15.25 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.0006676/0.4855, allocations: 421.5 kB / 0.5764 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.4857, allocations: 87.47 kB / 0.5764 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.4876, allocations: 0.9789 MB / 0.5774 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/0.4876, allocations: 15.98 kB / 0.5774 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4876, allocations: 7.938 kB / 0.5774 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4876, allocations: 3.984 kB / 0.5774 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.4923, allocations: 2.242 MB / 0.5796 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4923, allocations: 0 / 0.5796 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.4931, allocations: 147.8 kB / 0.5798 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.4932, allocations: 24.84 kB / 0.5798 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.4933, allocations: 16 kB / 0.5798 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.4945, allocations: 1.287 MB / 0.5811 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4945, allocations: 0 / 0.5811 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.4973, allocations: 1.651 MB / 0.5827 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.4979, allocations: 171.4 kB / 0.5828 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.4981, allocations: 16 kB / 0.5828 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.4988, allocations: 47.94 kB / 0.5829 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4989, allocations: 64.55 kB / 0.583 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.499, allocations: 19.98 kB / 0.583 GB, free: 7.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008173/0.4998, allocations: 483 kB / 0.5834 GB, free: 7.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4998, allocations: 0 / 0.5834 GB, free: 7.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001377/0.5012, allocations: 259.9 kB / 0.5837 GB, free: 7.117 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.0004785/0.5017, allocations: 166.8 kB / 0.5838 GB, free: 6.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.504, allocations: 1.112 MB / 0.5849 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.504, allocations: 4 kB / 0.5849 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.505, allocations: 0.5763 MB / 0.5855 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5065, allocations: 233.6 kB / 0.5857 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/0.5124, allocations: 2.553 MB / 0.5882 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.5138, allocations: 1.158 MB / 0.5893 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009671/0.5148, allocations: 258.9 kB / 0.5896 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.5151, allocations: 63.42 kB / 0.5896 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of SimCode: time 1.442e-06/0.5151, allocations: 4 kB / 0.5897 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of Templates: time 0.03151/0.5466, allocations: 13.28 MB / 0.6026 GB, free: 3.719 MB / 446.1 MB " [Timeout remaining time 659] 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.944870724342763] Failed to read output from testmodel.py, exit status != 0: 0.5562401516363025 0.5721207629999999 0.127967139 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f80491097b0>