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_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00143/0.00143, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0004824/0.0004824, allocations: 20 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03349/0.3202, allocations: 30.67 MB / 357.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.3465, allocations: 9.669 MB / 366.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008791/0.3553, allocations: 231.1 kB / 367 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008817/0.3642, allocations: 2.083 MB / 369.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01527/0.3795, allocations: 3.49 MB / 372.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007188/0.3867, allocations: 1.633 MB / 374.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02543/0.4121, allocations: 13.72 MB / 388 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04849/0.4607, allocations: 24.41 MB / 412.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.474, allocations: 5.712 MB / 418.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0134/0.4874, allocations: 6.327 MB / 424.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004286/0.4917, allocations: 0.9336 MB / 425.4 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006998/0.4988, allocations: 1.249 MB / 426.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005374/0.5042, allocations: 2.936 MB / 429.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007632/0.5118, allocations: 3.104 MB / 432.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4809/0.9928, allocations: 26.93 MB / 459.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9928, allocations: 4.062 kB / 459.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9928, allocations: 0.5 kB / 459.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001071/0.9939, allocations: 2.688 kB / 459.6 MB, free: 36.25 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04948/1.043, allocations: 15.8 MB / 475.4 MB, free: 31.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.043, allocations: 9.5 kB / 475.4 MB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05038/1.094, allocations: 9.201 MB / 484.6 MB, free: 28.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02401/1.118, allocations: 9.023 MB / 493.6 MB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001447/1.119, allocations: 1.071 MB / 494.7 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007239/1.127, allocations: 1.409 MB / 496.1 MB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06205/1.189, allocations: 23 MB / 0.5069 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009337/1.19, allocations: 19.75 kB / 0.5069 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00663/1.196, allocations: 0.5806 MB / 0.5075 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009371/1.197, allocations: 0.8101 MB / 0.5083 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05166/1.249, allocations: 21.62 MB / 0.5294 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1583/1.407, allocations: 74.29 MB / 0.602 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2813/1.689, allocations: 53.51 MB / 0.6542 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02804/1.717, allocations: 15.26 MB / 0.6691 GB, free: 131.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/1.717, allocations: 92.67 kB / 0.6692 GB, free: 131.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=514): time 6.452e-06/1.717, allocations: 0 / 0.6692 GB, free: 131.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=522): time 0.05914/1.776, allocations: 27.3 MB / 0.6959 GB, free: 119.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.776, allocations: 130.2 kB / 0.696 GB, free: 119.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00753/1.784, allocations: 5.792 MB / 0.7016 GB, free: 117.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009265/1.785, allocations: 116.5 kB / 0.7018 GB, free: 117.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003079/1.788, allocations: 6.271 MB / 0.7079 GB, free: 112.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.79, allocations: 1.783 MB / 0.7096 GB, free: 111 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/1.79, allocations: 160 kB / 0.7098 GB, free: 110.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003485/1.79, allocations: 0.6221 MB / 0.7104 GB, free: 110.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005022/1.795, allocations: 3.749 MB / 0.714 GB, free: 107.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006488/1.802, allocations: 6.796 MB / 0.7207 GB, free: 99.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007208/1.809, allocations: 5.209 MB / 0.7258 GB, free: 93.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.34e-05/1.809, allocations: 31.28 kB / 0.7258 GB, free: 93.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02012/1.829, allocations: 12.53 MB / 0.738 GB, free: 81.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/1.83, allocations: 51.75 kB / 0.7381 GB, free: 81.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/1.83, allocations: 104 kB / 0.7382 GB, free: 81.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/1.834, allocations: 1.609 MB / 0.7398 GB, free: 79.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006603/1.84, allocations: 1.763 MB / 0.7415 GB, free: 77.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.86, allocations: 18.65 MB / 0.7597 GB, free: 58.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008631/1.868, allocations: 443.5 kB / 0.7601 GB, free: 57.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.87, allocations: 392 kB / 0.7605 GB, free: 57.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 905 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009424/1.879, allocations: 5.25 MB / 0.7656 GB, free: 52.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/1.881, allocations: 0.6097 MB / 0.7662 GB, free: 51.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.895, allocations: 9.568 MB / 0.7755 GB, free: 42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008548/1.904, allocations: 5.987 MB / 0.7814 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.938e-05/1.904, allocations: 24 kB / 0.7814 GB, free: 35.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.581e-05/1.904, allocations: 23.91 kB / 0.7814 GB, free: 35.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03869/1.943, allocations: 21.38 MB / 0.8023 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/1.943, allocations: 12 kB / 0.8023 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/1.947, allocations: 0.8859 MB / 0.8032 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00425/1.951, allocations: 1.624 MB / 0.8048 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007632/1.952, allocations: 131.9 kB / 0.8049 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2613/2.213, allocations: 21.75 MB / 0.8261 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.213, allocations: 3.844 kB / 0.8261 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/2.235, allocations: 14.94 MB / 0.8407 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004759/2.24, allocations: 1.382 MB / 0.8421 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/2.241, allocations: 102.8 kB / 0.8422 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/2.245, allocations: 310.8 kB / 0.8425 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009855/2.246, allocations: 408.5 kB / 0.8429 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003621/2.247, allocations: 156.6 kB / 0.843 GB, free: 152.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006828/2.254, allocations: 3.876 MB / 0.8468 GB, free: 151.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/2.254, allocations: 1.969 kB / 0.8468 GB, free: 151.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01206/2.266, allocations: 2.378 MB / 0.8491 GB, free: 151.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (451): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(12,54.9%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/2.267, allocations: 319.5 kB / 0.8494 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01864/2.286, allocations: 10.17 MB / 0.8594 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/2.286, allocations: 2.297 kB / 0.8594 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01032/2.296, allocations: 5.54 MB / 0.8648 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009523/2.306, allocations: 1.495 MB / 0.8662 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05878/2.365, allocations: 30.03 MB / 0.8956 GB, free: 115.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01358/2.378, allocations: 9.164 MB / 0.9045 GB, free: 108.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009533/2.388, allocations: 2.599 MB / 0.9071 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/2.39, allocations: 471.3 kB / 0.9075 GB, free: 106 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/2.39, allocations: 0 / 0.9075 GB, free: 106 MB / 494.1 MB Notification: Performance of Templates: time 0.3652/2.755, allocations: 95.57 MB / 1.001 GB, free: 171.8 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) Environment - environmentSimulation: