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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, 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.001947/0.001947, allocations: 192.6 kB / 16.14 MB, free: 6.715 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.466/1.466, 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.001357/0.001357, allocations: 51.92 kB / 279.4 MB, free: 11.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3104, allocations: 46.63 MB / 326.1 MB, free: 2.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03566/0.346, allocations: 35.94 MB / 362 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.3717, allocations: 9.668 MB / 371.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/0.3824, allocations: 219.2 kB / 371.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02439/0.4069, allocations: 9.074 MB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01785/0.4248, allocations: 3.756 MB / 384.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00862/0.4334, allocations: 2.3 MB / 387 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02571/0.4591, allocations: 17.4 MB / 404.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05388/0.5131, allocations: 25.48 MB / 429.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.5294, allocations: 7.356 MB / 437.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.5471, allocations: 9.058 MB / 446.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008437/0.5556, allocations: 1.559 MB / 447.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.5672, allocations: 1.945 MB / 449.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009392/0.5766, allocations: 4.031 MB / 453.8 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4267/1.003, allocations: 8.465 MB / 462.3 MB, free: 40.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03518/1.039, allocations: 32.33 MB / 494.6 MB, free: 32.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.039, allocations: 0.7812 kB / 494.6 MB, free: 32.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/1.039, allocations: 3.625 kB / 494.6 MB, free: 32.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001067/1.04, allocations: 0.8125 kB / 494.6 MB, free: 32.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06357/1.103, allocations: 19.35 MB / 0.502 GB, free: 20.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.103, allocations: 9.219 kB / 0.502 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05143/1.155, allocations: 9.677 MB / 0.5114 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02279/1.178, allocations: 9.409 MB / 0.5206 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009351/1.179, allocations: 1.065 MB / 0.5216 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008173/1.187, allocations: 1.407 MB / 0.523 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07784/1.265, allocations: 23.58 MB / 0.546 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008825/1.266, allocations: 27.47 kB / 0.5461 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00754/1.273, allocations: 0.5788 MB / 0.5466 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009986/1.274, allocations: 0.803 MB / 0.5474 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0584/1.333, allocations: 22.2 MB / 0.5691 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3722/1.705, allocations: 74.99 MB / 0.6423 GB, free: 128.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.025/1.73, allocations: 38.11 MB / 0.6795 GB, free: 100 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009225/1.739, allocations: 6.467 MB / 0.6859 GB, free: 99.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02664/1.766, allocations: 18.29 MB / 0.7037 GB, free: 94.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/1.766, allocations: 106.9 kB / 0.7038 GB, free: 94.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 6.192e-06/1.766, allocations: 0 / 0.7038 GB, free: 94.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.08251/1.848, allocations: 36.77 MB / 0.7397 GB, free: 63.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/1.849, allocations: 141.7 kB / 0.7399 GB, free: 63.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.859, allocations: 6.074 MB / 0.7458 GB, free: 57.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001451/1.861, allocations: 121.7 kB / 0.7459 GB, free: 57.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.864, allocations: 6.123 MB / 0.7519 GB, free: 51.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002224/1.866, allocations: 1.997 MB / 0.7538 GB, free: 49.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002418/1.869, allocations: 1.596 MB / 0.7554 GB, free: 47.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/1.869, allocations: 301.1 kB / 0.7557 GB, free: 47.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005462/1.874, allocations: 4.228 MB / 0.7598 GB, free: 43.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006451/1.881, allocations: 7.168 MB / 0.7668 GB, free: 34.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.894, allocations: 12.05 MB / 0.7786 GB, free: 21.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.224e-05/1.894, allocations: 28 kB / 0.7786 GB, free: 21.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02998/1.924, allocations: 14.27 MB / 0.7925 GB, free: 6.793 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/1.924, allocations: 48.06 kB / 0.7926 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.925, allocations: 96 kB / 0.7927 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007354/1.932, allocations: 2.769 MB / 0.7954 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/1.939, allocations: 1.689 MB / 0.797 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2761/2.215, allocations: 29.28 MB / 0.8256 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006978/2.222, allocations: 444 kB / 0.826 GB, free: 135.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/2.223, allocations: 389.8 kB / 0.8264 GB, free: 135.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 429 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009564/2.233, allocations: 5.418 MB / 0.8317 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/2.235, allocations: 0.6527 MB / 0.8323 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/2.257, allocations: 11.56 MB / 0.8436 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.828e-05/2.257, allocations: 59.53 kB / 0.8437 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001154/2.257, allocations: 31 kB / 0.8437 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/2.257, allocations: 29.34 kB / 0.8437 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04803/2.305, allocations: 24.46 MB / 0.8676 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/2.305, allocations: 4 kB / 0.8676 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004446/2.31, allocations: 0.8697 MB / 0.8685 GB, free: 113.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00738/2.317, allocations: 2.816 MB / 0.8712 GB, free: 111.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001187/2.318, allocations: 132 kB / 0.8714 GB, free: 111 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03281/2.351, allocations: 31.87 MB / 0.9025 GB, free: 78.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/2.351, allocations: 15.88 kB / 0.9025 GB, free: 78.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02441/2.376, allocations: 16.88 MB / 0.919 GB, free: 61.42 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004896/2.38, allocations: 1.562 MB / 0.9205 GB, free: 59.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002431/2.383, allocations: 120 kB / 0.9206 GB, free: 59.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005161/2.388, allocations: 315.7 kB / 0.9209 GB, free: 59.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/2.39, allocations: 0.4932 MB / 0.9214 GB, free: 58.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000792/2.391, allocations: 172 kB / 0.9216 GB, free: 58.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008976/2.4, allocations: 4.104 MB / 0.9256 GB, free: 54.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/2.4, allocations: 0 / 0.9256 GB, free: 54.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01456/2.414, allocations: 2.589 MB / 0.9281 GB, free: 52.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (446): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (24,96,32.3%), (1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002069/2.417, allocations: 322 kB / 0.9284 GB, free: 51.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02115/2.438, allocations: 11.91 MB / 0.94 GB, free: 39.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.438, allocations: 5.375 kB / 0.9401 GB, free: 39.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01296/2.451, allocations: 6.997 MB / 0.9469 GB, free: 32.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01388/2.465, allocations: 1.637 MB / 0.9485 GB, free: 30.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/2.744, allocations: 32.41 MB / 0.9801 GB, free: 128.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/2.764, allocations: 9.131 MB / 0.9891 GB, free: 127.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008996/2.773, allocations: 2.635 MB / 0.9916 GB, free: 127 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/2.775, allocations: 475.8 kB / 0.9921 GB, free: 127 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/2.775, allocations: 0 / 0.9921 GB, free: 127 MB / 478.1 MB Notification: Performance of Templates: time 0.1628/2.938, allocations: 116.2 MB / 1.106 GB, free: 31.68 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)