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.00141/0.00141, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001479/0.001479, allocations: 218 kB / 24.5 MB, free: 4.172 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.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 8.023 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="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 0.00191/0.00191, allocations: 67.91 kB / 379.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 53.4 MB / 432.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.03112/0.3552, allocations: 24.85 MB / 457.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3742, allocations: 7.917 MB / 465.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.3801, allocations: 195.1 kB / 465.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01545/0.3955, allocations: 5.805 MB / 471.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.4059, allocations: 2.677 MB / 473.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006398/0.4123, allocations: 1.872 MB / 475.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.427, allocations: 7.921 MB / 483.7 MB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/0.4477, allocations: 9.518 MB / 493.2 MB, free: 9.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008342/0.456, allocations: 4.056 MB / 497.3 MB, free: 5.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008938/0.465, allocations: 4.61 MB / 0.4901 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003533/0.4685, allocations: 1.109 MB / 0.4912 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005542/0.474, allocations: 1.464 MB / 0.4926 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.4785, allocations: 2.256 MB / 0.4948 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009167/0.4877, allocations: 4.334 MB / 0.4991 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02416/0.5119, allocations: 15.09 MB / 0.5138 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5119, allocations: 0 / 0.5138 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5119, allocations: 0 / 0.5138 GB, free: 8.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004803/0.5124, allocations: 0 / 0.5138 GB, free: 8.719 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.03102/0.5434, allocations: 9.299 MB / 0.5229 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5434, allocations: 12.03 kB / 0.5229 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/0.5736, allocations: 5.29 MB / 0.5281 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.5864, allocations: 4.777 MB / 0.5327 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006613/0.587, allocations: 0.5057 MB / 0.5332 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/0.5904, allocations: 0.664 MB / 0.5339 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2768/0.8671, allocations: 11.19 MB / 0.5448 GB, free: 89.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004458/0.8676, allocations: 10.58 kB / 0.5448 GB, free: 89.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002567/0.8701, allocations: 285.1 kB / 0.5451 GB, free: 88.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005892/0.8707, allocations: 431.6 kB / 0.5455 GB, free: 88.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.8932, allocations: 10.75 MB / 0.556 GB, free: 84.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05943/0.9526, allocations: 34.85 MB / 0.59 GB, free: 52.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008917/0.9615, allocations: 5.6 MB / 0.5955 GB, free: 47.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/0.9655, allocations: 2.582 MB / 0.598 GB, free: 44.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/0.966, allocations: 125 kB / 0.5982 GB, free: 44.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.966, allocations: 76.66 kB / 0.5982 GB, free: 44.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=365): time 7.354e-06/0.966, allocations: 0 / 0.5982 GB, free: 44.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=375): time 0.03677/1.003, allocations: 15.8 MB / 0.6137 GB, free: 28.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/1.003, allocations: 141.8 kB / 0.6138 GB, free: 28.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/1.007, allocations: 2.794 MB / 0.6165 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000651/1.008, allocations: 85.7 kB / 0.6166 GB, free: 25.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.009, allocations: 2.98 MB / 0.6195 GB, free: 22.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.01, allocations: 1.335 MB / 0.6208 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/1.012, allocations: 0.9026 MB / 0.6217 GB, free: 20.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/1.012, allocations: 301.1 kB / 0.622 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/1.016, allocations: 2.321 MB / 0.6242 GB, free: 17.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.02, allocations: 3.923 MB / 0.6281 GB, free: 13.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/1.027, allocations: 6.726 MB / 0.6346 GB, free: 5.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.121e-05/1.028, allocations: 19.94 kB / 0.6347 GB, free: 5.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01241/1.04, allocations: 7.083 MB / 0.6416 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.04, allocations: 36.05 kB / 0.6416 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.04, allocations: 52 kB / 0.6417 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/1.044, allocations: 1.227 MB / 0.6429 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/1.049, allocations: 1.072 MB / 0.6439 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/1.053, allocations: 2.361 MB / 0.6462 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.056, allocations: 283.6 kB / 0.6465 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009951/1.057, allocations: 236 kB / 0.6467 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009212/1.067, allocations: 4.518 MB / 0.6511 GB, free: 4.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006208/1.073, allocations: 3.903 MB / 0.6549 GB, free: 228 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01193/1.085, allocations: 6.712 MB / 0.6615 GB, free: 8.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.431e-05/1.085, allocations: 16.11 kB / 0.6615 GB, free: 8.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01691/1.102, allocations: 7.055 MB / 0.6684 GB, free: 1.668 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/1.102, allocations: 32.12 kB / 0.6684 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.102, allocations: 52 kB / 0.6685 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/1.106, allocations: 1.188 MB / 0.6696 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.11, allocations: 1.065 MB / 0.6707 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/1.114, allocations: 2.295 MB / 0.6729 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/1.118, allocations: 267.7 kB / 0.6732 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000941/1.119, allocations: 240 kB / 0.6734 GB, free: 12.52 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.001839/1.121, allocations: 494.5 kB / 0.6739 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.122, allocations: 365.7 kB / 0.6742 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.135, allocations: 5.816 MB / 0.6799 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.135, allocations: 37.22 kB / 0.6799 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.135, allocations: 4 kB / 0.6799 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.677e-05/1.135, allocations: 23.92 kB / 0.68 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/1.165, allocations: 12.69 MB / 0.6924 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.165, allocations: 0 / 0.6924 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.168, allocations: 0.6749 MB / 0.693 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00351/1.171, allocations: 0.9726 MB / 0.694 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006679/1.172, allocations: 83.97 kB / 0.6941 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003151/1.175, allocations: 2.057 MB / 0.6961 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.175, allocations: 4 kB / 0.6961 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/1.192, allocations: 8.507 MB / 0.7044 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/1.195, allocations: 0.8024 MB / 0.7052 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.196, allocations: 67.92 kB / 0.7052 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.199, allocations: 207.8 kB / 0.7054 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/1.199, allocations: 246.7 kB / 0.7057 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004291/1.2, allocations: 115.9 kB / 0.7058 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004014/1.204, allocations: 1.871 MB / 0.7076 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/1.204, allocations: 0 / 0.7076 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009291/1.213, allocations: 2.09 MB / 0.7096 GB, free: 7.238 MB / 0.5137 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.001052/1.214, allocations: 255.1 kB / 0.7099 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0196/1.234, allocations: 8.727 MB / 0.7184 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.234, allocations: 0 / 0.7184 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005913/1.24, allocations: 2.419 MB / 0.7208 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/1.245, allocations: 0.797 MB / 0.7215 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/1.275, allocations: 12.42 MB / 0.7337 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008052/1.283, allocations: 4.335 MB / 0.7379 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.286, allocations: 347.3 kB / 0.7382 GB, free: 9.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.304e-06/1.286, allocations: 0 / 0.7382 GB, free: 9.91 MB / 0.545 GB Notification: Performance of Templates: time 0.3955/1.681, allocations: 117.1 MB / 0.8525 GB, free: 97.78 MB / 0.545 GB " [Timeout remaining time 658] 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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] Could not SIGINT process: 2882363. Could not SIGINT process: 2882364. Could not SIGINT process: 2882367. Could not SIGINT process: 2882092. [Calling os._exit(0), Time elapsed: 497.0171131819952] Failed to read output from testmodel.py, exit status != 0: ['time', 'fieldWeakeningController.vs', 'fieldWeakeningController.is', 'fieldWeakeningController.id', 'fieldWeakeningController.iq'] 1.69178192387335 1.7027546390000001 1.187947806 Calling exit ...