Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001192/0.001192, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006862/0.006862, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.612/1.612, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004443/0.0004444, allocations: 12.33 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 47.59 MB / 327.1 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02508/0.2862, allocations: 23.44 MB / 350.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.304, allocations: 7.579 MB / 358.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005854/0.3099, allocations: 143.6 kB / 358.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006205/0.3162, allocations: 1.758 MB / 360 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.3267, allocations: 2.773 MB / 362.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005544/0.3322, allocations: 1.568 MB / 364.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.3482, allocations: 11.13 MB / 375.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0429/0.3912, allocations: 23.58 MB / 399 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.3985, allocations: 4.227 MB / 403.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008961/0.4075, allocations: 5.089 MB / 408.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002824/0.4104, allocations: 0.6641 MB / 409 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.4153, allocations: 1.054 MB / 410.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003435/0.4187, allocations: 2.156 MB / 412.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.4295, allocations: 5.078 MB / 417.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0226/0.4521, allocations: 21.73 MB / 439 MB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4521, allocations: 7.984 kB / 439 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4522, allocations: 0 / 439 MB, free: 2.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005825/0.4527, allocations: 0 / 439 MB, free: 2.914 MB / 366.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.03162/0.4844, allocations: 11.37 MB / 450.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.4844, allocations: 12.03 kB / 450.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04019/0.5246, allocations: 7.225 MB / 457.6 MB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.359/0.8836, allocations: 6.508 MB / 464.1 MB, free: 91.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009432/0.8846, allocations: 0.7346 MB / 464.9 MB, free: 91.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005965/0.8906, allocations: 0.9663 MB / 465.8 MB, free: 90.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0366/0.9272, allocations: 16.61 MB / 482.5 MB, free: 82.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/0.9274, allocations: 11.91 kB / 482.5 MB, free: 82.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.9287, allocations: 408.8 kB / 482.9 MB, free: 82.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004038/0.9291, allocations: 0.5906 MB / 483.5 MB, free: 81.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/0.9569, allocations: 15.81 MB / 499.3 MB, free: 66.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/1.032, allocations: 54.03 MB / 0.5403 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.053, allocations: 22.74 MB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006509/1.059, allocations: 3.831 MB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/1.078, allocations: 11.79 MB / 0.5778 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/1.078, allocations: 77.38 kB / 0.5779 GB, free: 2.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=363): time 5.38e-06/1.078, allocations: 0 / 0.5779 GB, free: 2.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=368): time 0.03847/1.117, allocations: 17.56 MB / 0.595 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.117, allocations: 98.19 kB / 0.5951 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007826/1.125, allocations: 4.761 MB / 0.5998 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006381/1.125, allocations: 85.7 kB / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.129, allocations: 4.48 MB / 0.6042 GB, free: 7.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.13, allocations: 1.265 MB / 0.6055 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007342/1.131, allocations: 479 kB / 0.6059 GB, free: 5.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/1.131, allocations: 309.1 kB / 0.6062 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004736/1.136, allocations: 2.936 MB / 0.6091 GB, free: 2.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2196/1.356, allocations: 5.3 MB / 0.6143 GB, free: 139.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.366, allocations: 8.724 MB / 0.6228 GB, free: 134.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/1.366, allocations: 23.72 kB / 0.6228 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01502/1.381, allocations: 9.68 MB / 0.6323 GB, free: 130.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/1.381, allocations: 42.84 kB / 0.6323 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/1.381, allocations: 77.97 kB / 0.6324 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/1.384, allocations: 1.402 MB / 0.6337 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.389, allocations: 1.329 MB / 0.635 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.402, allocations: 11.69 MB / 0.6464 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/1.408, allocations: 378.9 kB / 0.6468 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008853/1.409, allocations: 299.3 kB / 0.6471 GB, free: 123.6 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.006486/1.416, allocations: 3.917 MB / 0.6509 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.417, allocations: 444.5 kB / 0.6513 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.427, allocations: 6.841 MB / 0.658 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00783/1.435, allocations: 5.645 MB / 0.6635 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.435, allocations: 16 kB / 0.6636 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/1.435, allocations: 24.75 kB / 0.6636 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/1.458, allocations: 15.53 MB / 0.6787 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.458, allocations: 4 kB / 0.6787 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.461, allocations: 0.6714 MB / 0.6794 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/1.464, allocations: 1.266 MB / 0.6806 GB, free: 94.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/1.464, allocations: 87.97 kB / 0.6807 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.476, allocations: 10.59 MB / 0.6911 GB, free: 83.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.476, allocations: 7.938 kB / 0.6911 GB, free: 83.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.49, allocations: 10.12 MB / 0.7009 GB, free: 73.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.493, allocations: 1.038 MB / 0.702 GB, free: 72.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006963/1.494, allocations: 75.94 kB / 0.702 GB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.496, allocations: 227.7 kB / 0.7023 GB, free: 71.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/1.496, allocations: 275.1 kB / 0.7025 GB, free: 71.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.497, allocations: 112 kB / 0.7026 GB, free: 71.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004501/1.501, allocations: 3.233 MB / 0.7058 GB, free: 68.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.501, allocations: 0 / 0.7058 GB, free: 68.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007618/1.509, allocations: 1.695 MB / 0.7074 GB, free: 66.65 MB / 446.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.001599/1.51, allocations: 0.5091 MB / 0.7079 GB, free: 66.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.522, allocations: 7.591 MB / 0.7153 GB, free: 58.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.522, allocations: 0 / 0.7153 GB, free: 58.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005804/1.528, allocations: 3.618 MB / 0.7189 GB, free: 54.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/1.536, allocations: 0.9776 MB / 0.7198 GB, free: 53.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.566, allocations: 22.27 MB / 0.7416 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/1.576, allocations: 6.563 MB / 0.748 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0065/1.583, allocations: 2.098 MB / 0.75 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.584, allocations: 351.4 kB / 0.7504 GB, free: 22.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/1.584, allocations: 3.938 kB / 0.7504 GB, free: 22.51 MB / 446.1 MB Notification: Performance of Templates: time 0.3126/1.896, allocations: 68.12 MB / 0.8169 GB, free: 126 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)