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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=50000,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=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 115.1 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 211.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2097, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.02507/0.2348, allocations: 24.68 MB / 434.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2494, allocations: 7.871 MB / 442.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.253, allocations: 171.4 kB / 442.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.2657, allocations: 5.696 MB / 448.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.2726, allocations: 2.545 MB / 450.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.277, allocations: 1.84 MB / 452.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008538/0.2855, allocations: 7.862 MB / 460.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01881/0.3043, allocations: 14.49 MB / 475.1 MB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.3093, allocations: 3.97 MB / 479.1 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00597/0.3153, allocations: 4.543 MB / 483.6 MB, free: 7.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.3175, allocations: 1.109 MB / 484.7 MB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.321, allocations: 1.468 MB / 486.2 MB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002539/0.3236, allocations: 2.237 MB / 488.4 MB, free: 2.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.3282, allocations: 4.326 MB / 492.8 MB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.3403, allocations: 15.05 MB / 0.4959 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3403, allocations: 0 / 0.4959 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3403, allocations: 0 / 0.4959 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.3405, allocations: 0 / 0.4959 GB, free: 15.3 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.01978/0.3603, allocations: 9.202 MB / 0.5049 GB, free: 6.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3603, allocations: 12.02 kB / 0.5049 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02853/0.3889, allocations: 5.333 MB / 0.5101 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/0.3983, allocations: 4.73 MB / 0.5147 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.3987, allocations: 0.5097 MB / 0.5152 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.4003, allocations: 0.6716 MB / 0.5159 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.4207, allocations: 11.16 MB / 0.5268 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.4209, allocations: 11.84 kB / 0.5268 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4219, allocations: 288 kB / 0.5271 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004072/0.4224, allocations: 426.4 kB / 0.5275 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.4409, allocations: 10.73 MB / 0.538 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/0.6615, allocations: 35.86 MB / 0.573 GB, free: 94.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007571/0.6691, allocations: 11.89 MB / 0.5846 GB, free: 83.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.6722, allocations: 2.851 MB / 0.5874 GB, free: 81.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.6724, allocations: 246.7 kB / 0.5876 GB, free: 81.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6725, allocations: 76.81 kB / 0.5877 GB, free: 81.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=365): time 5.43e-06/0.6725, allocations: 0 / 0.5877 GB, free: 81.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=375): time 0.02919/0.7017, allocations: 15.82 MB / 0.6031 GB, free: 65.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.7017, allocations: 145.7 kB / 0.6033 GB, free: 65.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.7045, allocations: 2.793 MB / 0.606 GB, free: 62.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.7047, allocations: 85.7 kB / 0.6061 GB, free: 62.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/0.7057, allocations: 2.881 MB / 0.6089 GB, free: 59.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000575/0.7063, allocations: 1.269 MB / 0.6101 GB, free: 57.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.7073, allocations: 0.8945 MB / 0.611 GB, free: 57.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.7073, allocations: 301.1 kB / 0.6113 GB, free: 56.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/0.7101, allocations: 2.321 MB / 0.6136 GB, free: 54.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.7133, allocations: 3.92 MB / 0.6174 GB, free: 49.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/0.7197, allocations: 6.699 MB / 0.6239 GB, free: 42.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.7197, allocations: 16 kB / 0.6239 GB, free: 42.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.008641/0.7284, allocations: 7.084 MB / 0.6309 GB, free: 35.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.7284, allocations: 27.94 kB / 0.6309 GB, free: 35.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.7285, allocations: 52.72 kB / 0.6309 GB, free: 35.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.7316, allocations: 1.233 MB / 0.6321 GB, free: 33.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/0.7348, allocations: 1.069 MB / 0.6332 GB, free: 32.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.7373, allocations: 2.355 MB / 0.6355 GB, free: 30.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.7398, allocations: 295.5 kB / 0.6358 GB, free: 30.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/0.7401, allocations: 224 kB / 0.636 GB, free: 29.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005133/0.7452, allocations: 4.518 MB / 0.6404 GB, free: 25.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003218/0.7485, allocations: 3.9 MB / 0.6442 GB, free: 20.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006325/0.7548, allocations: 6.687 MB / 0.6507 GB, free: 13.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.789e-05/0.7548, allocations: 16 kB / 0.6507 GB, free: 13.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.008448/0.7633, allocations: 7.041 MB / 0.6576 GB, free: 6.246 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7633, allocations: 28 kB / 0.6577 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.7634, allocations: 48.72 kB / 0.6577 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.7663, allocations: 1.189 MB / 0.6589 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.7695, allocations: 1.072 MB / 0.6599 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.7717, allocations: 2.288 MB / 0.6621 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.7742, allocations: 275.7 kB / 0.6624 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.7745, allocations: 224 kB / 0.6626 GB, free: 1.105 MB / 462.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.0006685/0.7751, allocations: 0.4907 MB / 0.6631 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.7757, allocations: 351.7 kB / 0.6634 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009361/0.785, allocations: 5.853 MB / 0.6691 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.7851, allocations: 20.03 kB / 0.6692 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7851, allocations: 11.88 kB / 0.6692 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/0.7869, allocations: 0.8441 MB / 0.67 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/0.7873, allocations: 64 kB / 0.6701 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.789, allocations: 219.8 kB / 0.6703 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.7895, allocations: 218.8 kB / 0.6705 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01016/0.7996, allocations: 5.855 MB / 0.6762 GB, free: 3.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01077/0.8104, allocations: 7.222 MB / 0.6833 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003071/0.8135, allocations: 2.254 MB / 0.6855 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002827/0.8164, allocations: 1.871 MB / 0.6873 GB, free: 7.77 MB / 494.1 MB Notification: Performance of Backend: time 7.31e-07/0.8164, allocations: 0 / 0.6873 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01436/0.8307, allocations: 7.592 MB / 0.6947 GB, free: 252 kB / 494.1 MB Notification: Performance of SimCode: time 0.01819/0.849, allocations: 11.63 MB / 0.7061 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.2947/1.144, allocations: 87.64 MB / 0.7916 GB, free: 150.3 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.makefile (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)