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.001477/0.001477, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002101/0.002101, allocations: 209.4 kB / 23.73 MB, free: 4.156 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2233/0.2233, allocations: 38.56 MB / 352.5 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 179] 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.002963/0.002963, allocations: 66.23 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3806, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.01091/0.3916, allocations: 6.767 MB / 0.549 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.3973, allocations: 2.699 MB / 0.5517 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.398, allocations: 34.72 kB / 0.5517 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.3994, allocations: 380 kB / 0.5521 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.4019, allocations: 0.806 MB / 0.5529 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.4029, allocations: 306.3 kB / 0.5531 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.4054, allocations: 1.59 MB / 0.5547 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.4072, allocations: 1.162 MB / 0.5558 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.4086, allocations: 0.6878 MB / 0.5565 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.4097, allocations: 0.7397 MB / 0.5572 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.4099, allocations: 143.9 kB / 0.5574 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4113, allocations: 0.6983 MB / 0.558 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.4118, allocations: 0.4988 MB / 0.5585 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.4125, allocations: 0.5408 MB / 0.5591 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.4152, allocations: 2.13 MB / 0.5611 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4152, allocations: 4 kB / 0.5611 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4152, allocations: 0 / 0.5611 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.4152, allocations: 0 / 0.5611 GB, free: 0.9922 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.003451/0.4187, allocations: 1.505 MB / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4187, allocations: 15.92 kB / 0.5626 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.4194, allocations: 184.1 kB / 0.5628 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.4212, allocations: 0.7629 MB / 0.5635 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.4216, allocations: 392.6 kB / 0.5639 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.4218, allocations: 112 kB / 0.564 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.4243, allocations: 1.469 MB / 0.5655 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.4244, allocations: 7.953 kB / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4245, allocations: 39.98 kB / 0.5655 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.4246, allocations: 77.95 kB / 0.5656 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4269, allocations: 1.272 MB / 0.5668 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007508/0.4344, allocations: 4.565 MB / 0.5713 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.436, allocations: 0.8152 MB / 0.5721 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.4368, allocations: 468.3 kB / 0.5725 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.4368, allocations: 12.64 kB / 0.5725 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.4369, allocations: 39.22 kB / 0.5726 GB, free: 4.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 3.046e-06/0.4369, allocations: 4 kB / 0.5726 GB, free: 4.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006396/0.4433, allocations: 2.945 MB / 0.5755 GB, free: 1.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.4434, allocations: 111.5 kB / 0.5756 GB, free: 1.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.4442, allocations: 0.5611 MB / 0.5761 GB, free: 1.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.4442, allocations: 41.7 kB / 0.5762 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.4446, allocations: 0.5002 MB / 0.5766 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.4449, allocations: 285.6 kB / 0.5769 GB, free: 388 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.4452, allocations: 190.6 kB / 0.5771 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.4454, allocations: 382.7 kB / 0.5775 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/0.4462, allocations: 437.8 kB / 0.5779 GB, free: 15.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4472, allocations: 0.7165 MB / 0.5786 GB, free: 14.54 MB / 430.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.005918/0.4531, allocations: 2.512 MB / 0.581 GB, free: 11.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4531, allocations: 4 kB / 0.581 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002373/0.4555, allocations: 1.297 MB / 0.5823 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4555, allocations: 8 kB / 0.5823 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.4555, allocations: 16 kB / 0.5823 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.4558, allocations: 86.27 kB / 0.5824 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/0.4567, allocations: 231.6 kB / 0.5826 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4579, allocations: 1.315 MB / 0.5839 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.4585, allocations: 75.88 kB / 0.584 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.4586, allocations: 44.06 kB / 0.584 GB, free: 8.711 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.0006489/0.4593, allocations: 425.4 kB / 0.5844 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.4594, allocations: 71.53 kB / 0.5845 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.4613, allocations: 0.9623 MB / 0.5854 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4613, allocations: 12 kB / 0.5854 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4613, allocations: 7.984 kB / 0.5855 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4613, allocations: 0 / 0.5855 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.4652, allocations: 1.95 MB / 0.5874 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.4652, allocations: 4 kB / 0.5874 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.4659, allocations: 143.8 kB / 0.5875 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.997e-05/0.466, allocations: 24.84 kB / 0.5875 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.4661, allocations: 16 kB / 0.5875 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.4673, allocations: 1.264 MB / 0.5888 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4673, allocations: 4.156 kB / 0.5888 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.4699, allocations: 1.643 MB / 0.5904 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/0.4703, allocations: 159.4 kB / 0.5905 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4704, allocations: 15.94 kB / 0.5906 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.4709, allocations: 55.88 kB / 0.5906 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4711, allocations: 60.55 kB / 0.5907 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.4712, allocations: 16 kB / 0.5907 GB, free: 1.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000666/0.4718, allocations: 382.8 kB / 0.591 GB, free: 1.328 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4718, allocations: 0 / 0.591 GB, free: 1.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001232/0.4731, allocations: 251.9 kB / 0.5913 GB, free: 1.082 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.0004853/0.4735, allocations: 162.4 kB / 0.5914 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.4758, allocations: 1.108 MB / 0.5925 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4758, allocations: 3.938 kB / 0.5925 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009833/0.4768, allocations: 0.5849 MB / 0.5931 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.4777, allocations: 159.3 kB / 0.5932 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.4828, allocations: 2.518 MB / 0.5957 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.4835, allocations: 0.5591 MB / 0.5963 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007407/0.4842, allocations: 245.8 kB / 0.5965 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.4844, allocations: 59.42 kB / 0.5965 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4844, allocations: 0 / 0.5965 GB, free: 11.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02215/0.5066, allocations: 11.02 MB / 0.6073 GB, free: 0.6914 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: 6.0105862356722355] Failed to read output from testmodel.py, exit status != 0: 0.5181091520935297 0.531469998 0.112856699 Calling exit ...