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_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.2.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.2.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.001738/0.001738, 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.002015/0.002016, allocations: 193.1 kB / 16.13 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.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.738 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.001429/0.001429, allocations: 39.94 kB / 279.4 MB, free: 11.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 46.63 MB / 326.1 MB, free: 2.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05094/0.363, allocations: 48.6 MB / 374.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0332/0.3963, allocations: 12.78 MB / 387.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01555/0.4119, allocations: 306.9 kB / 387.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03283/0.4448, allocations: 13.04 MB / 400.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.4683, allocations: 5.027 MB / 405.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.4805, allocations: 3.063 MB / 408.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03491/0.5154, allocations: 24.94 MB / 433.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4891/1.005, allocations: 38.52 MB / 472.3 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02148/1.026, allocations: 10.72 MB / 483 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02269/1.049, allocations: 13.18 MB / 496.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01158/1.06, allocations: 2.296 MB / 498.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/1.075, allocations: 2.79 MB / 0.4896 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.014/1.089, allocations: 5.957 MB / 0.4954 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03022/1.12, allocations: 12.43 MB / 0.5075 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06143/1.181, allocations: 47.63 MB / 0.554 GB, free: 7.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.181, allocations: 4 kB / 0.554 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.181, allocations: 0 / 0.554 GB, free: 7.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001607/1.183, allocations: 0 / 0.554 GB, free: 7.863 MB / 430.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.09681/1.279, allocations: 27.83 MB / 0.5812 GB, free: 12.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.28, allocations: 16.03 kB / 0.5812 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08091/1.36, allocations: 14.87 MB / 0.5957 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03469/1.395, allocations: 13.29 MB / 0.6087 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001891/1.397, allocations: 1.6 MB / 0.6103 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009794/1.407, allocations: 2.093 MB / 0.6123 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4933/1.9, allocations: 35.17 MB / 0.6467 GB, free: 150 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001273/1.902, allocations: 26.28 kB / 0.6467 GB, free: 150 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008709/1.91, allocations: 0.8677 MB / 0.6475 GB, free: 149.3 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/1.912, allocations: 1.181 MB / 0.6487 GB, free: 149.2 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07215/1.984, allocations: 32.99 MB / 0.6809 GB, free: 132.3 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1714/2.155, allocations: 108.9 MB / 0.7873 GB, free: 22.75 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.289/2.444, allocations: 55.85 MB / 0.8418 GB, free: 106.8 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0182/2.462, allocations: 9.932 MB / 0.8515 GB, free: 104.3 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05664/2.519, allocations: 27.35 MB / 0.8782 GB, free: 92.41 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/2.519, allocations: 133 kB / 0.8784 GB, free: 92.3 MB / 494.3 MB Notification: Performance of pre-optimization done (n=894): time 9.338e-06/2.519, allocations: 0 / 0.8784 GB, free: 92.3 MB / 494.3 MB Notification: Performance of matching and sorting (n=906): time 0.07761/2.597, allocations: 39.43 MB / 0.9169 GB, free: 72.04 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/2.597, allocations: 172.4 kB / 0.917 GB, free: 71.85 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0168/2.614, allocations: 8.504 MB / 0.9253 GB, free: 64.72 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.00223/2.616, allocations: 173.7 kB / 0.9255 GB, free: 64.55 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005384/2.621, allocations: 8.839 MB / 0.9341 GB, free: 56.7 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003579/2.625, allocations: 3.058 MB / 0.9371 GB, free: 53.67 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005037/2.63, allocations: 2.272 MB / 0.9393 GB, free: 51.39 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/2.63, allocations: 305.1 kB / 0.9396 GB, free: 51.09 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009225/2.639, allocations: 6.297 MB / 0.9458 GB, free: 44.79 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/2.651, allocations: 10.25 MB / 0.9558 GB, free: 32.78 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/2.673, allocations: 17.61 MB / 0.973 GB, free: 13.36 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/2.673, allocations: 36 kB / 0.973 GB, free: 13.32 MB / 494.3 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04051/2.713, allocations: 20.61 MB / 0.9932 GB, free: 8.609 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/2.713, allocations: 60 kB / 0.9932 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002018/2.714, allocations: 124 kB / 0.9933 GB, free: 8.43 MB / 0.4983 GB 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.002955/2.717, allocations: 0.9331 MB / 0.9942 GB, free: 7.48 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/2.727, allocations: 2.488 MB / 0.9967 GB, free: 4.988 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/2.956, allocations: 11.5 MB / 1.008 GB, free: 138.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008932/2.965, allocations: 0.6229 MB / 1.009 GB, free: 138.1 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002465/2.968, allocations: 0.5328 MB / 1.009 GB, free: 138.1 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.01522/2.983, allocations: 7.984 MB / 1.017 GB, free: 135.7 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00245/2.985, allocations: 0.9135 MB / 1.018 GB, free: 135.7 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02787/3.013, allocations: 17.05 MB / 1.034 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/3.013, allocations: 93.41 kB / 1.034 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.419e-05/3.013, allocations: 42.34 kB / 1.035 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000164/3.013, allocations: 50.48 kB / 1.035 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06493/3.078, allocations: 36.03 MB / 1.07 GB, free: 114.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/3.079, allocations: 3.844 kB / 1.07 GB, free: 114.5 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006222/3.085, allocations: 1.436 MB / 1.071 GB, free: 114.3 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.003048/3.088, allocations: 0.9651 MB / 1.072 GB, free: 114.1 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001388/3.089, allocations: 205.2 kB / 1.072 GB, free: 114 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/3.101, allocations: 15.69 MB / 1.088 GB, free: 101.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/3.101, allocations: 15.62 kB / 1.088 GB, free: 101.4 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03543/3.136, allocations: 24.76 MB / 1.112 GB, free: 78.47 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005531/3.142, allocations: 2.252 MB / 1.114 GB, free: 76.68 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003841/3.146, allocations: 176 kB / 1.114 GB, free: 76.51 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006639/3.152, allocations: 0.4917 MB / 1.115 GB, free: 76.02 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002241/3.155, allocations: 0.7835 MB / 1.115 GB, free: 75.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008493/3.156, allocations: 259.9 kB / 1.116 GB, free: 74.98 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009144/3.165, allocations: 5.778 MB / 1.121 GB, free: 69.21 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.91e-07/3.165, allocations: 0 / 1.121 GB, free: 69.21 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01631/3.181, allocations: 3.494 MB / 1.125 GB, free: 65.73 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.002272/3.183, allocations: 475 kB / 1.125 GB, free: 65.27 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02311/3.206, allocations: 16.21 MB / 1.141 GB, free: 48.97 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/3.206, allocations: 5.609 kB / 1.141 GB, free: 48.97 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01287/3.219, allocations: 8.738 MB / 1.15 GB, free: 40.15 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01501/3.234, allocations: 2.419 MB / 1.152 GB, free: 37.72 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.27/3.504, allocations: 47.78 MB / 1.199 GB, free: 128.1 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02658/3.531, allocations: 13.2 MB / 1.211 GB, free: 126.9 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01406/3.545, allocations: 4.016 MB / 1.215 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003551/3.549, allocations: 0.6709 MB / 1.216 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of SimCode: time 1.022e-06/3.549, allocations: 0 / 1.216 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of Templates: time 0.2303/3.779, allocations: 152.2 MB / 1.365 GB, free: 0.5781 MB / 0.4983 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)