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.001766/0.001766, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002074/0.002074, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.476/1.476, allocations: 230.2 MB / 255.2 MB, free: 15.21 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.001863/0.001863, allocations: 67.88 kB / 374.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09713, allocations: 53.32 MB / 427.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.2202/0.3173, allocations: 24.78 MB / 452.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.3365, allocations: 7.909 MB / 460.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006542/0.343, allocations: 167 kB / 460.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.3582, allocations: 5.768 MB / 466.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3684, allocations: 2.608 MB / 469.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005834/0.3742, allocations: 1.853 MB / 471 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.3867, allocations: 7.856 MB / 478.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01759/0.4043, allocations: 10.96 MB / 489.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006918/0.4113, allocations: 3.966 MB / 493.7 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008498/0.4198, allocations: 4.598 MB / 498.3 MB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003276/0.423, allocations: 1.109 MB / 499.4 MB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005382/0.4284, allocations: 1.461 MB / 0.4892 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003174/0.4316, allocations: 2.252 MB / 0.4914 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008046/0.4396, allocations: 4.33 MB / 0.4956 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/0.4595, allocations: 15.09 MB / 0.5103 GB, free: 1.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4595, allocations: 0 / 0.5103 GB, free: 1.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4595, allocations: 0 / 0.5103 GB, free: 1.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004091/0.4599, allocations: 4 kB / 0.5103 GB, free: 1.992 MB / 414.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.02755/0.4874, allocations: 9.371 MB / 0.5195 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4875, allocations: 12.03 kB / 0.5195 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/0.5179, allocations: 5.283 MB / 0.5246 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.5285, allocations: 4.759 MB / 0.5293 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005191/0.529, allocations: 0.5058 MB / 0.5298 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/0.5316, allocations: 0.6718 MB / 0.5304 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.5592, allocations: 11.19 MB / 0.5414 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.5595, allocations: 10.02 kB / 0.5414 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002104/0.5616, allocations: 284 kB / 0.5417 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004843/0.5621, allocations: 426.4 kB / 0.5421 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/0.5866, allocations: 10.76 MB / 0.5526 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07294/0.6595, allocations: 35.98 MB / 0.5877 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.6739, allocations: 11.54 MB / 0.599 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/0.6792, allocations: 2.595 MB / 0.6015 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.6798, allocations: 276.9 kB / 0.6018 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-05/0.6799, allocations: 73.44 kB / 0.6018 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=365): time 7.073e-06/0.6799, allocations: 0 / 0.6018 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=375): time 0.04392/0.7238, allocations: 15.93 MB / 0.6174 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.7239, allocations: 141.8 kB / 0.6175 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2063/0.9302, allocations: 2.799 MB / 0.6203 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/0.9308, allocations: 87.11 kB / 0.6203 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.9326, allocations: 2.974 MB / 0.6233 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.934, allocations: 1.329 MB / 0.6246 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.9362, allocations: 0.9093 MB / 0.6254 GB, free: 154 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.9362, allocations: 303 kB / 0.6257 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/0.9403, allocations: 2.325 MB / 0.628 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.9451, allocations: 3.917 MB / 0.6318 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009093/0.9542, allocations: 6.733 MB / 0.6384 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/0.9543, allocations: 14.62 kB / 0.6384 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01488/0.9692, allocations: 7.085 MB / 0.6453 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.9693, allocations: 33.94 kB / 0.6454 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.9694, allocations: 51.38 kB / 0.6454 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/0.9735, allocations: 1.229 MB / 0.6466 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/0.9778, allocations: 1.072 MB / 0.6477 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.9811, allocations: 2.363 MB / 0.65 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/0.9847, allocations: 279 kB / 0.6502 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007639/0.9854, allocations: 235.4 kB / 0.6505 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007244/0.9927, allocations: 4.523 MB / 0.6549 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004161/0.9968, allocations: 3.906 MB / 0.6587 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007424/1.004, allocations: 6.707 MB / 0.6652 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.872e-05/1.004, allocations: 15.47 kB / 0.6653 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01019/1.015, allocations: 7.047 MB / 0.6721 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.015, allocations: 36 kB / 0.6722 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.232e-05/1.015, allocations: 52.62 kB / 0.6722 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/1.018, allocations: 1.183 MB / 0.6734 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.022, allocations: 1.064 MB / 0.6744 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.024, allocations: 2.301 MB / 0.6767 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/1.027, allocations: 271.8 kB / 0.6769 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/1.028, allocations: 235.2 kB / 0.6771 GB, free: 124.1 MB / 0.5137 GB 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.001227/1.029, allocations: 492.9 kB / 0.6776 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008852/1.03, allocations: 365.4 kB / 0.678 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/1.039, allocations: 5.83 MB / 0.6837 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.039, allocations: 40 kB / 0.6837 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.039, allocations: 4 kB / 0.6837 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/1.039, allocations: 19.92 kB / 0.6837 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.058, allocations: 12.68 MB / 0.6961 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.058, allocations: 0 / 0.6961 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.061, allocations: 0.6749 MB / 0.6968 GB, free: 104.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/1.064, allocations: 0.9741 MB / 0.6977 GB, free: 103.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003419/1.064, allocations: 83.97 kB / 0.6978 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/1.066, allocations: 2.054 MB / 0.6998 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.066, allocations: 4 kB / 0.6998 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.077, allocations: 8.516 MB / 0.7081 GB, free: 93.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.079, allocations: 0.858 MB / 0.709 GB, free: 92.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/1.08, allocations: 68 kB / 0.709 GB, free: 92.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.082, allocations: 207.8 kB / 0.7092 GB, free: 91.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/1.082, allocations: 233.7 kB / 0.7094 GB, free: 91.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.083, allocations: 112 kB / 0.7095 GB, free: 91.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002731/1.085, allocations: 1.875 MB / 0.7114 GB, free: 89.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.085, allocations: 3.938 kB / 0.7114 GB, free: 89.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006542/1.092, allocations: 2.084 MB / 0.7134 GB, free: 87.67 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.000545/1.093, allocations: 249.1 kB / 0.7137 GB, free: 87.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.107, allocations: 8.718 MB / 0.7222 GB, free: 78.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.107, allocations: 4 kB / 0.7222 GB, free: 78.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00417/1.111, allocations: 2.42 MB / 0.7245 GB, free: 76.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.115, allocations: 0.8015 MB / 0.7253 GB, free: 75.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.136, allocations: 12.31 MB / 0.7373 GB, free: 63.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00442/1.14, allocations: 4.338 MB / 0.7416 GB, free: 58.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.142, allocations: 351.3 kB / 0.7419 GB, free: 58.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/1.142, allocations: 3.938 kB / 0.7419 GB, free: 58.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.3519/1.494, allocations: 117.1 MB / 0.8562 GB, free: 164 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: 2928822. Could not SIGINT process: 2928823. Could not SIGINT process: 2928826. Could not SIGINT process: 2928416. [Calling os._exit(0), Time elapsed: 496.81898366101086] Failed to read output from testmodel.py, exit status != 0: 1.5029209048952907 1.512602006 1.0505122 Calling exit ...