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.0009265/0.0009265, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004138/0.004138, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8789/0.8789, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.362e-06/1.362e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.18e-05, allocations: 3.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.01535/0.01537, allocations: 21.32 MB / 347.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.02792, allocations: 7.547 MB / 354.7 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.03168, allocations: 202.9 kB / 354.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006799/0.03848, allocations: 5.603 MB / 360.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.04428, allocations: 2.671 MB / 363.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.04702, allocations: 1.795 MB / 365 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006877/0.0539, allocations: 8.16 MB / 373.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.06409, allocations: 9.42 MB / 382.5 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006767/0.07086, allocations: 5.951 MB / 388.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.075, allocations: 3.917 MB / 392.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.07659, allocations: 1.109 MB / 393.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.07879, allocations: 1.464 MB / 395 MB, free: 9.859 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.08014, allocations: 2.291 MB / 397.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.08262, allocations: 2.896 MB / 400.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.0939, allocations: 15.27 MB / 415.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.0939, allocations: 4 kB / 415.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09391, allocations: 0 / 415.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003335/0.09424, allocations: 0 / 415.4 MB, free: 5.344 MB / 378.7 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.01774/0.112, allocations: 9.214 MB / 424.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.112, allocations: 15.98 kB / 424.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.1263, allocations: 5.294 MB / 430 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/0.1346, allocations: 4.777 MB / 434.7 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.135, allocations: 0.5058 MB / 435.2 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/0.1372, allocations: 0.6679 MB / 435.9 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.156, allocations: 11.39 MB / 447.3 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.1562, allocations: 15.89 kB / 447.3 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008961/0.1571, allocations: 284 kB / 447.6 MB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.1574, allocations: 430.4 kB / 448 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1832/0.3406, allocations: 10.69 MB / 458.7 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.3681, allocations: 31.04 MB / 489.7 MB, free: 78.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.3727, allocations: 5.566 MB / 495.3 MB, free: 73.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.3747, allocations: 2.588 MB / 497.9 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.3749, allocations: 96.84 kB / 498 MB, free: 70.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.375, allocations: 73.44 kB / 498.1 MB, free: 70.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=365): time 4.619e-06/0.375, allocations: 0 / 498.1 MB, free: 70.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=375): time 0.02054/0.3955, allocations: 15.65 MB / 0.5017 GB, free: 55.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.3956, allocations: 153.6 kB / 0.5018 GB, free: 55.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.3986, allocations: 2.673 MB / 0.5044 GB, free: 52.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.3988, allocations: 85.7 kB / 0.5045 GB, free: 52.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.3996, allocations: 2.979 MB / 0.5074 GB, free: 49.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.4002, allocations: 1.307 MB / 0.5087 GB, free: 48.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007836/0.4009, allocations: 0.9026 MB / 0.5096 GB, free: 47.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.401, allocations: 301.1 kB / 0.5099 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4029, allocations: 2.321 MB / 0.5121 GB, free: 44.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.4054, allocations: 3.99 MB / 0.516 GB, free: 40.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.4104, allocations: 6.722 MB / 0.5226 GB, free: 32.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.4105, allocations: 16 kB / 0.5226 GB, free: 32.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006688/0.4172, allocations: 7.071 MB / 0.5295 GB, free: 25.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.4172, allocations: 31.94 kB / 0.5295 GB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/0.4173, allocations: 52 kB / 0.5296 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.4192, allocations: 1.208 MB / 0.5308 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.421, allocations: 1.072 MB / 0.5318 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.4228, allocations: 2.346 MB / 0.5341 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.4246, allocations: 291.6 kB / 0.5344 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.4248, allocations: 232 kB / 0.5346 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004543/0.4293, allocations: 4.518 MB / 0.539 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002407/0.4317, allocations: 3.979 MB / 0.5429 GB, free: 11.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004949/0.4367, allocations: 6.699 MB / 0.5494 GB, free: 3.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.539e-05/0.4367, allocations: 20 kB / 0.5495 GB, free: 3.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006995/0.4437, allocations: 7.024 MB / 0.5563 GB, free: 12.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4437, allocations: 28 kB / 0.5564 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/0.4438, allocations: 52.72 kB / 0.5564 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.4457, allocations: 1.168 MB / 0.5575 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.4476, allocations: 1.069 MB / 0.5586 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.4498, allocations: 2.289 MB / 0.5608 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.4515, allocations: 275.7 kB / 0.5611 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.4518, allocations: 228 kB / 0.5613 GB, free: 7.371 MB / 426.7 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.0007597/0.4525, allocations: 490.6 kB / 0.5618 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.453, allocations: 353.7 kB / 0.5621 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006862/0.4598, allocations: 5.799 MB / 0.5678 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.4599, allocations: 40 kB / 0.5678 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4599, allocations: 3.938 kB / 0.5678 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.4599, allocations: 19.92 kB / 0.5678 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.4733, allocations: 11.12 MB / 0.5787 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4733, allocations: 0 / 0.5787 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.4747, allocations: 0.6709 MB / 0.5793 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.4767, allocations: 0.961 MB / 0.5803 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.4769, allocations: 83.97 kB / 0.5804 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.4787, allocations: 2.045 MB / 0.5824 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4787, allocations: 4.375 kB / 0.5824 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/0.4872, allocations: 8.472 MB / 0.5906 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.4885, allocations: 0.7748 MB / 0.5914 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.4888, allocations: 64 kB / 0.5915 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/0.4897, allocations: 215.8 kB / 0.5917 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.4899, allocations: 242.6 kB / 0.5919 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.4901, allocations: 112 kB / 0.592 GB, free: 7.797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001805/0.4919, allocations: 1.726 MB / 0.5937 GB, free: 6.062 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4919, allocations: 3.938 kB / 0.5937 GB, free: 6.059 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004397/0.4963, allocations: 2.082 MB / 0.5957 GB, free: 3.977 MB / 458.7 MB 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.000428/0.4967, allocations: 250.4 kB / 0.596 GB, free: 3.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009742/0.5065, allocations: 8.708 MB / 0.6045 GB, free: 11.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5065, allocations: 4 kB / 0.6045 GB, free: 11.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.5091, allocations: 2.402 MB / 0.6068 GB, free: 8.621 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.5111, allocations: 0.7304 MB / 0.6075 GB, free: 7.914 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1575/0.6687, allocations: 12.32 MB / 0.6196 GB, free: 159 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.671, allocations: 3.841 MB / 0.6233 GB, free: 158.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.672, allocations: 339.3 kB / 0.6236 GB, free: 158.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/0.672, allocations: 0 / 0.6236 GB, free: 158.6 MB / 474.7 MB Notification: Performance of Templates: time 0.08993/0.762, allocations: 118 MB / 0.7389 GB, free: 48.69 MB / 474.7 MB " [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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 352.958046739921] Failed to read output from testmodel.py, exit status != 0: ['time', 'fieldWeakeningController.vs', 'fieldWeakeningController.is', 'fieldWeakeningController.id', 'fieldWeakeningController.iq'] 0.7702921275049448 0.776983567 0.681589429 Calling exit ...