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.000856/0.0008562, allocations: 92.47 kB / 16.65 MB, free: 6.535 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.0008872/0.000887, allocations: 172.6 kB / 17.56 MB, free: 6.184 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.992/1.992, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0005963/0.0005964, allocations: 16 kB / 280.7 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1479, allocations: 47.57 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01293/0.1609, allocations: 10.77 MB / 339.1 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009549/0.1705, allocations: 3.836 MB / 342.9 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.1729, allocations: 47.81 kB / 343 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1753, allocations: 0.7305 MB / 343.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.1791, allocations: 0.8469 MB / 344.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1806, allocations: 467.5 kB / 345 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005072/0.1857, allocations: 3.581 MB / 348.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.1886, allocations: 2.11 MB / 350.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.1913, allocations: 1.081 MB / 351.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.1942, allocations: 1.54 MB / 353.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.1946, allocations: 164 kB / 353.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1958, allocations: 427.5 kB / 353.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000963/0.1968, allocations: 0.8136 MB / 354.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.199, allocations: 1.451 MB / 356.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006115/0.2051, allocations: 4.737 MB / 360.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2051, allocations: 0 / 360.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.2051, allocations: 0 / 360.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001956/0.2054, allocations: 4 kB / 360.9 MB, free: 2.977 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.009368/0.2147, allocations: 2.95 MB / 363.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.2148, allocations: 15.97 kB / 363.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.2172, allocations: 409 kB / 364.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.2213, allocations: 1.718 MB / 366 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.2216, allocations: 201.3 kB / 366.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006294/0.2223, allocations: 248 kB / 366.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007443/0.2297, allocations: 3.259 MB / 369.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.048e-05/0.2298, allocations: 11.84 kB / 369.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.2301, allocations: 100 kB / 369.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.2302, allocations: 116.9 kB / 369.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.2361, allocations: 2.721 MB / 372.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/0.5525, allocations: 10.43 MB / 383.1 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.5556, allocations: 1.788 MB / 384.8 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.5579, allocations: 1.06 MB / 385.9 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.5582, allocations: 210.4 kB / 386.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.5583, allocations: 48.47 kB / 386.2 MB, free: 44.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.881e-06/0.5583, allocations: 0 / 386.2 MB, free: 44.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02467/0.583, allocations: 7.752 MB / 393.9 MB, free: 41.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.5831, allocations: 69.09 kB / 394 MB, free: 41.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/0.5888, allocations: 1.874 MB / 395.8 MB, free: 41.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.5891, allocations: 53.58 kB / 395.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.5903, allocations: 1.246 MB / 397.1 MB, free: 40.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/0.591, allocations: 463.5 kB / 397.6 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.5914, allocations: 130.1 kB / 397.7 MB, free: 39.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.5915, allocations: 309 kB / 398 MB, free: 39.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.5931, allocations: 0.825 MB / 398.9 MB, free: 39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5952, allocations: 1.332 MB / 400.2 MB, free: 37.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.5989, allocations: 2.289 MB / 402.5 MB, free: 36.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.5989, allocations: 2.656 kB / 402.5 MB, free: 36.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005838/0.6048, allocations: 2.831 MB / 405.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.6049, allocations: 11.44 kB / 405.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/0.6049, allocations: 18.59 kB / 405.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.6063, allocations: 420.4 kB / 405.7 MB, free: 34.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.6078, allocations: 409.6 kB / 406.1 MB, free: 34.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.6134, allocations: 5.318 MB / 411.5 MB, free: 29.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.616, allocations: 132.7 kB / 411.6 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.6162, allocations: 77.39 kB / 411.7 MB, free: 28.95 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.002117/0.6183, allocations: 0.7823 MB / 412.5 MB, free: 28.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.6195, allocations: 201.6 kB / 412.6 MB, free: 27.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.6241, allocations: 2.416 MB / 415.1 MB, free: 25.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.6241, allocations: 20 kB / 415.1 MB, free: 25.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.6241, allocations: 4 kB / 415.1 MB, free: 25.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.6242, allocations: 12.47 kB / 415.1 MB, free: 25.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009647/0.6338, allocations: 5.316 MB / 420.4 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.6339, allocations: 7.938 kB / 420.4 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6349, allocations: 265.8 kB / 420.7 MB, free: 19.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.6362, allocations: 459.5 kB / 421.1 MB, free: 19.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.6363, allocations: 35.98 kB / 421.2 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005782/0.6421, allocations: 6.733 MB / 427.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.6421, allocations: 11.94 kB / 427.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/0.6481, allocations: 3.627 MB / 431.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.6499, allocations: 454.5 kB / 432 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.6503, allocations: 39.98 kB / 432 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.6515, allocations: 107.9 kB / 432.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.6518, allocations: 116.7 kB / 432.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/0.6519, allocations: 47.92 kB / 432.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001908/0.6538, allocations: 1.291 MB / 433.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6538, allocations: 0 / 433.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002527/0.6563, allocations: 0.5433 MB / 434.1 MB, free: 5.809 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.0005797/0.6569, allocations: 223 kB / 434.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004207/0.6611, allocations: 2.442 MB / 436.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.6612, allocations: 4 kB / 436.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.6636, allocations: 1.523 MB / 438.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/0.6676, allocations: 434.6 kB / 438.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6797, allocations: 6.386 MB / 445.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.6824, allocations: 2.01 MB / 447.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002052/0.6845, allocations: 431.6 kB / 447.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.6849, allocations: 139.3 kB / 447.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6849, allocations: 0 / 447.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of Templates: time 0.06497/0.7499, allocations: 26.42 MB / 474.1 MB, free: 13.61 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)