Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.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.0008885/0.0008885, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009459/0.0009459, allocations: 170.4 kB / 24.92 MB, free: 8.723 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.8997/0.8997, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] 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(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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.02e-07/8.02e-07, allocations: 0 / 273.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.285e-05, allocations: 2.312 kB / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.1249/0.1249, allocations: 23.23 MB / 296.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.139, allocations: 8.101 MB / 304.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004673/0.1437, allocations: 194.9 kB / 305 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009345/0.153, allocations: 5.994 MB / 311 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.161, allocations: 2.657 MB / 313.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.1644, allocations: 1.826 MB / 315.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007933/0.1724, allocations: 8.178 MB / 323.7 MB, free: 76 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.186, allocations: 9.704 MB / 333.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01337/0.1994, allocations: 6.037 MB / 339.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009706/0.2091, allocations: 4.425 MB / 343.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002599/0.2117, allocations: 1.105 MB / 345 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.215, allocations: 1.472 MB / 346.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.2165, allocations: 2.318 MB / 348.8 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003795/0.2203, allocations: 2.92 MB / 351.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007492/0.2278, allocations: 7.377 MB / 359.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2278, allocations: 4 kB / 359.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2278, allocations: 0 / 359.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.2281, allocations: 0 / 359.1 MB, free: 12.49 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.0113/0.2394, allocations: 8.802 MB / 367.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2394, allocations: 12.03 kB / 367.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.2532, allocations: 5.136 MB / 373 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.2568, allocations: 2.529 MB / 375.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.2571, allocations: 0.5058 MB / 376 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006929/0.2578, allocations: 0.6718 MB / 376.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.264, allocations: 5.787 MB / 382.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-05/0.2641, allocations: 7.953 kB / 382.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/0.2645, allocations: 288 kB / 382.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.2648, allocations: 430.4 kB / 383.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/0.2691, allocations: 2.984 MB / 386.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.2896, allocations: 21.55 MB / 407.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.2926, allocations: 3.246 MB / 411 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.2936, allocations: 0.9433 MB / 411.9 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.2938, allocations: 130.8 kB / 412.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.2938, allocations: 73.38 kB / 412.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=365): time 4.619e-06/0.2938, allocations: 0 / 412.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=375): time 0.01287/0.3067, allocations: 7.333 MB / 419.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3068, allocations: 141.8 kB / 419.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.308, allocations: 1.892 MB / 421.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.3082, allocations: 85.7 kB / 421.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/0.3091, allocations: 2.683 MB / 424.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.3097, allocations: 1.317 MB / 425.6 MB, free: 8.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007986/0.3105, allocations: 0.8398 MB / 426.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003094/0.3108, allocations: 301.1 kB / 426.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.3114, allocations: 0.5063 MB / 427.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.3128, allocations: 2.21 MB / 429.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.3155, allocations: 3.222 MB / 432.7 MB, free: 144 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.3155, allocations: 19.94 kB / 432.7 MB, free: 124 kB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.1266/0.4421, allocations: 2.824 MB / 435.5 MB, free: 92.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.4421, allocations: 27.19 kB / 435.5 MB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.934e-05/0.4422, allocations: 51.31 kB / 435.6 MB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.444, allocations: 0.8154 MB / 436.4 MB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.4462, allocations: 1.01 MB / 437.4 MB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4474, allocations: 1.158 MB / 438.6 MB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4489, allocations: 179.1 kB / 438.7 MB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/0.4492, allocations: 181.1 kB / 438.9 MB, free: 91.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001619/0.4508, allocations: 0.6673 MB / 439.6 MB, free: 91.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/0.4519, allocations: 2.208 MB / 441.8 MB, free: 89.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002286/0.4542, allocations: 3.215 MB / 445 MB, free: 87.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.19e-05/0.4542, allocations: 16.81 kB / 445 MB, free: 87.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.002957/0.4572, allocations: 2.82 MB / 447.8 MB, free: 87.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4572, allocations: 31.31 kB / 447.9 MB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.4573, allocations: 52.44 kB / 447.9 MB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.4586, allocations: 0.791 MB / 448.7 MB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.4604, allocations: 1.002 MB / 449.7 MB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008724/0.4613, allocations: 1.126 MB / 450.8 MB, free: 86.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.4624, allocations: 166.3 kB / 451 MB, free: 86.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.4626, allocations: 185.3 kB / 451.2 MB, free: 86.7 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.0006374/0.4632, allocations: 493.9 kB / 451.7 MB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/0.4637, allocations: 329.8 kB / 452 MB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.4663, allocations: 2.271 MB / 454.3 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.4663, allocations: 38 kB / 454.3 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4663, allocations: 0 / 454.3 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.4663, allocations: 18.05 kB / 454.3 MB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006933/0.4733, allocations: 5.403 MB / 459.7 MB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.4733, allocations: 0.875 kB / 459.7 MB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.4745, allocations: 0.5986 MB / 460.3 MB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.4757, allocations: 0.6343 MB / 461 MB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.4759, allocations: 76.39 kB / 461 MB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007739/0.4767, allocations: 0.9928 MB / 462 MB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4767, allocations: 4 kB / 462 MB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.4797, allocations: 2.748 MB / 464.8 MB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007168/0.4804, allocations: 433.7 kB / 465.2 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.4807, allocations: 70.89 kB / 465.3 MB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.4814, allocations: 103.7 kB / 465.4 MB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.4816, allocations: 241.5 kB / 465.6 MB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.4818, allocations: 77.86 kB / 465.7 MB, free: 81.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006751/0.4825, allocations: 0.8762 MB / 466.6 MB, free: 80.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4825, allocations: 0 / 466.6 MB, free: 80.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003453/0.4859, allocations: 2.076 MB / 468.6 MB, free: 78.74 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.000349/0.4863, allocations: 229.5 kB / 468.9 MB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00453/0.4908, allocations: 4.02 MB / 472.9 MB, free: 75.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.598e-05/0.4908, allocations: 46.41 kB / 472.9 MB, free: 75.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.4921, allocations: 1.139 MB / 474.1 MB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.4938, allocations: 0.7397 MB / 474.8 MB, free: 74.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5041, allocations: 10.13 MB / 484.9 MB, free: 65.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/0.505, allocations: 1.305 MB / 486.2 MB, free: 63.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001694/0.5066, allocations: 0.6826 MB / 486.9 MB, free: 63.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.5079, allocations: 0.7722 MB / 487.7 MB, free: 62.56 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5079, allocations: 0 / 487.7 MB, free: 62.56 MB / 378.7 MB Notification: Performance of Templates: time 0.05609/0.564, allocations: 56.42 MB / 0.5314 GB, free: 7.109 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 244.21858727606013]