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.001236/0.001236, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001422/0.001422, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.854/1.854, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001416/0.001416, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01643/0.1548, allocations: 11.32 MB / 337.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1658, allocations: 3.878 MB / 341.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.1698, allocations: 51.75 kB / 341.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.1741, allocations: 0.7267 MB / 342 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.1804, allocations: 0.8508 MB / 342.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.1831, allocations: 471.5 kB / 343.3 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007441/0.1905, allocations: 3.589 MB / 346.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/0.1959, allocations: 2.121 MB / 349 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.1997, allocations: 1.245 MB / 350.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005045/0.2048, allocations: 1.739 MB / 352 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.2066, allocations: 236 kB / 352.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.2096, allocations: 0.4917 MB / 352.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.2114, allocations: 0.9111 MB / 353.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.2148, allocations: 1.559 MB / 355.1 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.222, allocations: 4.875 MB / 360 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.222, allocations: 7.938 kB / 360 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.222, allocations: 0 / 360 MB, free: 2.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000202/0.2223, allocations: 0 / 360 MB, free: 2.621 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.01016/0.2324, allocations: 3.476 MB / 363.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.279e-05/0.2325, allocations: 8.031 kB / 363.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.2342, allocations: 409 kB / 363.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.2379, allocations: 1.722 MB / 365.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.2381, allocations: 197.3 kB / 365.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.2386, allocations: 248 kB / 366.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007464/0.246, allocations: 3.243 MB / 369.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/0.2462, allocations: 7.906 kB / 369.3 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.2465, allocations: 104 kB / 369.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.2467, allocations: 116.9 kB / 369.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.2527, allocations: 2.697 MB / 372.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3652/0.6179, allocations: 10.37 MB / 382.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.6207, allocations: 1.771 MB / 384.4 MB, free: 45.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.623, allocations: 1.052 MB / 385.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.6234, allocations: 207 kB / 385.6 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.6235, allocations: 45.69 kB / 385.7 MB, free: 44.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.007e-06/0.6235, allocations: 0 / 385.7 MB, free: 44.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02097/0.6445, allocations: 7.401 MB / 393.1 MB, free: 42.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.6446, allocations: 66.06 kB / 393.1 MB, free: 42.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.6484, allocations: 1.874 MB / 395 MB, free: 41.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.6486, allocations: 53.58 kB / 395.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/0.6494, allocations: 1.244 MB / 396.3 MB, free: 40.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/0.6498, allocations: 470.8 kB / 396.8 MB, free: 39.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.6504, allocations: 293.2 kB / 397.1 MB, free: 39.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6505, allocations: 305.1 kB / 397.4 MB, free: 39.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.6518, allocations: 0.8096 MB / 398.2 MB, free: 39.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.6534, allocations: 1.318 MB / 399.5 MB, free: 38.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.6566, allocations: 2.251 MB / 401.7 MB, free: 36.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.6566, allocations: 11.75 kB / 401.7 MB, free: 36.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004737/0.6613, allocations: 2.781 MB / 404.5 MB, free: 35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.6614, allocations: 22.59 kB / 404.5 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.6614, allocations: 14.5 kB / 404.6 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.6625, allocations: 422.3 kB / 405 MB, free: 34.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.6639, allocations: 401.1 kB / 405.4 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/0.6697, allocations: 5.294 MB / 410.7 MB, free: 29.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.672, allocations: 126.7 kB / 410.8 MB, free: 29.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.6722, allocations: 75.98 kB / 410.9 MB, free: 29.35 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.001912/0.6742, allocations: 0.7901 MB / 411.6 MB, free: 28.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/0.675, allocations: 189.7 kB / 411.8 MB, free: 28.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.6794, allocations: 2.389 MB / 414.2 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.6795, allocations: 16 kB / 414.2 MB, free: 25.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.6795, allocations: 4 kB / 414.2 MB, free: 25.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.6795, allocations: 7.969 kB / 414.2 MB, free: 25.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.69, allocations: 5.287 MB / 419.5 MB, free: 20.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.69, allocations: 4 kB / 419.5 MB, free: 20.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6911, allocations: 253.3 kB / 419.8 MB, free: 20.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.6923, allocations: 461.3 kB / 420.2 MB, free: 19.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.6925, allocations: 39.98 kB / 420.3 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/0.6985, allocations: 6.724 MB / 427 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6985, allocations: 11.88 kB / 427 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.7042, allocations: 3.583 MB / 430.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.7057, allocations: 442.6 kB / 431 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/0.7066, allocations: 39.98 kB / 431.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.7084, allocations: 95.88 kB / 431.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/0.7088, allocations: 112.7 kB / 431.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.709, allocations: 47.92 kB / 431.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003071/0.7121, allocations: 1.294 MB / 432.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7121, allocations: 0 / 432.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003429/0.7155, allocations: 0.5426 MB / 433.2 MB, free: 6.375 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.0006892/0.7162, allocations: 221.5 kB / 433.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004086/0.7203, allocations: 2.401 MB / 435.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7204, allocations: 0 / 435.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.7228, allocations: 1.517 MB / 437.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/0.7264, allocations: 429.7 kB / 437.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.7393, allocations: 6.278 MB / 444 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.7428, allocations: 2.006 MB / 446 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002438/0.7453, allocations: 427.7 kB / 446.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000886/0.7462, allocations: 131.4 kB / 446.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.824e-06/0.7462, allocations: 0 / 446.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of Templates: time 0.06054/0.8067, allocations: 26.83 MB / 473.4 MB, free: 13.96 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)