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.001592/0.001592, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001942/0.001942, allocations: 216.7 kB / 22.99 MB, free: 5.574 MB / 14.72 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.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] 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="empty",numberOfIntervals=25000,variableFilter="",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="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 376.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.03721/0.3497, allocations: 24.86 MB / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3663, allocations: 7.905 MB / 462.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004516/0.3708, allocations: 171.4 kB / 462.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01431/0.3851, allocations: 5.766 MB / 468.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008184/0.3933, allocations: 2.615 MB / 471.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005051/0.3983, allocations: 1.854 MB / 473 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4094, allocations: 7.874 MB / 480.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.424, allocations: 8.929 MB / 489.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005678/0.4297, allocations: 3.981 MB / 493.8 MB, free: 7.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.4367, allocations: 4.609 MB / 498.4 MB, free: 2.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.4392, allocations: 1.109 MB / 499.5 MB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.4426, allocations: 1.457 MB / 0.4892 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.445, allocations: 2.248 MB / 0.4914 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005652/0.4506, allocations: 4.33 MB / 0.4956 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.4675, allocations: 15.1 MB / 0.5104 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4675, allocations: 0 / 0.5104 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4675, allocations: 0 / 0.5104 GB, free: 10.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000269/0.4678, allocations: 0 / 0.5104 GB, free: 10.31 MB / 430.1 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.02596/0.4938, allocations: 9.368 MB / 0.5195 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4938, allocations: 8.031 kB / 0.5195 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/0.5241, allocations: 5.283 MB / 0.5247 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.5355, allocations: 4.767 MB / 0.5293 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006153/0.5361, allocations: 0.5096 MB / 0.5298 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/0.5389, allocations: 0.664 MB / 0.5305 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2342/0.7731, allocations: 11.19 MB / 0.5414 GB, free: 88.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.7734, allocations: 20.88 kB / 0.5414 GB, free: 88.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001745/0.7751, allocations: 278.2 kB / 0.5417 GB, free: 88.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/0.7755, allocations: 430.9 kB / 0.5421 GB, free: 87.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.7958, allocations: 10.75 MB / 0.5526 GB, free: 84.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04687/0.8426, allocations: 35.97 MB / 0.5877 GB, free: 51.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.851, allocations: 11.54 MB / 0.599 GB, free: 39.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.8544, allocations: 2.591 MB / 0.6016 GB, free: 36.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.8548, allocations: 270.5 kB / 0.6018 GB, free: 36.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.8549, allocations: 73.44 kB / 0.6019 GB, free: 36.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=365): time 5.47e-06/0.8549, allocations: 0 / 0.6019 GB, free: 36.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=375): time 0.03326/0.8881, allocations: 15.93 MB / 0.6174 GB, free: 20.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.8882, allocations: 145.7 kB / 0.6176 GB, free: 20.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.8919, allocations: 2.796 MB / 0.6203 GB, free: 17.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003037/0.8922, allocations: 85.7 kB / 0.6204 GB, free: 17.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.8933, allocations: 2.979 MB / 0.6233 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/0.8941, allocations: 1.335 MB / 0.6246 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.8954, allocations: 0.9026 MB / 0.6255 GB, free: 12.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.8954, allocations: 305.1 kB / 0.6258 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.8984, allocations: 2.321 MB / 0.628 GB, free: 9.828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.9019, allocations: 3.928 MB / 0.6319 GB, free: 5.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008024/0.91, allocations: 6.721 MB / 0.6384 GB, free: 13.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.91, allocations: 23.94 kB / 0.6385 GB, free: 13.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01268/0.9227, allocations: 7.083 MB / 0.6454 GB, free: 6.559 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.9227, allocations: 28.09 kB / 0.6454 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-05/0.9228, allocations: 52 kB / 0.6455 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/0.9266, allocations: 1.24 MB / 0.6467 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/0.9305, allocations: 1.061 MB / 0.6477 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/0.9342, allocations: 2.371 MB / 0.65 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.9373, allocations: 283.6 kB / 0.6503 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.9378, allocations: 228 kB / 0.6505 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007806/0.9456, allocations: 4.522 MB / 0.6549 GB, free: 12.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005449/0.951, allocations: 3.907 MB / 0.6587 GB, free: 8.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01007/0.9611, allocations: 6.707 MB / 0.6653 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.22e-05/0.9611, allocations: 12 kB / 0.6653 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01257/0.9737, allocations: 7.053 MB / 0.6722 GB, free: 9.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.9737, allocations: 31.92 kB / 0.6722 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.528e-05/0.9738, allocations: 60.05 kB / 0.6723 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003782/0.9776, allocations: 1.186 MB / 0.6734 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/0.9818, allocations: 1.069 MB / 0.6745 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.9853, allocations: 2.293 MB / 0.6767 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/0.9888, allocations: 267.7 kB / 0.677 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.9893, allocations: 236 kB / 0.6772 GB, free: 4.398 MB / 494.1 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.001127/0.9904, allocations: 494.5 kB / 0.6777 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009241/0.9914, allocations: 369.7 kB / 0.678 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.003, allocations: 5.82 MB / 0.6837 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1.003, allocations: 40 kB / 0.6837 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.003, allocations: 4 kB / 0.6837 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.003, allocations: 15.94 kB / 0.6838 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/1.027, allocations: 12.68 MB / 0.6961 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.027, allocations: 4 kB / 0.6961 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.03, allocations: 0.671 MB / 0.6968 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003378/1.033, allocations: 0.9819 MB / 0.6978 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/1.034, allocations: 79.97 kB / 0.6978 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/1.037, allocations: 2.065 MB / 0.6999 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.037, allocations: 4 kB / 0.6999 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.052, allocations: 8.508 MB / 0.7082 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.054, allocations: 0.8539 MB / 0.709 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007702/1.055, allocations: 71.92 kB / 0.7091 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.057, allocations: 207.8 kB / 0.7093 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005403/1.058, allocations: 234.9 kB / 0.7095 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/1.058, allocations: 104 kB / 0.7096 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0038/1.062, allocations: 1.875 MB / 0.7114 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.062, allocations: 0 / 0.7114 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007929/1.07, allocations: 2.086 MB / 0.7135 GB, free: 15.06 MB / 0.5294 GB 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.0006/1.07, allocations: 247.5 kB / 0.7137 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01709/1.087, allocations: 8.724 MB / 0.7222 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.087, allocations: 0 / 0.7222 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004967/1.092, allocations: 2.422 MB / 0.7246 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/1.097, allocations: 0.8037 MB / 0.7254 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.121, allocations: 12.55 MB / 0.7376 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006517/1.127, allocations: 4.447 MB / 0.742 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2393/1.367, allocations: 2.273 MB / 0.7442 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/1.368, allocations: 306.6 kB / 0.7445 GB, free: 182.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.368, allocations: 0.5312 kB / 0.7445 GB, free: 182.3 MB / 0.545 GB Notification: Performance of Templates: time 0.09511/1.464, allocations: 62.5 MB / 0.8055 GB, free: 142.2 MB / 0.545 GB " [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=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 157.4884134773165]