Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 163.2 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|fieldWeakeningController.vs|fieldWeakeningController.is|fieldWeakeningController.id|fieldWeakeningController.iq",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|fieldWeakeningController.vs|fieldWeakeningController.is|fieldWeakeningController.id|fieldWeakeningController.iq",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.058e-05, allocations: 2.312 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.1396/0.1396, allocations: 23.21 MB / 296.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.1539, allocations: 8.11 MB / 304.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004893/0.1588, allocations: 199.5 kB / 305 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007976/0.1668, allocations: 5.995 MB / 311 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.1737, allocations: 2.653 MB / 313.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.1768, allocations: 1.822 MB / 315.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.184, allocations: 8.183 MB / 323.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/0.1964, allocations: 9.7 MB / 333.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008219/0.2047, allocations: 6.025 MB / 339.4 MB, free: 56 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005768/0.2104, allocations: 4.425 MB / 343.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002589/0.213, allocations: 1.105 MB / 344.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.217, allocations: 1.472 MB / 346.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002567/0.2195, allocations: 2.318 MB / 348.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004662/0.2242, allocations: 2.928 MB / 351.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008656/0.2328, allocations: 7.373 MB / 359 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2328, allocations: 7.938 kB / 359 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2328, allocations: 0 / 359 MB, free: 12.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002561/0.2331, allocations: 0 / 359 MB, free: 12.38 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: 1903 * Number of variables: 1903 Notification: Performance of Generate backend data structure: time 0.01416/0.2473, allocations: 8.794 MB / 367.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2473, allocations: 11.98 kB / 367.8 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.2635, allocations: 5.136 MB / 372.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.2696, allocations: 2.541 MB / 375.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.2699, allocations: 0.5097 MB / 376 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.2712, allocations: 0.6679 MB / 376.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008928/0.2802, allocations: 5.791 MB / 382.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.2803, allocations: 11.94 kB / 382.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005921/0.2809, allocations: 280 kB / 382.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.2812, allocations: 430.4 kB / 383.1 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.2863, allocations: 2.992 MB / 386.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.3182, allocations: 21.54 MB / 407.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/0.3218, allocations: 3.248 MB / 410.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.3229, allocations: 0.9472 MB / 411.9 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.3232, allocations: 118.8 kB / 412 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.3232, allocations: 77.38 kB / 412.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=365): time 5.891e-06/0.3232, allocations: 0 / 412.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=375): time 0.01524/0.3385, allocations: 7.326 MB / 419.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.3385, allocations: 141.8 kB / 419.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.3405, allocations: 1.892 MB / 421.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.3407, allocations: 85.7 kB / 421.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.3419, allocations: 2.683 MB / 424.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.343, allocations: 1.317 MB / 425.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008701/0.3439, allocations: 0.8358 MB / 426.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.3439, allocations: 305.1 kB / 426.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.3447, allocations: 0.5063 MB / 427.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.3462, allocations: 2.202 MB / 429.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.3492, allocations: 3.233 MB / 432.6 MB, free: 36 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.3492, allocations: 12 kB / 432.6 MB, free: 24 kB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.1347/0.4839, allocations: 2.826 MB / 435.4 MB, free: 92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.4839, allocations: 28.97 kB / 435.4 MB, free: 92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.484, allocations: 51.03 kB / 435.5 MB, free: 92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.4863, allocations: 0.8165 MB / 436.3 MB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/0.4895, allocations: 1.006 MB / 437.3 MB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.4912, allocations: 1.159 MB / 438.5 MB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.4936, allocations: 183.5 kB / 438.7 MB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/0.4941, allocations: 185.1 kB / 438.8 MB, free: 91.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/0.4964, allocations: 0.662 MB / 439.5 MB, free: 91.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001612/0.498, allocations: 2.197 MB / 441.7 MB, free: 89.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003132/0.5012, allocations: 3.227 MB / 444.9 MB, free: 87.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-05/0.5012, allocations: 17.06 kB / 444.9 MB, free: 87.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.004527/0.5057, allocations: 2.821 MB / 447.8 MB, free: 87.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.5058, allocations: 26.72 kB / 447.8 MB, free: 87.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.444e-05/0.5058, allocations: 54.47 kB / 447.8 MB, free: 87.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.5078, allocations: 0.7883 MB / 448.6 MB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.5104, allocations: 1.006 MB / 449.6 MB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.5117, allocations: 1.124 MB / 450.8 MB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.5137, allocations: 166.1 kB / 450.9 MB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.514, allocations: 180.4 kB / 451.1 MB, free: 86.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 1 (fieldWeakeningController.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,55)} Notification: Performance of prepare postOptimizeDAE: time 0.0008918/0.5149, allocations: 0.4924 MB / 451.6 MB, free: 86.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/0.5156, allocations: 329.3 kB / 451.9 MB, free: 86.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.5192, allocations: 2.263 MB / 454.2 MB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.5192, allocations: 36.92 kB / 454.2 MB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5192, allocations: 7.844 kB / 454.2 MB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.5192, allocations: 17.91 kB / 454.2 MB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/0.5288, allocations: 5.402 MB / 459.6 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5288, allocations: 3.938 kB / 459.6 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/0.5307, allocations: 0.6056 MB / 460.2 MB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.5324, allocations: 0.6264 MB / 460.9 MB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.5326, allocations: 80.12 kB / 461 MB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.5337, allocations: 0.9875 MB / 461.9 MB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5337, allocations: 5.969 kB / 461.9 MB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.5379, allocations: 2.749 MB / 464.7 MB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.5391, allocations: 431.6 kB / 465.1 MB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.5395, allocations: 70.5 kB / 465.2 MB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.5406, allocations: 108.4 kB / 465.3 MB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.5409, allocations: 235.5 kB / 465.5 MB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/0.5411, allocations: 80.39 kB / 465.6 MB, free: 81.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.5422, allocations: 0.8779 MB / 466.5 MB, free: 80.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5422, allocations: 0 / 466.5 MB, free: 80.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00507/0.5473, allocations: 2.078 MB / 468.6 MB, free: 78.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (speedSource.phi,fieldWeakeningController.PID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/0.5477, allocations: 231.9 kB / 468.8 MB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005733/0.5535, allocations: 4.014 MB / 472.8 MB, free: 75.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.131e-05/0.5535, allocations: 44.84 kB / 472.8 MB, free: 75.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.555, allocations: 1.133 MB / 474 MB, free: 74.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.5573, allocations: 0.7599 MB / 474.7 MB, free: 74.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.57, allocations: 10.12 MB / 484.8 MB, free: 65.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.5717, allocations: 1.308 MB / 486.2 MB, free: 63.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002199/0.5739, allocations: 0.6787 MB / 486.8 MB, free: 63.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.5752, allocations: 0.7768 MB / 487.6 MB, free: 62.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.953e-06/0.5752, allocations: 0 / 487.6 MB, free: 62.53 MB / 378.7 MB Notification: Performance of Templates: time 0.05573/0.6309, allocations: 56.39 MB / 0.5312 GB, free: 6.965 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 244.96640840591863]