Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 114.4 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 51.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1527, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01626/0.1691, allocations: 11.33 MB / 337.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1806, allocations: 3.851 MB / 341.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003923/0.1846, allocations: 51.75 kB / 341.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.1878, allocations: 0.7306 MB / 342.1 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.1924, allocations: 0.843 MB / 343 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.194, allocations: 459.5 kB / 343.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005406/0.1994, allocations: 3.23 MB / 346.6 MB, free: 200 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.2028, allocations: 2.538 MB / 349.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.2061, allocations: 1.437 MB / 350.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.2094, allocations: 1.845 MB / 352.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007716/0.2102, allocations: 384 kB / 352.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.2119, allocations: 0.6245 MB / 353.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.2132, allocations: 1.071 MB / 354.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.2157, allocations: 1.723 MB / 356.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006431/0.2222, allocations: 4.985 MB / 361.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2222, allocations: 0 / 361.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.2223, allocations: 0 / 361.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.2224, allocations: 4 kB / 361.2 MB, free: 1.496 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.009059/0.2315, allocations: 3.484 MB / 364.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.2316, allocations: 11.89 kB / 364.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.2331, allocations: 413 kB / 365.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.2363, allocations: 1.714 MB / 366.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.2365, allocations: 197.3 kB / 367 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.2369, allocations: 252 kB / 367.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006127/0.243, allocations: 3.243 MB / 370.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/0.2431, allocations: 7.906 kB / 370.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.2433, allocations: 104 kB / 370.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.2435, allocations: 116.9 kB / 370.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.2486, allocations: 2.705 MB / 373.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2616/0.5102, allocations: 10.36 MB / 383.8 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/0.5141, allocations: 1.78 MB / 385.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/0.5176, allocations: 1.044 MB / 386.6 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/0.5182, allocations: 208 kB / 386.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.265e-05/0.5183, allocations: 46.5 kB / 386.9 MB, free: 45.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 7.123e-06/0.5183, allocations: 3.828 kB / 386.9 MB, free: 45.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02776/0.5461, allocations: 7.406 MB / 394.3 MB, free: 42.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.5462, allocations: 64.75 kB / 394.4 MB, free: 42.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.551, allocations: 1.873 MB / 396.2 MB, free: 41.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5512, allocations: 45.58 kB / 396.3 MB, free: 41.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009094/0.5521, allocations: 1.249 MB / 397.5 MB, free: 40.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.5525, allocations: 466.7 kB / 398 MB, free: 39.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/0.5531, allocations: 301.8 kB / 398.3 MB, free: 39.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.5532, allocations: 301.1 kB / 398.6 MB, free: 39.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.5545, allocations: 0.8068 MB / 399.4 MB, free: 39.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.5563, allocations: 1.315 MB / 400.7 MB, free: 37.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.5592, allocations: 2.258 MB / 402.9 MB, free: 36.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/0.5593, allocations: 6.312 kB / 403 MB, free: 36.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005558/0.5649, allocations: 2.796 MB / 405.8 MB, free: 34.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.5649, allocations: 15.34 kB / 405.8 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5649, allocations: 15.8 kB / 405.8 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.566, allocations: 419 kB / 406.2 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.5673, allocations: 395.3 kB / 406.6 MB, free: 34.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.5725, allocations: 5.786 MB / 412.4 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.5748, allocations: 119.9 kB / 412.5 MB, free: 27.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.5751, allocations: 75.98 kB / 412.6 MB, free: 27.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002026/0.5771, allocations: 0.7911 MB / 413.3 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008232/0.5779, allocations: 201.6 kB / 413.5 MB, free: 26.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.5818, allocations: 2.383 MB / 415.9 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.5818, allocations: 13.83 kB / 415.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.5819, allocations: 10.73 kB / 415.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5819, allocations: 3.984 kB / 416 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009203/0.5911, allocations: 5.291 MB / 421.2 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5912, allocations: 4 kB / 421.2 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.5922, allocations: 248.2 kB / 421.5 MB, free: 18.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.5933, allocations: 471.5 kB / 422 MB, free: 18.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.5934, allocations: 31.98 kB / 422 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006113/0.5995, allocations: 7.333 MB / 429.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5996, allocations: 15.88 kB / 429.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/0.6052, allocations: 3.564 MB / 432.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.6066, allocations: 450.7 kB / 433.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/0.6075, allocations: 43.92 kB / 433.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.6093, allocations: 99.83 kB / 433.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.6097, allocations: 112.7 kB / 433.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.6098, allocations: 51.98 kB / 433.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002988/0.6128, allocations: 1.291 MB / 434.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6128, allocations: 4 kB / 434.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00291/0.6157, allocations: 0.5386 MB / 435.5 MB, free: 4.277 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005885/0.6163, allocations: 213.7 kB / 435.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.622, allocations: 2.973 MB / 438.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.6221, allocations: 0 / 438.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.6247, allocations: 1.512 MB / 440.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/0.6288, allocations: 452 kB / 440.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.6417, allocations: 6.27 MB / 446.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.6437, allocations: 2.018 MB / 448.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001853/0.6455, allocations: 423.7 kB / 449.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.646, allocations: 131.4 kB / 449.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of SimCode: time 3.497e-06/0.646, allocations: 0 / 449.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of Templates: time 0.05644/0.7024, allocations: 27.87 MB / 477.3 MB, free: 10.25 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)