Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009718/0.0009717, allocations: 97.56 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.007351/0.007352, allocations: 168.4 kB / 16.26 MB, free: 6.656 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.608/1.608, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004574/0.0004575, allocations: 12 kB / 279.5 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.249, allocations: 47.58 MB / 327.1 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02333/0.2724, allocations: 23.44 MB / 350.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.2902, allocations: 7.575 MB / 358.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007412/0.2976, allocations: 143.6 kB / 358.2 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006813/0.3044, allocations: 1.754 MB / 360 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.3156, allocations: 2.785 MB / 362.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.3221, allocations: 1.571 MB / 364.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01587/0.338, allocations: 11.13 MB / 375.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04352/0.3816, allocations: 23.59 MB / 399 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007844/0.3894, allocations: 4.223 MB / 403.3 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00934/0.3988, allocations: 5.089 MB / 408.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002954/0.4018, allocations: 0.6641 MB / 409 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005142/0.407, allocations: 1.062 MB / 410.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003872/0.4109, allocations: 2.148 MB / 412.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009999/0.4209, allocations: 5.075 MB / 417.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.4471, allocations: 21.74 MB / 439 MB, free: 2.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.4471, allocations: 0 / 439 MB, free: 2.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4471, allocations: 3.938 kB / 439 MB, free: 2.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009277/0.4481, allocations: 4 kB / 439 MB, free: 2.926 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.03518/0.4833, allocations: 11.36 MB / 450.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4833, allocations: 12.03 kB / 450.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04064/0.524, allocations: 7.229 MB / 457.6 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3805/0.9046, allocations: 6.508 MB / 464.2 MB, free: 91.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008265/0.9054, allocations: 0.7339 MB / 464.9 MB, free: 91.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003528/0.9089, allocations: 0.9645 MB / 465.9 MB, free: 90.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/0.945, allocations: 16.61 MB / 482.5 MB, free: 82.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004922/0.9455, allocations: 15.91 kB / 482.5 MB, free: 82.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00315/0.9487, allocations: 408 kB / 482.9 MB, free: 82.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005367/0.9492, allocations: 0.5973 MB / 483.5 MB, free: 81.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/0.9801, allocations: 15.81 MB / 499.3 MB, free: 65.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08377/1.064, allocations: 54.03 MB / 0.5404 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/1.086, allocations: 22.72 MB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007364/1.094, allocations: 3.841 MB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02333/1.117, allocations: 11.79 MB / 0.5778 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.054e-05/1.117, allocations: 69.39 kB / 0.5779 GB, free: 2.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=363): time 6.382e-06/1.117, allocations: 4 kB / 0.5779 GB, free: 2.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=368): time 0.04496/1.162, allocations: 17.56 MB / 0.595 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/1.162, allocations: 90.27 kB / 0.5951 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009361/1.172, allocations: 4.766 MB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008451/1.173, allocations: 85.7 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003752/1.176, allocations: 4.476 MB / 0.6042 GB, free: 7.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00233/1.179, allocations: 1.277 MB / 0.6055 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/1.181, allocations: 479 kB / 0.6059 GB, free: 5.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/1.181, allocations: 305.1 kB / 0.6062 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/1.187, allocations: 2.936 MB / 0.6091 GB, free: 2.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2246/1.412, allocations: 5.303 MB / 0.6143 GB, free: 139.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/1.426, allocations: 8.724 MB / 0.6228 GB, free: 134.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001845/1.426, allocations: 27.69 kB / 0.6228 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01682/1.443, allocations: 9.671 MB / 0.6322 GB, free: 130.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/1.443, allocations: 41.81 kB / 0.6323 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/1.443, allocations: 77.97 kB / 0.6324 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.446, allocations: 1.41 MB / 0.6337 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/1.451, allocations: 1.328 MB / 0.635 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.465, allocations: 11.68 MB / 0.6464 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/1.471, allocations: 372.8 kB / 0.6468 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.473, allocations: 303 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.008174/1.481, allocations: 3.928 MB / 0.6509 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.482, allocations: 442.5 kB / 0.6513 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.493, allocations: 6.844 MB / 0.658 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008608/1.502, allocations: 5.642 MB / 0.6635 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.502, allocations: 12 kB / 0.6636 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.502, allocations: 23.86 kB / 0.6636 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.525, allocations: 15.53 MB / 0.6787 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.525, allocations: 4 kB / 0.6787 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.528, allocations: 0.6753 MB / 0.6794 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/1.531, allocations: 1.271 MB / 0.6806 GB, free: 94.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005359/1.532, allocations: 87.97 kB / 0.6807 GB, free: 94.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.544, allocations: 10.58 MB / 0.6911 GB, free: 83.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.544, allocations: 4 kB / 0.6911 GB, free: 83.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.558, allocations: 10.13 MB / 0.701 GB, free: 73.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/1.56, allocations: 1.038 MB / 0.702 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/1.561, allocations: 79.92 kB / 0.702 GB, free: 72.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.563, allocations: 223.8 kB / 0.7023 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/1.564, allocations: 271.1 kB / 0.7025 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.564, allocations: 116 kB / 0.7026 GB, free: 71.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004093/1.568, allocations: 3.233 MB / 0.7058 GB, free: 68.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.568, allocations: 0 / 0.7058 GB, free: 68.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005808/1.574, allocations: 1.693 MB / 0.7074 GB, free: 66.6 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.001294/1.575, allocations: 0.5088 MB / 0.7079 GB, free: 66.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.586, allocations: 7.595 MB / 0.7153 GB, free: 58.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.586, allocations: 1 kB / 0.7153 GB, free: 58.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00575/1.592, allocations: 3.618 MB / 0.7189 GB, free: 54.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/1.599, allocations: 0.9776 MB / 0.7198 GB, free: 53.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.631, allocations: 22.28 MB / 0.7416 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007163/1.638, allocations: 6.559 MB / 0.748 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005909/1.644, allocations: 2.102 MB / 0.7501 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.646, allocations: 355.3 kB / 0.7504 GB, free: 22.46 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/1.646, allocations: 0 / 0.7504 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Templates: time 0.3286/1.974, allocations: 68.11 MB / 0.8169 GB, free: 126.1 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)