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.0009891/0.0009892, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.009181/0.009181, allocations: 171.1 kB / 16.26 MB, free: 6.68 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005583/0.0005587, allocations: 16 kB / 280.8 MB, free: 11.12 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3678, allocations: 47.59 MB / 328.4 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.07718/0.4451, allocations: 46.75 MB / 375.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.04564/0.4907, allocations: 12.7 MB / 387.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01805/0.5088, allocations: 306.9 kB / 388.2 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01626/0.5252, allocations: 3.211 MB / 391.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02012/0.5453, allocations: 4.981 MB / 396.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.5579, allocations: 2.962 MB / 399.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03408/0.592, allocations: 24.93 MB / 424.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5145/1.107, allocations: 44.35 MB / 468.6 MB, free: 20.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01684/1.123, allocations: 8.884 MB / 477.5 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02024/1.144, allocations: 10.79 MB / 488.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007744/1.152, allocations: 1.415 MB / 489.7 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/1.162, allocations: 1.913 MB / 491.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009017/1.171, allocations: 4.688 MB / 496.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02062/1.192, allocations: 10.96 MB / 0.4954 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05395/1.246, allocations: 45.64 MB / 0.5399 GB, free: 9.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.246, allocations: 0 / 0.5399 GB, free: 9.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/1.246, allocations: 0 / 0.5399 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001521/1.248, allocations: 4 kB / 0.54 GB, free: 9.762 MB / 414.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.07133/1.319, allocations: 23.02 MB / 0.5624 GB, free: 2.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.319, allocations: 12.03 kB / 0.5624 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08092/1.4, allocations: 14.95 MB / 0.577 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03051/1.43, allocations: 13.32 MB / 0.5901 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/1.432, allocations: 1.587 MB / 0.5916 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009541/1.442, allocations: 2.097 MB / 0.5936 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09907/1.541, allocations: 35.18 MB / 0.628 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001045/1.542, allocations: 35.27 kB / 0.628 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.4228/1.965, allocations: 0.8651 MB / 0.6289 GB, free: 162.1 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/1.967, allocations: 1.176 MB / 0.63 GB, free: 162 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06418/2.031, allocations: 33.03 MB / 0.6623 GB, free: 151.2 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1784/2.21, allocations: 109.3 MB / 0.7691 GB, free: 45.45 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2741/2.484, allocations: 55.85 MB / 0.8236 GB, free: 129.7 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01622/2.5, allocations: 9.962 MB / 0.8333 GB, free: 127.6 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04637/2.546, allocations: 27.39 MB / 0.8601 GB, free: 115.6 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/2.547, allocations: 131.5 kB / 0.8602 GB, free: 115.5 MB / 494.2 MB Notification: Performance of pre-optimization done (n=894): time 8.967e-06/2.547, allocations: 0 / 0.8602 GB, free: 115.5 MB / 494.2 MB Notification: Performance of matching and sorting (n=906): time 0.06884/2.615, allocations: 39.55 MB / 0.8988 GB, free: 94.79 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/2.616, allocations: 168.5 kB / 0.899 GB, free: 94.6 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/2.628, allocations: 8.51 MB / 0.9073 GB, free: 87.47 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001884/2.63, allocations: 173.7 kB / 0.9075 GB, free: 87.29 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004194/2.634, allocations: 8.831 MB / 0.9161 GB, free: 79.48 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002887/2.637, allocations: 3.058 MB / 0.9191 GB, free: 76.62 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/2.639, allocations: 0.9384 MB / 0.92 GB, free: 75.67 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/2.639, allocations: 301.1 kB / 0.9203 GB, free: 75.38 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008747/2.647, allocations: 6.32 MB / 0.9264 GB, free: 69.05 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/2.66, allocations: 10.28 MB / 0.9365 GB, free: 57.02 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/2.68, allocations: 17.65 MB / 0.9537 GB, free: 37.57 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/2.68, allocations: 36 kB / 0.9538 GB, free: 37.53 MB / 494.2 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03407/2.715, allocations: 20.64 MB / 0.9739 GB, free: 16.78 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/2.715, allocations: 57.25 kB / 0.974 GB, free: 16.72 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/2.715, allocations: 128 kB / 0.9741 GB, free: 16.6 MB / 494.2 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/2.717, allocations: 0.9355 MB / 0.975 GB, free: 15.64 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00902/2.726, allocations: 2.492 MB / 0.9774 GB, free: 13.15 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008374/2.735, allocations: 11.53 MB / 0.9887 GB, free: 0.9727 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009488/2.744, allocations: 0.6319 MB / 0.9893 GB, free: 352 kB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/2.747, allocations: 0.539 MB / 0.9898 GB, free: 15.8 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (204,1.3%)} * 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 {(3,25,100.0%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2183/2.965, allocations: 7.979 MB / 0.9976 GB, free: 142.9 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002363/2.967, allocations: 0.9115 MB / 0.9985 GB, free: 142.9 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02838/2.996, allocations: 17.09 MB / 1.015 GB, free: 136.8 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.233e-05/2.996, allocations: 95.25 kB / 1.015 GB, free: 136.8 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/2.996, allocations: 38.5 kB / 1.015 GB, free: 136.8 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001689/2.996, allocations: 51.23 kB / 1.015 GB, free: 136.8 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06673/3.063, allocations: 36.07 MB / 1.051 GB, free: 122.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000112/3.063, allocations: 7.562 kB / 1.051 GB, free: 122.3 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007058/3.07, allocations: 1.428 MB / 1.052 GB, free: 122.2 MB / 0.4983 GB 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/3.073, allocations: 0.9727 MB / 1.053 GB, free: 122 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/3.075, allocations: 209.1 kB / 1.053 GB, free: 121.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/3.086, allocations: 15.7 MB / 1.068 GB, free: 109.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/3.086, allocations: 7.75 kB / 1.068 GB, free: 109.4 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03778/3.124, allocations: 24.82 MB / 1.093 GB, free: 89.42 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006151/3.13, allocations: 2.263 MB / 1.095 GB, free: 87.62 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/3.133, allocations: 176 kB / 1.095 GB, free: 87.45 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006429/3.14, allocations: 0.5111 MB / 1.096 GB, free: 86.94 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001914/3.141, allocations: 0.791 MB / 1.096 GB, free: 86.14 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000662/3.142, allocations: 256 kB / 1.097 GB, free: 85.89 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009795/3.152, allocations: 5.778 MB / 1.102 GB, free: 80.13 MB / 0.4983 GB Notification: Performance of sort global known variables: time 6.41e-07/3.152, allocations: 0 / 1.102 GB, free: 80.13 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01803/3.17, allocations: 3.504 MB / 1.106 GB, free: 76.63 MB / 0.4983 GB 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 (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.003499/3.174, allocations: 470.9 kB / 1.106 GB, free: 76.17 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02453/3.198, allocations: 16.24 MB / 1.122 GB, free: 59.85 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/3.198, allocations: 5.484 kB / 1.122 GB, free: 59.84 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/3.212, allocations: 8.759 MB / 1.131 GB, free: 51 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02443/3.237, allocations: 2.42 MB / 1.133 GB, free: 48.58 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3178/3.555, allocations: 48 MB / 1.18 GB, free: 132.4 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02278/3.577, allocations: 13.2 MB / 1.193 GB, free: 131.2 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01263/3.59, allocations: 4.016 MB / 1.197 GB, free: 130.9 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/3.593, allocations: 0.6711 MB / 1.197 GB, free: 130.9 MB / 0.4983 GB Notification: Performance of SimCode: time 9.22e-07/3.593, allocations: 0 / 1.197 GB, free: 130.9 MB / 0.4983 GB Notification: Performance of Templates: time 0.2267/3.82, allocations: 150.5 MB / 1.344 GB, free: 11.77 MB / 0.4983 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (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)