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.001621/0.001621, allocations: 122.5 kB / 18.51 MB, free: 4.535 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.001968/0.001968, allocations: 211.2 kB / 21.46 MB, free: 1.586 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.447/1.447, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001896/0.001896, allocations: 68.11 kB / 373.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09906, allocations: 53.33 MB / 427.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.2102/0.3092, allocations: 24.78 MB / 452 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.3276, allocations: 7.902 MB / 459.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006249/0.3338, allocations: 171.3 kB / 460 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.3487, allocations: 5.765 MB / 465.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009098/0.3578, allocations: 2.619 MB / 468.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.3637, allocations: 1.84 MB / 470.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01349/0.3772, allocations: 7.859 MB / 478.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02354/0.4007, allocations: 10.96 MB / 489.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008557/0.4093, allocations: 3.97 MB / 493.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009081/0.4184, allocations: 4.594 MB / 497.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003187/0.4215, allocations: 1.109 MB / 498.8 MB, free: 9.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/0.4273, allocations: 1.464 MB / 0.4885 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.4309, allocations: 2.244 MB / 0.4907 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00757/0.4385, allocations: 4.326 MB / 0.4949 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.4579, allocations: 15.1 MB / 0.5097 GB, free: 1.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.4579, allocations: 4 kB / 0.5097 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4579, allocations: 0 / 0.5097 GB, free: 1.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000349/0.4582, allocations: 3.938 kB / 0.5097 GB, free: 1.961 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.02823/0.4865, allocations: 9.364 MB / 0.5188 GB, free: 8.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4865, allocations: 8.031 kB / 0.5188 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/0.5176, allocations: 5.29 MB / 0.524 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.5293, allocations: 4.759 MB / 0.5286 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/0.5299, allocations: 0.5057 MB / 0.5291 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/0.5331, allocations: 0.6718 MB / 0.5298 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.5629, allocations: 11.18 MB / 0.5407 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.5631, allocations: 19.94 kB / 0.5407 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/0.5644, allocations: 288 kB / 0.541 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004678/0.5649, allocations: 426.4 kB / 0.5414 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.5869, allocations: 10.76 MB / 0.5519 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06805/0.655, allocations: 35.96 MB / 0.587 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/0.6696, allocations: 11.55 MB / 0.5983 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/0.6746, allocations: 2.591 MB / 0.6008 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.6752, allocations: 272.9 kB / 0.6011 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.587e-05/0.6753, allocations: 73.44 kB / 0.6012 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=365): time 6.332e-06/0.6753, allocations: 0 / 0.6012 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=375): time 0.04386/0.7191, allocations: 15.94 MB / 0.6167 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7192, allocations: 141.8 kB / 0.6169 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2041/0.9233, allocations: 2.794 MB / 0.6196 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006423/0.924, allocations: 87.11 kB / 0.6197 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.9253, allocations: 2.975 MB / 0.6226 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009406/0.9262, allocations: 1.331 MB / 0.6239 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.9275, allocations: 0.9124 MB / 0.6248 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.9275, allocations: 302.2 kB / 0.6251 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.931, allocations: 2.319 MB / 0.6273 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.9352, allocations: 3.922 MB / 0.6312 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/0.943, allocations: 6.728 MB / 0.6377 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.9431, allocations: 14.59 kB / 0.6377 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01075/0.9538, allocations: 7.087 MB / 0.6447 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.9539, allocations: 30.91 kB / 0.6447 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.96e-05/0.9539, allocations: 52.48 kB / 0.6447 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/0.9577, allocations: 1.23 MB / 0.6459 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.9614, allocations: 1.068 MB / 0.647 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.9642, allocations: 2.36 MB / 0.6493 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.9673, allocations: 292.1 kB / 0.6496 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.9676, allocations: 227.9 kB / 0.6498 GB, free: 141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006019/0.9737, allocations: 4.524 MB / 0.6542 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003342/0.977, allocations: 3.912 MB / 0.658 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006647/0.9837, allocations: 6.702 MB / 0.6646 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-05/0.9837, allocations: 11.66 kB / 0.6646 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.009178/0.9929, allocations: 7.049 MB / 0.6715 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.9929, allocations: 28 kB / 0.6715 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/0.993, allocations: 48.72 kB / 0.6715 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/0.996, allocations: 1.193 MB / 0.6727 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.9993, allocations: 1.076 MB / 0.6738 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.002, allocations: 2.291 MB / 0.676 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/1.005, allocations: 271.1 kB / 0.6763 GB, free: 124.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/1.005, allocations: 231.1 kB / 0.6765 GB, free: 124 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.0008753/1.006, allocations: 0.4951 MB / 0.677 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/1.006, allocations: 365.4 kB / 0.6773 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/1.014, allocations: 5.823 MB / 0.683 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.014, allocations: 36 kB / 0.683 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.014, allocations: 3.844 kB / 0.683 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/1.014, allocations: 19.92 kB / 0.683 GB, free: 118.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.031, allocations: 12.68 MB / 0.6954 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.031, allocations: 0 / 0.6954 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/1.034, allocations: 0.667 MB / 0.6961 GB, free: 104.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/1.036, allocations: 0.9905 MB / 0.6971 GB, free: 103.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/1.037, allocations: 79.97 kB / 0.6971 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/1.039, allocations: 2.054 MB / 0.6991 GB, free: 101.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.039, allocations: 0 / 0.6991 GB, free: 101.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.049, allocations: 8.516 MB / 0.7075 GB, free: 93.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.05, allocations: 0.8532 MB / 0.7083 GB, free: 92.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/1.051, allocations: 75.12 kB / 0.7084 GB, free: 92.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.053, allocations: 211.8 kB / 0.7086 GB, free: 91.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.053, allocations: 230.7 kB / 0.7088 GB, free: 91.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.053, allocations: 108 kB / 0.7089 GB, free: 91.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002114/1.055, allocations: 1.871 MB / 0.7107 GB, free: 89.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/1.055, allocations: 0 / 0.7107 GB, free: 89.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00504/1.06, allocations: 2.093 MB / 0.7128 GB, free: 87.62 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.0004352/1.061, allocations: 243.9 kB / 0.713 GB, free: 87.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.074, allocations: 8.718 MB / 0.7215 GB, free: 78.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.074, allocations: 4.062 kB / 0.7215 GB, free: 78.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.078, allocations: 2.424 MB / 0.7239 GB, free: 76.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.081, allocations: 0.8042 MB / 0.7247 GB, free: 75.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.098, allocations: 12.44 MB / 0.7368 GB, free: 63.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003131/1.101, allocations: 4.45 MB / 0.7411 GB, free: 58.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004987/1.106, allocations: 2.291 MB / 0.7434 GB, free: 56.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008877/1.107, allocations: 307.4 kB / 0.7437 GB, free: 55.97 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/1.107, allocations: 4 kB / 0.7437 GB, free: 55.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.08281/1.19, allocations: 60.9 MB / 0.8031 GB, free: 11.43 MB / 0.5294 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: 153.05523269437253]