Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001074/0.001082, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001257/0.001257, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.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.00052/0.0005201, allocations: 12 kB / 278.9 MB, free: 12.92 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3586, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01178/0.3704, allocations: 10.1 MB / 336.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.3798, allocations: 3.683 MB / 340.3 MB, free: 5.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.3822, allocations: 51.75 kB / 340.3 MB, free: 5.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.3843, allocations: 0.6798 MB / 341 MB, free: 4.945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.3872, allocations: 0.804 MB / 341.8 MB, free: 4.137 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3884, allocations: 331.5 kB / 342.1 MB, free: 3.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004505/0.3929, allocations: 3.257 MB / 345.4 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.396, allocations: 1.686 MB / 347.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.3984, allocations: 1.07 MB / 348.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.4017, allocations: 1.486 MB / 349.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.403, allocations: 164 kB / 349.8 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.4047, allocations: 363.6 kB / 350.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.4057, allocations: 0.802 MB / 350.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4069, allocations: 0.5783 MB / 351.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004728/0.4117, allocations: 4.024 MB / 355.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.4117, allocations: 4 kB / 355.5 MB, free: 6.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4117, allocations: 7.938 kB / 355.6 MB, free: 6.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.4119, allocations: 0 / 355.6 MB, free: 6.305 MB / 286.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.007747/0.4196, allocations: 2.981 MB / 358.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4197, allocations: 8.031 kB / 358.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.421, allocations: 412.1 kB / 358.9 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.4239, allocations: 1.655 MB / 360.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.4241, allocations: 201 kB / 360.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.4244, allocations: 251.9 kB / 361 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/0.4301, allocations: 3.239 MB / 364.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.4302, allocations: 7.859 kB / 364.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.4304, allocations: 108 kB / 364.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.4305, allocations: 116.9 kB / 364.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.4351, allocations: 2.705 MB / 367.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.4512, allocations: 10.43 MB / 377.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.4535, allocations: 1.78 MB / 379.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.4552, allocations: 1.065 MB / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.4555, allocations: 207.1 kB / 380.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4556, allocations: 47.5 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.646e-06/0.4556, allocations: 0 / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01765/0.4732, allocations: 7.757 MB / 388.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.4733, allocations: 64.72 kB / 388.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.4764, allocations: 1.857 MB / 390.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/0.4765, allocations: 45.7 kB / 390.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.4775, allocations: 1.253 MB / 391.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.4779, allocations: 473.2 kB / 392.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.478, allocations: 28 kB / 392.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4782, allocations: 377.9 kB / 392.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4796, allocations: 0.8198 MB / 393.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.4813, allocations: 1.321 MB / 394.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.4831, allocations: 1.021 MB / 395.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4831, allocations: 11.94 kB / 395.7 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005068/0.4882, allocations: 2.803 MB / 398.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.4882, allocations: 16.22 kB / 398.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.4883, allocations: 20 kB / 398.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/0.4893, allocations: 418.3 kB / 399 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.4907, allocations: 407.3 kB / 399.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/0.497, allocations: 5.293 MB / 404.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4988, allocations: 131.7 kB / 404.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.4989, allocations: 83.98 kB / 404.9 MB, free: 3.531 MB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.5007, allocations: 0.7862 MB / 405.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.5012, allocations: 197.6 kB / 405.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.5055, allocations: 2.411 MB / 408.3 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.5055, allocations: 12 kB / 408.3 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5056, allocations: 4 kB / 408.3 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5056, allocations: 15.97 kB / 408.3 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008866/0.5145, allocations: 5.31 MB / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.5145, allocations: 4 kB / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5156, allocations: 259.6 kB / 413.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.5167, allocations: 458.2 kB / 414.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/0.5168, allocations: 39.97 kB / 414.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007379/0.5242, allocations: 6.725 MB / 421.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5243, allocations: 16.12 kB / 421.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006587/0.5309, allocations: 3.62 MB / 424.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.5322, allocations: 454.7 kB / 425.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/0.5329, allocations: 39.98 kB / 425.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.5344, allocations: 115.8 kB / 425.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.5347, allocations: 108.8 kB / 425.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.5348, allocations: 47.98 kB / 425.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002968/0.5378, allocations: 1.275 MB / 426.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5378, allocations: 0 / 426.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00289/0.5407, allocations: 0.543 MB / 427.3 MB, free: 12.39 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004969/0.5412, allocations: 175.2 kB / 427.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004598/0.5458, allocations: 2.436 MB / 429.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.5459, allocations: 4 kB / 429.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.5487, allocations: 1.521 MB / 431.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.5523, allocations: 450 kB / 431.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.5647, allocations: 6.093 MB / 438 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/0.5677, allocations: 2.01 MB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002079/0.5698, allocations: 423.7 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/0.5705, allocations: 131.4 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5705, allocations: 0 / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of Templates: time 0.2597/0.8302, allocations: 25.71 MB / 466.2 MB, free: 106.3 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)