Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.0008332, allocations: 88.89 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.00089/0.0008904, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.566/1.566, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004377/0.0004377, allocations: 14.81 kB / 280.8 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 47.58 MB / 328.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02354/0.1265, allocations: 23.45 MB / 351.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.1445, allocations: 7.574 MB / 359.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006182/0.1507, allocations: 147.6 kB / 359.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006445/0.1572, allocations: 1.766 MB / 361.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.17, allocations: 2.765 MB / 364 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00563/0.1757, allocations: 1.564 MB / 365.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.1916, allocations: 11.14 MB / 376.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2388/0.4304, allocations: 23.58 MB / 400.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.4382, allocations: 4.226 MB / 404.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00845/0.4467, allocations: 5.095 MB / 409.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.4493, allocations: 0.6634 MB / 410.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.4537, allocations: 1.057 MB / 411.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.4557, allocations: 2.147 MB / 413.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006697/0.4624, allocations: 5.074 MB / 418.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02471/0.4871, allocations: 21.75 MB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4871, allocations: 0 / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4872, allocations: 0 / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006043/0.4878, allocations: 0 / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03278/0.5206, allocations: 11.37 MB / 451.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5206, allocations: 8.031 kB / 451.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03991/0.5605, allocations: 7.225 MB / 458.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.5752, allocations: 6.52 MB / 465.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000945/0.5762, allocations: 0.7281 MB / 466.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005713/0.582, allocations: 0.9697 MB / 467.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04567/0.6277, allocations: 16.62 MB / 483.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000598/0.6283, allocations: 7.906 kB / 483.8 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00417/0.6325, allocations: 410.9 kB / 484.2 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008471/0.6334, allocations: 0.5869 MB / 484.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03547/0.6688, allocations: 15.81 MB / 0.4888 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4766/1.145, allocations: 54.03 MB / 0.5416 GB, free: 123.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.167, allocations: 22.73 MB / 0.5638 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006039/1.173, allocations: 3.836 MB / 0.5676 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/1.19, allocations: 11.79 MB / 0.5791 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/1.19, allocations: 76.8 kB / 0.5791 GB, free: 105.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.62e-06/1.19, allocations: 0 / 0.5791 GB, free: 105.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03715/1.228, allocations: 17.57 MB / 0.5963 GB, free: 98.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.228, allocations: 92.02 kB / 0.5964 GB, free: 98.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006462/1.234, allocations: 4.757 MB / 0.601 GB, free: 96.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000682/1.235, allocations: 87.8 kB / 0.6011 GB, free: 96.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.237, allocations: 4.474 MB / 0.6055 GB, free: 93.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.238, allocations: 1.267 MB / 0.6067 GB, free: 92.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/1.239, allocations: 475.3 kB / 0.6072 GB, free: 91.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/1.239, allocations: 301.1 kB / 0.6075 GB, free: 91.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/1.243, allocations: 2.939 MB / 0.6103 GB, free: 89.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/1.248, allocations: 5.309 MB / 0.6155 GB, free: 85.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009008/1.257, allocations: 8.722 MB / 0.624 GB, free: 75.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/1.257, allocations: 24 kB / 0.6241 GB, free: 75.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01473/1.272, allocations: 9.682 MB / 0.6335 GB, free: 65.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/1.272, allocations: 39.94 kB / 0.6336 GB, free: 65.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.272, allocations: 80.84 kB / 0.6336 GB, free: 65.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/1.275, allocations: 1.399 MB / 0.635 GB, free: 64.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/1.28, allocations: 1.338 MB / 0.6363 GB, free: 62.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.293, allocations: 11.69 MB / 0.6477 GB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/1.298, allocations: 371.5 kB / 0.6481 GB, free: 50.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007368/1.299, allocations: 308 kB / 0.6484 GB, free: 50.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006025/1.305, allocations: 3.919 MB / 0.6522 GB, free: 46.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009284/1.306, allocations: 454.3 kB / 0.6526 GB, free: 45.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.316, allocations: 6.833 MB / 0.6593 GB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007744/1.324, allocations: 5.643 MB / 0.6648 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.324, allocations: 14.25 kB / 0.6648 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.324, allocations: 15.94 kB / 0.6648 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/1.352, allocations: 15.54 MB / 0.68 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.352, allocations: 4 kB / 0.68 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/1.354, allocations: 0.6631 MB / 0.6807 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/1.358, allocations: 1.27 MB / 0.6819 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/1.358, allocations: 87.97 kB / 0.682 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/1.37, allocations: 10.59 MB / 0.6923 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.37, allocations: 4 kB / 0.6923 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/1.385, allocations: 10.12 MB / 0.7022 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.388, allocations: 1.042 MB / 0.7032 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008196/1.389, allocations: 71.98 kB / 0.7033 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002396/1.391, allocations: 227.8 kB / 0.7035 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/1.392, allocations: 271.1 kB / 0.7038 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/1.392, allocations: 112 kB / 0.7039 GB, free: 8.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005239/1.398, allocations: 3.233 MB / 0.707 GB, free: 5.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.398, allocations: 0 / 0.707 GB, free: 5.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006887/1.405, allocations: 1.697 MB / 0.7087 GB, free: 3.688 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/1.406, allocations: 0.5083 MB / 0.7092 GB, free: 3.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2038/1.61, allocations: 7.592 MB / 0.7166 GB, free: 148.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.61, allocations: 1.031 kB / 0.7166 GB, free: 148.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007501/1.617, allocations: 3.614 MB / 0.7201 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008313/1.626, allocations: 0.975 MB / 0.7211 GB, free: 147.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/1.664, allocations: 22.27 MB / 0.7428 GB, free: 135.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006908/1.671, allocations: 6.555 MB / 0.7492 GB, free: 133.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005933/1.677, allocations: 2.11 MB / 0.7513 GB, free: 133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.678, allocations: 353.3 kB / 0.7516 GB, free: 133 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/1.678, allocations: 0 / 0.7516 GB, free: 133 MB / 462.1 MB Notification: Performance of Templates: time 0.1122/1.79, allocations: 68.13 MB / 0.8182 GB, free: 71.55 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)