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_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 99.78 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.001447/0.001447, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004838/0.0004839, allocations: 12 kB / 280.2 MB, free: 11.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2669, allocations: 47.58 MB / 327.8 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04271/0.3097, allocations: 39.53 MB / 367.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02748/0.3372, allocations: 12.55 MB / 379.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009024/0.3463, allocations: 302.9 kB / 380.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.3567, allocations: 2.635 MB / 382.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.3739, allocations: 4.616 MB / 387.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008373/0.3823, allocations: 2.236 MB / 389.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03051/0.4128, allocations: 18.64 MB / 408.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0663/0.4792, allocations: 36.13 MB / 444.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/0.4933, allocations: 8.29 MB / 452.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3668/0.8601, allocations: 9.35 MB / 462.1 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006296/0.8665, allocations: 1.41 MB / 463.5 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009588/0.8761, allocations: 1.785 MB / 465.3 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008145/0.8843, allocations: 4.454 MB / 469.7 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008432/0.8927, allocations: 4.627 MB / 474.3 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03548/0.9282, allocations: 40.97 MB / 0.5032 GB, free: 6.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9283, allocations: 0 / 0.5032 GB, free: 6.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.9283, allocations: 0 / 0.5032 GB, free: 6.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00163/0.9299, allocations: 0 / 0.5032 GB, free: 6.332 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: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.07948/1.009, allocations: 23.91 MB / 0.5266 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.009, allocations: 14.42 kB / 0.5266 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08129/1.091, allocations: 14.88 MB / 0.5411 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03121/1.122, allocations: 13.14 MB / 0.554 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001678/1.124, allocations: 1.586 MB / 0.5555 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009312/1.133, allocations: 2.098 MB / 0.5576 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0946/1.228, allocations: 34.84 MB / 0.5916 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001139/1.229, allocations: 23.81 kB / 0.5916 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007577/1.236, allocations: 0.8654 MB / 0.5924 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/1.238, allocations: 1.191 MB / 0.5936 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07646/1.314, allocations: 32.85 MB / 0.6257 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3986/1.713, allocations: 109.2 MB / 0.7323 GB, free: 69.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04025/1.753, allocations: 55.77 MB / 0.7868 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06034/1.814, allocations: 26.33 MB / 0.8125 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/1.814, allocations: 129.9 kB / 0.8126 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=906): time 1.62e-05/1.814, allocations: 0 / 0.8126 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=918): time 0.3037/2.118, allocations: 39.83 MB / 0.8515 GB, free: 138.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/2.118, allocations: 173.9 kB / 0.8517 GB, free: 138.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/2.132, allocations: 8.376 MB / 0.8599 GB, free: 135.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001571/2.134, allocations: 175.4 kB / 0.86 GB, free: 135.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004651/2.139, allocations: 8.796 MB / 0.8686 GB, free: 128.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003095/2.142, allocations: 3.105 MB / 0.8717 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/2.143, allocations: 234 kB / 0.8719 GB, free: 126.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005813/2.143, allocations: 0.7969 MB / 0.8727 GB, free: 125.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009715/2.153, allocations: 6.327 MB / 0.8788 GB, free: 121.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/2.167, allocations: 10.23 MB / 0.8888 GB, free: 110.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/2.179, allocations: 8.456 MB / 0.8971 GB, free: 103.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/2.179, allocations: 36 kB / 0.8971 GB, free: 103.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.03873/2.218, allocations: 20.66 MB / 0.9173 GB, free: 85.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/2.218, allocations: 61.25 kB / 0.9174 GB, free: 85.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/2.219, allocations: 124 kB / 0.9175 GB, free: 85.01 MB / 494.1 MB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/2.221, allocations: 0.9501 MB / 0.9184 GB, free: 84.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009829/2.231, allocations: 2.508 MB / 0.9209 GB, free: 82.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/2.241, allocations: 11.71 MB / 0.9323 GB, free: 69.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.252, allocations: 0.6245 MB / 0.9329 GB, free: 69.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002622/2.255, allocations: 0.5371 MB / 0.9334 GB, free: 68.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1279): * Single equations (assignments): 1272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01562/2.27, allocations: 7.979 MB / 0.9412 GB, free: 60.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003007/2.273, allocations: 0.9262 MB / 0.9421 GB, free: 59.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03281/2.306, allocations: 17.18 MB / 0.9589 GB, free: 42.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/2.306, allocations: 93.2 kB / 0.959 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001094/2.306, allocations: 40 kB / 0.959 GB, free: 42.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001935/2.306, allocations: 51.81 kB / 0.9591 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2925/2.599, allocations: 36.19 MB / 0.9944 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.597e-05/2.599, allocations: 6.75 kB / 0.9944 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00698/2.606, allocations: 1.447 MB / 0.9958 GB, free: 128.1 MB / 494.1 MB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/2.609, allocations: 0.9846 MB / 0.9968 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/2.61, allocations: 208.3 kB / 0.997 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/2.622, allocations: 15.93 MB / 1.013 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/2.622, allocations: 11.75 kB / 1.013 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0373/2.66, allocations: 26.18 MB / 1.038 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007273/2.667, allocations: 2.268 MB / 1.04 GB, free: 109.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002626/2.67, allocations: 179.2 kB / 1.041 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005764/2.675, allocations: 0.5045 MB / 1.041 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/2.677, allocations: 0.8008 MB / 1.042 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006029/2.678, allocations: 259.8 kB / 1.042 GB, free: 109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008256/2.686, allocations: 5.66 MB / 1.048 GB, free: 107 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.686, allocations: 0 / 1.048 GB, free: 107 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01263/2.698, allocations: 3.512 MB / 1.051 GB, free: 106.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (715): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/2.7, allocations: 434.4 kB / 1.051 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02385/2.724, allocations: 16.32 MB / 1.067 GB, free: 97.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.724, allocations: 4 kB / 1.067 GB, free: 97.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0144/2.739, allocations: 8.829 MB / 1.076 GB, free: 89.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/2.75, allocations: 2.32 MB / 1.078 GB, free: 87.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07861/2.829, allocations: 45.88 MB / 1.123 GB, free: 44.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02406/2.853, allocations: 13.54 MB / 1.136 GB, free: 31.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01608/2.869, allocations: 4.035 MB / 1.14 GB, free: 27.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004381/2.873, allocations: 0.6712 MB / 1.141 GB, free: 26.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/2.873, allocations: 0 / 1.141 GB, free: 26.39 MB / 494.1 MB Notification: Performance of Templates: time 0.4397/3.313, allocations: 147.1 MB / 1.284 GB, free: 61.32 MB / 0.4982 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) Environment - environmentSimulation: