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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 212.3 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 256.7 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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.001858/0.001858, allocations: 63.89 kB / 376.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2679, allocations: 53.32 MB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.02739/0.2953, allocations: 24.78 MB / 455 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.3119, allocations: 7.915 MB / 462.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004769/0.3167, allocations: 167.5 kB / 463.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01401/0.3307, allocations: 5.762 MB / 468.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008665/0.3394, allocations: 2.619 MB / 471.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.345, allocations: 1.846 MB / 473.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.3566, allocations: 7.882 MB / 481.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02025/0.3769, allocations: 10.96 MB / 492.1 MB, free: 9.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.3839, allocations: 3.989 MB / 496.1 MB, free: 5.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008228/0.3922, allocations: 4.598 MB / 0.489 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003584/0.3957, allocations: 1.109 MB / 0.4901 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.4008, allocations: 1.464 MB / 0.4915 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004014/0.4048, allocations: 2.24 MB / 0.4937 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008297/0.4131, allocations: 4.334 MB / 0.4979 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.4339, allocations: 15.1 MB / 0.5127 GB, free: 8.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4339, allocations: 0 / 0.5127 GB, free: 8.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4339, allocations: 0 / 0.5127 GB, free: 8.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004747/0.4344, allocations: 0 / 0.5127 GB, free: 8.449 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.02779/0.4622, allocations: 9.36 MB / 0.5218 GB, free: 14.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4622, allocations: 12.03 kB / 0.5218 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/0.4909, allocations: 5.283 MB / 0.527 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.5026, allocations: 4.767 MB / 0.5316 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/0.5032, allocations: 0.5058 MB / 0.5321 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/0.5061, allocations: 0.6679 MB / 0.5328 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2853/0.7915, allocations: 11.19 MB / 0.5437 GB, free: 88.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.7917, allocations: 15 kB / 0.5437 GB, free: 88.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.7927, allocations: 282.4 kB / 0.544 GB, free: 87.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004047/0.7931, allocations: 426.8 kB / 0.5444 GB, free: 87.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.8125, allocations: 10.75 MB / 0.5549 GB, free: 83.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05583/0.8683, allocations: 35.98 MB / 0.59 GB, free: 50.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008533/0.8769, allocations: 11.55 MB / 0.6013 GB, free: 37.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.8804, allocations: 2.587 MB / 0.6038 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.8807, allocations: 275.1 kB / 0.6041 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.8807, allocations: 79.36 kB / 0.6042 GB, free: 34.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=365): time 6.162e-06/0.8808, allocations: 0 / 0.6042 GB, free: 34.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=375): time 0.03223/0.913, allocations: 15.93 MB / 0.6197 GB, free: 18.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.913, allocations: 141.8 kB / 0.6199 GB, free: 18.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.9166, allocations: 2.798 MB / 0.6226 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004618/0.917, allocations: 89.7 kB / 0.6227 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.9183, allocations: 2.976 MB / 0.6256 GB, free: 12.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009631/0.9192, allocations: 1.326 MB / 0.6269 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.9203, allocations: 0.9143 MB / 0.6278 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.9204, allocations: 305.1 kB / 0.6281 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.9232, allocations: 2.325 MB / 0.6303 GB, free: 8.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/0.9267, allocations: 3.922 MB / 0.6342 GB, free: 3.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008542/0.9352, allocations: 6.727 MB / 0.6407 GB, free: 11.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.533e-05/0.9353, allocations: 19.94 kB / 0.6408 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01325/0.9485, allocations: 7.086 MB / 0.6477 GB, free: 4.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.9486, allocations: 28 kB / 0.6477 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.9487, allocations: 52 kB / 0.6478 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/0.9525, allocations: 1.225 MB / 0.649 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.9569, allocations: 1.069 MB / 0.65 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.9606, allocations: 2.37 MB / 0.6523 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/0.9645, allocations: 283.6 kB / 0.6526 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007267/0.9652, allocations: 232 kB / 0.6528 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008356/0.9736, allocations: 4.522 MB / 0.6572 GB, free: 11.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005326/0.9789, allocations: 3.903 MB / 0.661 GB, free: 6.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01011/0.989, allocations: 6.707 MB / 0.6676 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.173e-05/0.989, allocations: 16 kB / 0.6676 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01312/1.002, allocations: 7.063 MB / 0.6745 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/1.002, allocations: 31.94 kB / 0.6745 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.002, allocations: 48 kB / 0.6746 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/1.006, allocations: 1.186 MB / 0.6757 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/1.01, allocations: 1.069 MB / 0.6768 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/1.014, allocations: 2.285 MB / 0.679 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.017, allocations: 275.7 kB / 0.6793 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.018, allocations: 228 kB / 0.6795 GB, free: 2.695 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.001583/1.02, allocations: 498.5 kB / 0.68 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.021, allocations: 365.7 kB / 0.6803 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.033, allocations: 5.827 MB / 0.686 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/1.033, allocations: 36 kB / 0.686 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.033, allocations: 0 / 0.686 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/1.033, allocations: 19.92 kB / 0.6861 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02403/1.057, allocations: 12.67 MB / 0.6984 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.057, allocations: 8.062 kB / 0.6984 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.06, allocations: 0.6709 MB / 0.6991 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/1.063, allocations: 0.9816 MB / 0.7001 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/1.063, allocations: 87.89 kB / 0.7001 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/1.066, allocations: 2.054 MB / 0.7021 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.066, allocations: 0 / 0.7021 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/1.08, allocations: 8.504 MB / 0.7105 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.082, allocations: 0.8655 MB / 0.7113 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006465/1.083, allocations: 67.94 kB / 0.7114 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.085, allocations: 215.8 kB / 0.7116 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.085, allocations: 222.8 kB / 0.7118 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.085, allocations: 119.9 kB / 0.7119 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00311/1.088, allocations: 1.871 MB / 0.7137 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 0.7137 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007417/1.096, allocations: 2.09 MB / 0.7158 GB, free: 13.35 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.0006104/1.096, allocations: 245.3 kB / 0.716 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.017/1.113, allocations: 8.735 MB / 0.7245 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.113, allocations: 0 / 0.7245 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004945/1.118, allocations: 2.419 MB / 0.7269 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.122, allocations: 0.8001 MB / 0.7277 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.148, allocations: 12.4 MB / 0.7398 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004667/1.152, allocations: 4.335 MB / 0.744 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.154, allocations: 351.3 kB / 0.7444 GB, free: 32 kB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/1.154, allocations: 0 / 0.7444 GB, free: 32 kB / 0.545 GB Notification: Performance of Templates: time 0.377/1.531, allocations: 117.1 MB / 0.8587 GB, free: 90.09 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 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3460635. Could not SIGINT process: 3460636. Could not SIGINT process: 3460639. Could not SIGINT process: 3460366.