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_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.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.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.001444/0.001444, 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.001237/0.001237, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.425/1.425, allocations: 205.1 MB / 222 MB, free: 4.727 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.001652/0.001652, allocations: 51.94 kB / 278.1 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2942, allocations: 46.62 MB / 324.7 MB, free: 2.164 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04136/0.3357, allocations: 37.66 MB / 362.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/0.3606, allocations: 9.92 MB / 372.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01143/0.3721, allocations: 235.1 kB / 372.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02488/0.3971, allocations: 9.557 MB / 382.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.414, allocations: 3.732 MB / 385.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008748/0.4228, allocations: 2.241 MB / 388 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0244/0.4472, allocations: 16.83 MB / 404.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05502/0.5022, allocations: 25.5 MB / 430.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01734/0.5196, allocations: 7.227 MB / 437.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/0.5383, allocations: 8.921 MB / 446.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008431/0.5468, allocations: 1.539 MB / 448.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.5582, allocations: 1.929 MB / 450 MB, free: 6.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00922/0.5675, allocations: 3.941 MB / 453.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4528/1.02, allocations: 8.339 MB / 462.3 MB, free: 40.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03743/1.058, allocations: 31.31 MB / 493.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.058, allocations: 0 / 493.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/1.058, allocations: 0 / 493.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001128/1.059, allocations: 3.312 kB / 493.6 MB, free: 32.3 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.07326/1.132, allocations: 18.92 MB / 0.5005 GB, free: 20.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.132, allocations: 15.09 kB / 0.5005 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05402/1.186, allocations: 9.238 MB / 0.5095 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/1.21, allocations: 9.11 MB / 0.5184 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001669/1.212, allocations: 1.08 MB / 0.5195 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009018/1.221, allocations: 1.414 MB / 0.5209 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08083/1.302, allocations: 23.23 MB / 0.5435 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009215/1.303, allocations: 23.27 kB / 0.5436 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007923/1.311, allocations: 0.5821 MB / 0.5441 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001049/1.312, allocations: 0.8032 MB / 0.5449 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06026/1.372, allocations: 21.71 MB / 0.5661 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4015/1.774, allocations: 74.16 MB / 0.6385 GB, free: 96.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02928/1.803, allocations: 53.6 MB / 0.6909 GB, free: 50.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00801/1.811, allocations: 5.42 MB / 0.6962 GB, free: 49.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02335/1.834, allocations: 15.6 MB / 0.7114 GB, free: 48.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/1.835, allocations: 86.16 kB / 0.7115 GB, free: 48.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 6.552e-06/1.835, allocations: 0 / 0.7115 GB, free: 48.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.05456/1.889, allocations: 26.84 MB / 0.7377 GB, free: 25.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/1.889, allocations: 132.8 kB / 0.7378 GB, free: 25.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01764/1.907, allocations: 5.899 MB / 0.7436 GB, free: 19.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001359/1.908, allocations: 113.7 kB / 0.7437 GB, free: 19.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005073/1.913, allocations: 6.287 MB / 0.7498 GB, free: 13.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003029/1.916, allocations: 1.757 MB / 0.7516 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006522/1.923, allocations: 1.532 MB / 0.7531 GB, free: 10.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/1.923, allocations: 301.1 kB / 0.7533 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009978/1.933, allocations: 3.724 MB / 0.757 GB, free: 6.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/1.947, allocations: 6.815 MB / 0.7636 GB, free: 13.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03018/1.977, allocations: 11.22 MB / 0.7746 GB, free: 1.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.977, allocations: 32 kB / 0.7746 GB, free: 1.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.04849/2.026, allocations: 12.48 MB / 0.7868 GB, free: 5.758 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/2.026, allocations: 52 kB / 0.7869 GB, free: 5.707 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002777/2.026, allocations: 100.6 kB / 0.787 GB, free: 5.609 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009671/2.036, allocations: 1.598 MB / 0.7885 GB, free: 3.996 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/2.051, allocations: 1.741 MB / 0.7902 GB, free: 2.379 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.291/2.342, allocations: 18.21 MB / 0.808 GB, free: 192.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007706/2.349, allocations: 439.2 kB / 0.8084 GB, free: 192.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003089/2.353, allocations: 388.1 kB / 0.8088 GB, free: 192.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.9%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01256/2.365, allocations: 5.254 MB / 0.8139 GB, free: 192.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/2.367, allocations: 0.6059 MB / 0.8145 GB, free: 192.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/2.384, allocations: 9.46 MB / 0.8238 GB, free: 192.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008894/2.393, allocations: 5.954 MB / 0.8296 GB, free: 190.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/2.393, allocations: 23.41 kB / 0.8296 GB, free: 190.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.244e-05/2.393, allocations: 24.28 kB / 0.8296 GB, free: 190.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/2.431, allocations: 21.24 MB / 0.8504 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/2.431, allocations: 4.469 kB / 0.8504 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/2.435, allocations: 0.8621 MB / 0.8512 GB, free: 181.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004391/2.439, allocations: 1.637 MB / 0.8528 GB, free: 181.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007025/2.44, allocations: 133.6 kB / 0.8529 GB, free: 181.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/2.46, allocations: 21.37 MB / 0.8738 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/2.46, allocations: 11.94 kB / 0.8738 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/2.48, allocations: 13.86 MB / 0.8873 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/2.484, allocations: 1.369 MB / 0.8887 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/2.485, allocations: 104 kB / 0.8888 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/2.488, allocations: 291.7 kB / 0.8891 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009815/2.489, allocations: 412.3 kB / 0.8894 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003351/2.489, allocations: 156 kB / 0.8896 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005978/2.495, allocations: 3.965 MB / 0.8935 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.02e-07/2.495, allocations: 0 / 0.8935 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01048/2.506, allocations: 2.37 MB / 0.8958 GB, free: 142.2 MB / 0.5138 GB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/2.507, allocations: 328.2 kB / 0.8961 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01489/2.522, allocations: 10.06 MB / 0.9059 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.522, allocations: 4 kB / 0.9059 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009006/2.531, allocations: 5.496 MB / 0.9113 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/2.543, allocations: 1.553 MB / 0.9128 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05397/2.597, allocations: 31.3 MB / 0.9434 GB, free: 93.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01141/2.608, allocations: 8.934 MB / 0.9521 GB, free: 84.32 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007975/2.616, allocations: 2.587 MB / 0.9546 GB, free: 81.73 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/2.618, allocations: 463.3 kB / 0.9551 GB, free: 81.28 MB / 0.5138 GB Notification: Performance of SimCode: time 1.032e-06/2.618, allocations: 11.88 kB / 0.9551 GB, free: 81.27 MB / 0.5138 GB Notification: Performance of Templates: time 0.3731/2.991, allocations: 99.67 MB / 1.052 GB, free: 151.5 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)