Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003027/0.003027, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.84/1.84, allocations: 205.1 MB / 222 MB, free: 4.758 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.001397/0.001397, allocations: 47.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3915, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01508/0.4067, allocations: 11.33 MB / 336 MB, free: 8.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.4182, allocations: 3.883 MB / 339.9 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/0.4231, allocations: 47.75 kB / 339.9 MB, free: 4.836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.4274, allocations: 0.7345 MB / 340.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.434, allocations: 0.843 MB / 341.5 MB, free: 3.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.4362, allocations: 463.5 kB / 342 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006079/0.4423, allocations: 3.577 MB / 345.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.4453, allocations: 2.129 MB / 347.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.4481, allocations: 1.241 MB / 348.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.4506, allocations: 1.739 MB / 350.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.451, allocations: 236 kB / 350.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.4523, allocations: 0.4917 MB / 351.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009641/0.4533, allocations: 0.9151 MB / 352.3 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.4556, allocations: 1.559 MB / 353.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006619/0.4622, allocations: 4.883 MB / 358.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4623, allocations: 0 / 358.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4623, allocations: 4 kB / 358.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.4625, allocations: 0 / 358.7 MB, free: 1.918 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.0106/0.4731, allocations: 3.468 MB / 362.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.4731, allocations: 12.03 kB / 362.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.4747, allocations: 409 kB / 362.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.4784, allocations: 1.714 MB / 364.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.4786, allocations: 205.3 kB / 364.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.479, allocations: 251.9 kB / 364.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.4858, allocations: 3.243 MB / 368 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/0.4859, allocations: 15.84 kB / 368 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.4861, allocations: 96 kB / 368.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.4863, allocations: 116.9 kB / 368.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005426/0.4917, allocations: 2.701 MB / 370.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.5149, allocations: 10.37 MB / 381.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.5176, allocations: 1.782 MB / 383.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.5195, allocations: 1.057 MB / 384.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.5199, allocations: 203.2 kB / 384.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.52, allocations: 43.56 kB / 384.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.569e-06/0.52, allocations: 0 / 384.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02019/0.5402, allocations: 7.413 MB / 391.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.5403, allocations: 72.72 kB / 391.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.5443, allocations: 1.868 MB / 393.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.5445, allocations: 53.7 kB / 393.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.5458, allocations: 1.237 MB / 395 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.5464, allocations: 469.3 kB / 395.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005856/0.547, allocations: 295.3 kB / 395.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5472, allocations: 305.1 kB / 396.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.5487, allocations: 0.8081 MB / 396.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.551, allocations: 1.317 MB / 398.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.5548, allocations: 2.251 MB / 400.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.5548, allocations: 8 kB / 400.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006218/0.561, allocations: 2.791 MB / 403.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.5611, allocations: 15.94 kB / 403.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/0.5612, allocations: 16 kB / 403.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.5624, allocations: 422.2 kB / 403.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.5639, allocations: 395.3 kB / 404.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/0.571, allocations: 5.3 MB / 409.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.5735, allocations: 131.7 kB / 409.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.5737, allocations: 71.98 kB / 409.6 MB, free: 13.41 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.002047/0.5757, allocations: 0.7866 MB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/0.5763, allocations: 197.7 kB / 410.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.5807, allocations: 2.379 MB / 412.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.5808, allocations: 12 kB / 413 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5808, allocations: 4 kB / 413 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.5808, allocations: 7.969 kB / 413 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/0.5906, allocations: 5.29 MB / 418.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5907, allocations: 7.938 kB / 418.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.5917, allocations: 252.2 kB / 418.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.593, allocations: 458.1 kB / 419 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.5931, allocations: 39.92 kB / 419 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007528/0.6007, allocations: 6.734 MB / 425.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.6007, allocations: 7.938 kB / 425.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006565/0.6073, allocations: 3.573 MB / 429.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.6087, allocations: 450.6 kB / 429.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.6089, allocations: 32 kB / 429.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6101, allocations: 107.8 kB / 429.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.6104, allocations: 112.7 kB / 430 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.6105, allocations: 47.98 kB / 430 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002193/0.6127, allocations: 1.291 MB / 431.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6127, allocations: 0 / 431.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002677/0.6154, allocations: 0.543 MB / 431.9 MB, free: 6.371 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.0006392/0.616, allocations: 218.9 kB / 432.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.6209, allocations: 2.409 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.6209, allocations: 4.062 kB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.6239, allocations: 1.51 MB / 436 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.6272, allocations: 422.2 kB / 436.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.6392, allocations: 6.268 MB / 442.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/0.6413, allocations: 2.006 MB / 444.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002021/0.6433, allocations: 431.6 kB / 445.1 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.6438, allocations: 127.4 kB / 445.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.6438, allocations: 0 / 445.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of Templates: time 0.3228/0.9666, allocations: 26.84 MB / 472.1 MB, free: 102.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)