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_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.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.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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001202/0.001202, allocations: 191.4 kB / 16.14 MB, free: 6.734 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.475/1.475, allocations: 205.1 MB / 222 MB, free: 5.004 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.001256/0.001256, allocations: 47.94 kB / 279.4 MB, free: 11.62 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 46.63 MB / 326.1 MB, free: 2.266 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03822/0.3245, allocations: 35.94 MB / 362 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0254/0.3499, allocations: 9.66 MB / 371.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01006/0.36, allocations: 211.2 kB / 371.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02188/0.382, allocations: 9.094 MB / 381 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.3969, allocations: 3.756 MB / 384.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008773/0.4057, allocations: 2.288 MB / 387 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02493/0.4307, allocations: 17.4 MB / 404.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04201/0.4727, allocations: 25.48 MB / 429.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.4861, allocations: 7.352 MB / 437.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0167/0.5028, allocations: 9.062 MB / 446.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006592/0.5094, allocations: 1.559 MB / 447.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008644/0.5181, allocations: 1.949 MB / 449.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005881/0.524, allocations: 4.031 MB / 453.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4294/0.9535, allocations: 8.456 MB / 462.3 MB, free: 40.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04236/0.9959, allocations: 32.33 MB / 494.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.9959, allocations: 5.984 kB / 494.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.9959, allocations: 0.8125 kB / 494.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001382/0.9973, allocations: 0 / 494.6 MB, free: 32.14 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.06955/1.067, allocations: 19.35 MB / 0.5019 GB, free: 20.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.067, allocations: 9.344 kB / 0.502 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05182/1.119, allocations: 9.68 MB / 0.5114 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/1.14, allocations: 9.4 MB / 0.5206 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009409/1.141, allocations: 1.072 MB / 0.5216 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007717/1.148, allocations: 1.415 MB / 0.523 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08851/1.237, allocations: 23.57 MB / 0.546 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009598/1.238, allocations: 26.98 kB / 0.5461 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008966/1.247, allocations: 0.5799 MB / 0.5466 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/1.248, allocations: 0.7991 MB / 0.5474 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06587/1.314, allocations: 22.2 MB / 0.5691 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3237/1.638, allocations: 75 MB / 0.6423 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0223/1.66, allocations: 38.1 MB / 0.6795 GB, free: 100.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008635/1.669, allocations: 6.459 MB / 0.6859 GB, free: 100 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02837/1.697, allocations: 18.29 MB / 0.7037 GB, free: 94.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.495e-05/1.698, allocations: 94.73 kB / 0.7038 GB, free: 94.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 7.324e-06/1.698, allocations: 1.031 kB / 0.7038 GB, free: 94.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.0818/1.779, allocations: 36.78 MB / 0.7397 GB, free: 63.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/1.78, allocations: 141.7 kB / 0.7399 GB, free: 63.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007796/1.787, allocations: 6.072 MB / 0.7458 GB, free: 57.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.788, allocations: 125.5 kB / 0.7459 GB, free: 57.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/1.791, allocations: 6.131 MB / 0.7519 GB, free: 51.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.793, allocations: 1.992 MB / 0.7538 GB, free: 49.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/1.795, allocations: 1.592 MB / 0.7554 GB, free: 47.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/1.795, allocations: 301.1 kB / 0.7557 GB, free: 47.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005441/1.801, allocations: 4.232 MB / 0.7598 GB, free: 43.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006617/1.807, allocations: 7.16 MB / 0.7668 GB, free: 34.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.82, allocations: 12.05 MB / 0.7786 GB, free: 21.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.887e-05/1.82, allocations: 31.94 kB / 0.7786 GB, free: 21.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02328/1.844, allocations: 14.28 MB / 0.7926 GB, free: 6.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/1.844, allocations: 44 kB / 0.7926 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/1.844, allocations: 96 kB / 0.7927 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/1.851, allocations: 2.758 MB / 0.7954 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/1.857, allocations: 1.689 MB / 0.797 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/2.097, allocations: 29.28 MB / 0.8256 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007334/2.104, allocations: 446.4 kB / 0.8261 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/2.106, allocations: 388.4 kB / 0.8264 GB, free: 135.4 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.01021/2.116, allocations: 5.414 MB / 0.8317 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.118, allocations: 0.6451 MB / 0.8323 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/2.136, allocations: 11.57 MB / 0.8436 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/2.136, allocations: 61.16 kB / 0.8437 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/2.136, allocations: 26.31 kB / 0.8437 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/2.136, allocations: 30.25 kB / 0.8438 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03745/2.173, allocations: 24.45 MB / 0.8676 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/2.174, allocations: 8 kB / 0.8676 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/2.177, allocations: 0.8666 MB / 0.8685 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007072/2.184, allocations: 2.809 MB / 0.8712 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008003/2.185, allocations: 145.1 kB / 0.8714 GB, free: 111.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03238/2.217, allocations: 31.86 MB / 0.9025 GB, free: 78.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/2.218, allocations: 15.88 kB / 0.9025 GB, free: 78.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/2.241, allocations: 16.88 MB / 0.919 GB, free: 61.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003761/2.245, allocations: 1.567 MB / 0.9205 GB, free: 59.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/2.246, allocations: 116 kB / 0.9206 GB, free: 59.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/2.25, allocations: 311.7 kB / 0.9209 GB, free: 59.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/2.251, allocations: 0.501 MB / 0.9214 GB, free: 59.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000403/2.252, allocations: 168.2 kB / 0.9216 GB, free: 58.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006475/2.258, allocations: 4.1 MB / 0.9256 GB, free: 54.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/2.258, allocations: 3.938 kB / 0.9256 GB, free: 54.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01078/2.269, allocations: 2.597 MB / 0.9281 GB, free: 52.2 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.001264/2.27, allocations: 320.1 kB / 0.9284 GB, free: 51.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01728/2.288, allocations: 11.92 MB / 0.9401 GB, free: 39.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.288, allocations: 0 / 0.9401 GB, free: 39.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01049/2.298, allocations: 6.996 MB / 0.9469 GB, free: 32.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009074/2.307, allocations: 1.633 MB / 0.9485 GB, free: 31.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2662/2.573, allocations: 32.42 MB / 0.9801 GB, free: 128.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01974/2.593, allocations: 9.135 MB / 0.9891 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008131/2.601, allocations: 2.627 MB / 0.9916 GB, free: 127.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.603, allocations: 468.3 kB / 0.9921 GB, free: 127.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/2.603, allocations: 0 / 0.9921 GB, free: 127.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1665/2.77, allocations: 116.2 MB / 1.106 GB, free: 31.87 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)