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.001086/0.001086, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001113/0.001113, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.00166/0.00166, allocations: 55.92 kB / 279.6 MB, free: 11.26 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2897, allocations: 46.63 MB / 326.2 MB, free: 2.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03721/0.3269, allocations: 35.95 MB / 362.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02697/0.354, allocations: 9.629 MB / 371.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.3648, allocations: 211.2 kB / 372 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02419/0.3891, allocations: 9.098 MB / 381.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0193/0.4084, allocations: 3.717 MB / 384.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.42, allocations: 2.265 MB / 387.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03006/0.45, allocations: 17.18 MB / 404.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07201/0.5221, allocations: 35.08 MB / 439.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01957/0.5417, allocations: 8.715 MB / 448.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4822/1.024, allocations: 9.695 MB / 457.8 MB, free: 41.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01043/1.034, allocations: 2.509 MB / 460.3 MB, free: 41.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01149/1.046, allocations: 2.903 MB / 463.2 MB, free: 41.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009449/1.055, allocations: 5.029 MB / 468.2 MB, free: 41.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02561/1.081, allocations: 9.481 MB / 477.7 MB, free: 40.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04351/1.125, allocations: 32.99 MB / 0.4987 GB, free: 23.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.125, allocations: 2.469 kB / 0.4987 GB, free: 23.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/1.125, allocations: 0 / 0.4987 GB, free: 23.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001219/1.126, allocations: 0 / 0.4987 GB, free: 23.31 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.06898/1.195, allocations: 19.36 MB / 0.5176 GB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.195, allocations: 8.031 kB / 0.5176 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05127/1.246, allocations: 9.675 MB / 0.5271 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02484/1.271, allocations: 9.401 MB / 0.5363 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/1.273, allocations: 1.071 MB / 0.5373 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008357/1.281, allocations: 1.413 MB / 0.5387 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07014/1.351, allocations: 23.58 MB / 0.5617 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007298/1.352, allocations: 23.8 kB / 0.5618 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005522/1.357, allocations: 0.5803 MB / 0.5623 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008512/1.358, allocations: 0.8029 MB / 0.5631 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0511/1.409, allocations: 22.21 MB / 0.5848 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3755/1.785, allocations: 74.96 MB / 0.658 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02424/1.809, allocations: 38.1 MB / 0.6952 GB, free: 99.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009382/1.819, allocations: 6.479 MB / 0.7015 GB, free: 96.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/1.846, allocations: 18.28 MB / 0.7194 GB, free: 84.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.846, allocations: 99 kB / 0.7195 GB, free: 84.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 6.783e-06/1.846, allocations: 4 kB / 0.7195 GB, free: 84.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.08565/1.932, allocations: 37.23 MB / 0.7558 GB, free: 49.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.932, allocations: 141.8 kB / 0.756 GB, free: 48.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008767/1.941, allocations: 6.068 MB / 0.7619 GB, free: 42.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001367/1.942, allocations: 121.7 kB / 0.762 GB, free: 42.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002906/1.945, allocations: 6.126 MB / 0.768 GB, free: 36.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002435/1.948, allocations: 1.996 MB / 0.7699 GB, free: 34.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.95, allocations: 1.596 MB / 0.7715 GB, free: 33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/1.95, allocations: 301.1 kB / 0.7718 GB, free: 32.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005225/1.955, allocations: 4.228 MB / 0.7759 GB, free: 28.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/1.962, allocations: 7.168 MB / 0.7829 GB, free: 19.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/1.975, allocations: 12.05 MB / 0.7947 GB, free: 6.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.055e-05/1.975, allocations: 32 kB / 0.7947 GB, free: 6.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.2397/2.215, allocations: 14.26 MB / 0.8086 GB, free: 148.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/2.215, allocations: 50.08 kB / 0.8087 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/2.215, allocations: 98.41 kB / 0.8088 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006778/2.222, allocations: 2.779 MB / 0.8115 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006616/2.228, allocations: 1.695 MB / 0.8132 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03327/2.262, allocations: 31.64 MB / 0.8441 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007183/2.269, allocations: 437.8 kB / 0.8445 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/2.27, allocations: 389.6 kB / 0.8448 GB, free: 130.3 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.009393/2.28, allocations: 5.423 MB / 0.8501 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/2.282, allocations: 0.6416 MB / 0.8508 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/2.299, allocations: 11.56 MB / 0.8621 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/2.299, allocations: 56 kB / 0.8621 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-05/2.299, allocations: 32 kB / 0.8621 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-05/2.299, allocations: 30.84 kB / 0.8622 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0375/2.337, allocations: 24.46 MB / 0.8861 GB, free: 97.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/2.337, allocations: 4 kB / 0.8861 GB, free: 97.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/2.34, allocations: 0.8783 MB / 0.8869 GB, free: 97.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/2.346, allocations: 2.826 MB / 0.8897 GB, free: 94.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/2.347, allocations: 144 kB / 0.8898 GB, free: 94.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03104/2.378, allocations: 34.6 MB / 0.9236 GB, free: 58.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/2.378, allocations: 12.09 kB / 0.9236 GB, free: 58.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/2.399, allocations: 16.88 MB / 0.9401 GB, free: 41.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/2.403, allocations: 1.568 MB / 0.9416 GB, free: 39.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.404, allocations: 120 kB / 0.9418 GB, free: 39.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/2.407, allocations: 307.7 kB / 0.942 GB, free: 39.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/2.408, allocations: 0.4933 MB / 0.9425 GB, free: 39.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/2.408, allocations: 168 kB / 0.9427 GB, free: 38.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00516/2.414, allocations: 4.108 MB / 0.9467 GB, free: 34.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/2.414, allocations: 0 / 0.9467 GB, free: 34.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008577/2.422, allocations: 2.589 MB / 0.9492 GB, free: 32.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,34.7%), (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.0008298/2.423, allocations: 330.9 kB / 0.9495 GB, free: 31.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03607/2.459, allocations: 19.31 MB / 0.9684 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/2.459, allocations: 11.84 kB / 0.9684 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2279/2.687, allocations: 6.992 MB / 0.9752 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009906/2.697, allocations: 1.737 MB / 0.9769 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06429/2.761, allocations: 32.44 MB / 1.009 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02134/2.783, allocations: 9.122 MB / 1.018 GB, free: 128.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01133/2.794, allocations: 2.642 MB / 1.02 GB, free: 128.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004106/2.798, allocations: 473.3 kB / 1.021 GB, free: 128.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.783e-06/2.798, allocations: 1.203 kB / 1.021 GB, free: 128.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1983/2.997, allocations: 120.2 MB / 1.138 GB, free: 13.26 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)