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.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007989/0.00799, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001534/0.001534, allocations: 200.1 kB / 16.67 MB, free: 5.977 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.00123/0.00123, allocations: 50.23 kB / 326.6 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 46.63 MB / 373.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04473/0.1482, allocations: 45.31 MB / 418.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03295/0.1812, allocations: 11.74 MB / 430.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01329/0.1946, allocations: 298.9 kB / 430.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03015/0.2249, allocations: 12.48 MB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02303/0.2479, allocations: 4.942 MB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.2605, allocations: 2.982 MB / 451 MB, free: 3.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3111/0.5715, allocations: 21.09 MB / 472.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07348/0.6451, allocations: 42.2 MB / 0.5022 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02292/0.668, allocations: 11.05 MB / 0.513 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02561/0.6937, allocations: 12.39 MB / 0.5251 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01156/0.7053, allocations: 3.141 MB / 0.5282 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/0.725, allocations: 3.545 MB / 0.5316 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01492/0.74, allocations: 6.306 MB / 0.5378 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02834/0.7684, allocations: 11.98 MB / 0.5495 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05789/0.8263, allocations: 41.4 MB / 0.5899 GB, free: 11.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.8263, allocations: 4 kB / 0.5899 GB, free: 11.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.8263, allocations: 0 / 0.5899 GB, free: 11.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001356/0.8277, allocations: 0 / 0.5899 GB, free: 11.44 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08444/0.9121, allocations: 24.07 MB / 0.6134 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.9122, allocations: 8.031 kB / 0.6134 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06706/0.9793, allocations: 12.33 MB / 0.6255 GB, free: 7.195 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5803/1.56, allocations: 12.11 MB / 0.6373 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00209/1.562, allocations: 1.377 MB / 0.6386 GB, free: 157 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01023/1.572, allocations: 1.8 MB / 0.6404 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08964/1.662, allocations: 30.03 MB / 0.6697 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001171/1.663, allocations: 21.97 kB / 0.6698 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01003/1.673, allocations: 0.7534 MB / 0.6705 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/1.674, allocations: 1.016 MB / 0.6715 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06181/1.736, allocations: 27.96 MB / 0.6988 GB, free: 121.8 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1533/1.889, allocations: 94.24 MB / 0.7908 GB, free: 26.68 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.482/2.371, allocations: 63.43 MB / 0.8528 GB, free: 160.2 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01386/2.385, allocations: 7.457 MB / 0.8601 GB, free: 160.1 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/2.419, allocations: 20.5 MB / 0.8801 GB, free: 151 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/2.419, allocations: 104.3 kB / 0.8802 GB, free: 151 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 8.115e-06/2.419, allocations: 0 / 0.8802 GB, free: 151 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.07968/2.499, allocations: 38.3 MB / 0.9176 GB, free: 135.1 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/2.499, allocations: 147.8 kB / 0.9177 GB, free: 135 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/2.509, allocations: 7.258 MB / 0.9248 GB, free: 132.4 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/2.51, allocations: 137.2 kB / 0.9249 GB, free: 132.3 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.003648/2.514, allocations: 7.941 MB / 0.9327 GB, free: 125.6 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002476/2.517, allocations: 2.332 MB / 0.935 GB, free: 123.6 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002982/2.52, allocations: 1.932 MB / 0.9369 GB, free: 122.5 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/2.52, allocations: 309.1 kB / 0.9372 GB, free: 122.2 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006366/2.526, allocations: 4.917 MB / 0.942 GB, free: 117.6 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008643/2.535, allocations: 8.627 MB / 0.9504 GB, free: 107.2 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01579/2.551, allocations: 14.37 MB / 0.9644 GB, free: 91.1 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/2.551, allocations: 36 kB / 0.9644 GB, free: 91.07 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02691/2.578, allocations: 16.39 MB / 0.9805 GB, free: 74.51 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.578, allocations: 56.78 kB / 0.9805 GB, free: 74.45 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/2.578, allocations: 120 kB / 0.9806 GB, free: 74.34 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00643/2.585, allocations: 2.59 MB / 0.9832 GB, free: 71.73 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008501/2.593, allocations: 2.18 MB / 0.9853 GB, free: 69.55 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/2.624, allocations: 30.79 MB / 1.015 GB, free: 37.67 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008286/2.633, allocations: 0.5423 MB / 1.016 GB, free: 37.13 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/2.635, allocations: 483.9 kB / 1.016 GB, free: 36.66 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01484/2.65, allocations: 6.818 MB / 1.023 GB, free: 29.82 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/2.653, allocations: 0.7756 MB / 1.024 GB, free: 29.04 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/2.68, allocations: 13.09 MB / 1.037 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01622/2.697, allocations: 8.217 MB / 1.045 GB, free: 7.418 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001474/2.697, allocations: 28 kB / 1.045 GB, free: 7.391 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002123/2.697, allocations: 35.86 kB / 1.045 GB, free: 7.355 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3143/3.011, allocations: 28.01 MB / 1.072 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/3.011, allocations: 5.047 kB / 1.072 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00519/3.017, allocations: 1.108 MB / 1.073 GB, free: 150.1 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006319/3.023, allocations: 2.647 MB / 1.076 GB, free: 149.4 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/3.024, allocations: 154.5 kB / 1.076 GB, free: 149.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/3.056, allocations: 35.83 MB / 1.111 GB, free: 124.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/3.056, allocations: 3.969 kB / 1.111 GB, free: 124.1 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0276/3.083, allocations: 18.8 MB / 1.129 GB, free: 116.1 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004669/3.088, allocations: 1.764 MB / 1.131 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/3.09, allocations: 129.3 kB / 1.131 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/3.095, allocations: 396.7 kB / 1.131 GB, free: 115.3 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/3.096, allocations: 0.5285 MB / 1.132 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004833/3.097, allocations: 198.3 kB / 1.132 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007683/3.104, allocations: 4.874 MB / 1.137 GB, free: 112.8 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.11e-07/3.104, allocations: 0 / 1.137 GB, free: 112.8 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01212/3.116, allocations: 3.083 MB / 1.14 GB, free: 109.7 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/3.118, allocations: 354.5 kB / 1.14 GB, free: 109.4 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01899/3.137, allocations: 13.53 MB / 1.153 GB, free: 96.89 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/3.137, allocations: 4 kB / 1.153 GB, free: 96.88 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/3.149, allocations: 7.591 MB / 1.161 GB, free: 89.22 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/3.163, allocations: 2.154 MB / 1.163 GB, free: 87.07 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05479/3.218, allocations: 32.29 MB / 1.194 GB, free: 54.77 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0205/3.238, allocations: 11.43 MB / 1.206 GB, free: 43.29 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.00871/3.247, allocations: 3.364 MB / 1.209 GB, free: 39.92 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/3.249, allocations: 0.5697 MB / 1.209 GB, free: 39.35 MB / 0.5452 GB Notification: Performance of SimCode: time 8.62e-07/3.249, allocations: 0 / 1.209 GB, free: 39.35 MB / 0.5452 GB Notification: Performance of Templates: time 0.4393/3.688, allocations: 131.1 MB / 1.337 GB, free: 111.9 MB / 0.5608 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)