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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002989/0.00299, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.812/1.812, allocations: 205.1 MB / 222 MB, free: 4.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.001242/0.001242, allocations: 48.41 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3704, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01772/0.3882, allocations: 11.33 MB / 336 MB, free: 8.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.4001, allocations: 3.876 MB / 339.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.4035, allocations: 51.75 kB / 339.9 MB, free: 4.855 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.4062, allocations: 0.7306 MB / 340.7 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.4103, allocations: 0.8508 MB / 341.5 MB, free: 3.266 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.4118, allocations: 463.5 kB / 342 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.4173, allocations: 3.577 MB / 345.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/0.4209, allocations: 2.133 MB / 347.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.424, allocations: 1.241 MB / 348.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/0.4266, allocations: 1.736 MB / 350.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.427, allocations: 236 kB / 350.9 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4282, allocations: 0.4917 MB / 351.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4294, allocations: 0.9151 MB / 352.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.4317, allocations: 1.559 MB / 353.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.4371, allocations: 4.879 MB / 358.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4371, allocations: 4 kB / 358.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4371, allocations: 0 / 358.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.4372, allocations: 0 / 358.7 MB, free: 1.938 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.008626/0.4459, allocations: 3.472 MB / 362.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.446, allocations: 8.031 kB / 362.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.4474, allocations: 413 kB / 362.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.4505, allocations: 1.718 MB / 364.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.4507, allocations: 197.3 kB / 364.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.451, allocations: 247.9 kB / 364.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006174/0.4572, allocations: 3.251 MB / 368 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.461e-05/0.4573, allocations: 7.891 kB / 368 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.4576, allocations: 108 kB / 368.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.4577, allocations: 112.9 kB / 368.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.4624, allocations: 2.701 MB / 371 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.4821, allocations: 10.36 MB / 381.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.4848, allocations: 1.782 MB / 383.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.4869, allocations: 1.061 MB / 384.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.4873, allocations: 203.2 kB / 384.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.4874, allocations: 43.56 kB / 384.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.537e-06/0.4874, allocations: 0 / 384.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02022/0.5076, allocations: 7.417 MB / 391.8 MB, free: 12 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.5077, allocations: 64.72 kB / 391.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.5115, allocations: 1.88 MB / 393.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.5117, allocations: 45.7 kB / 393.8 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5131, allocations: 1.245 MB / 395 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/0.5138, allocations: 473.3 kB / 395.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/0.5143, allocations: 291.3 kB / 395.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5145, allocations: 305.1 kB / 396.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.516, allocations: 0.812 MB / 396.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.518, allocations: 1.309 MB / 398.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.5216, allocations: 2.247 MB / 400.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.5216, allocations: 8 kB / 400.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005484/0.5271, allocations: 2.795 MB / 403.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.5272, allocations: 12 kB / 403.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.5272, allocations: 16 kB / 403.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.5285, allocations: 430.3 kB / 403.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.53, allocations: 395.3 kB / 404.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/0.5365, allocations: 5.297 MB / 409.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.5387, allocations: 127.7 kB / 409.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.5389, allocations: 76 kB / 409.6 MB, free: 13.43 MB / 350.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.002076/0.541, allocations: 0.7905 MB / 410.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/0.5417, allocations: 193.7 kB / 410.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.5463, allocations: 2.379 MB / 413 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.5463, allocations: 16 kB / 413 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5464, allocations: 4 kB / 413 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.5464, allocations: 3.984 kB / 413 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.5565, allocations: 5.282 MB / 418.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.5566, allocations: 4 kB / 418.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5577, allocations: 260.2 kB / 418.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.559, allocations: 461.9 kB / 419 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.5591, allocations: 35.98 kB / 419 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008035/0.5672, allocations: 6.734 MB / 425.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5672, allocations: 4 kB / 425.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00682/0.574, allocations: 3.569 MB / 429.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.5755, allocations: 454.5 kB / 429.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.5758, allocations: 39.92 kB / 429.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.577, allocations: 103.9 kB / 429.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.5773, allocations: 116.7 kB / 430 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.5774, allocations: 39.98 kB / 430 MB, free: 8.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001968/0.5794, allocations: 1.294 MB / 431.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5794, allocations: 0 / 431.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002123/0.5815, allocations: 0.5391 MB / 431.9 MB, free: 6.395 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 (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.0005156/0.5821, allocations: 231 kB / 432.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00435/0.5864, allocations: 2.408 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.5865, allocations: 4 kB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002689/0.5892, allocations: 1.498 MB / 436 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.5918, allocations: 434.2 kB / 436.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.6026, allocations: 6.266 MB / 442.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.6049, allocations: 2.006 MB / 444.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.6067, allocations: 431.6 kB / 445.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.6072, allocations: 135.4 kB / 445.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.6072, allocations: 0 / 445.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of Templates: time 0.2706/0.8778, allocations: 26.83 MB / 472.1 MB, free: 102.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)