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.001403/0.001403, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 187.4 kB / 16.25 MB, free: 6.617 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.447/1.447, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.001424/0.001424, allocations: 55.92 kB / 279.6 MB, free: 11.26 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 46.63 MB / 326.2 MB, free: 2.352 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04958/0.3364, allocations: 48.58 MB / 374.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03578/0.3723, allocations: 12.76 MB / 387.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01583/0.3881, allocations: 302.9 kB / 387.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03397/0.4222, allocations: 13.04 MB / 400.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02573/0.448, allocations: 4.957 MB / 405.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.462, allocations: 3.032 MB / 408.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03741/0.4995, allocations: 24.45 MB / 433.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5377/1.037, allocations: 52.83 MB / 486.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02372/1.061, allocations: 12.64 MB / 498.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03316/1.094, allocations: 14.06 MB / 0.5009 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01992/1.114, allocations: 3.637 MB / 0.5044 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02376/1.138, allocations: 4.118 MB / 0.5085 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.03558/1.174, allocations: 8.027 MB / 0.5163 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0471/1.221, allocations: 13.87 MB / 0.5298 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.09239/1.313, allocations: 48.34 MB / 0.577 GB, free: 2.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.313, allocations: 3.984 kB / 0.577 GB, free: 2.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/1.313, allocations: 0 / 0.577 GB, free: 2.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001649/1.315, allocations: 0 / 0.577 GB, free: 2.707 MB / 446.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.1011/1.416, allocations: 27.84 MB / 0.6042 GB, free: 6.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.416, allocations: 8.031 kB / 0.6042 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08058/1.497, allocations: 14.87 MB / 0.6188 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3958/1.893, allocations: 13.29 MB / 0.6317 GB, free: 162.3 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002127/1.895, allocations: 1.593 MB / 0.6333 GB, free: 161.7 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009508/1.904, allocations: 2.098 MB / 0.6353 GB, free: 161 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09165/1.996, allocations: 35.17 MB / 0.6697 GB, free: 145.7 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001073/1.997, allocations: 31.89 kB / 0.6697 GB, free: 145.7 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007926/2.005, allocations: 0.8666 MB / 0.6706 GB, free: 145.1 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/2.006, allocations: 1.177 MB / 0.6717 GB, free: 144.8 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06414/2.071, allocations: 32.99 MB / 0.7039 GB, free: 112.3 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1926/2.263, allocations: 108.9 MB / 0.8103 GB, free: 2.648 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3024/2.566, allocations: 55.85 MB / 0.8648 GB, free: 99.81 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/2.58, allocations: 9.946 MB / 0.8746 GB, free: 96.06 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05528/2.635, allocations: 27.35 MB / 0.9013 GB, free: 84.11 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/2.635, allocations: 132 kB / 0.9014 GB, free: 84.01 MB / 494.3 MB Notification: Performance of pre-optimization done (n=894): time 1.336e-05/2.635, allocations: 0 / 0.9014 GB, free: 84.01 MB / 494.3 MB Notification: Performance of matching and sorting (n=906): time 0.07982/2.715, allocations: 39.43 MB / 0.9399 GB, free: 54.95 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/2.715, allocations: 172.5 kB / 0.9401 GB, free: 54.76 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01775/2.733, allocations: 8.499 MB / 0.9484 GB, free: 46.27 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.002122/2.735, allocations: 173.7 kB / 0.9485 GB, free: 46.1 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004873/2.74, allocations: 8.836 MB / 0.9572 GB, free: 37.21 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003726/2.744, allocations: 3.06 MB / 0.9601 GB, free: 34.17 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007449/2.751, allocations: 2.272 MB / 0.9624 GB, free: 31.89 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/2.751, allocations: 301.1 kB / 0.9627 GB, free: 31.59 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009855/2.761, allocations: 6.297 MB / 0.9688 GB, free: 25.29 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/2.774, allocations: 10.25 MB / 0.9788 GB, free: 13.29 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02579/2.8, allocations: 17.61 MB / 0.996 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/2.8, allocations: 36 kB / 0.996 GB, free: 9.828 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.2596/3.06, allocations: 20.61 MB / 1.016 GB, free: 140.7 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/3.06, allocations: 61.34 kB / 1.016 GB, free: 140.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/3.06, allocations: 129.7 kB / 1.016 GB, free: 140.7 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.002652/3.063, allocations: 0.9345 MB / 1.017 GB, free: 140.7 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00919/3.072, allocations: 2.488 MB / 1.02 GB, free: 140.7 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008743/3.081, allocations: 12.48 MB / 1.032 GB, free: 131.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008888/3.09, allocations: 0.6166 MB / 1.032 GB, free: 131 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002334/3.092, allocations: 0.5335 MB / 1.033 GB, free: 131 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.01382/3.106, allocations: 7.98 MB / 1.041 GB, free: 127.2 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003041/3.109, allocations: 0.9206 MB / 1.042 GB, free: 127.2 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02855/3.137, allocations: 17.05 MB / 1.058 GB, free: 120.2 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/3.138, allocations: 91.34 kB / 1.058 GB, free: 120.2 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001239/3.138, allocations: 41.69 kB / 1.058 GB, free: 120.2 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001747/3.138, allocations: 48.67 kB / 1.059 GB, free: 120.2 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0686/3.206, allocations: 36.03 MB / 1.094 GB, free: 103 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.071e-05/3.207, allocations: 4 kB / 1.094 GB, free: 103 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00659/3.213, allocations: 1.428 MB / 1.095 GB, free: 101.5 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.003285/3.217, allocations: 0.9678 MB / 1.096 GB, free: 100.6 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001758/3.218, allocations: 211.9 kB / 1.096 GB, free: 100.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/3.231, allocations: 17.07 MB / 1.113 GB, free: 82.48 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/3.231, allocations: 11.88 kB / 1.113 GB, free: 82.47 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0402/3.272, allocations: 24.76 MB / 1.137 GB, free: 58.02 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005974/3.278, allocations: 2.246 MB / 1.139 GB, free: 56.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003222/3.281, allocations: 176 kB / 1.139 GB, free: 56.06 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006702/3.288, allocations: 495.5 kB / 1.14 GB, free: 55.58 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002525/3.29, allocations: 0.7912 MB / 1.141 GB, free: 54.79 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001436/3.292, allocations: 260 kB / 1.141 GB, free: 54.53 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009734/3.301, allocations: 5.778 MB / 1.147 GB, free: 48.77 MB / 0.4983 GB Notification: Performance of sort global known variables: time 3.71e-07/3.301, allocations: 0 / 1.147 GB, free: 48.77 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0134/3.315, allocations: 3.501 MB / 1.15 GB, free: 45.27 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.002313/3.317, allocations: 471.3 kB / 1.15 GB, free: 44.83 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.07524/3.392, allocations: 36.26 MB / 1.186 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/3.392, allocations: 4.438 kB / 1.186 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.2106/3.603, allocations: 8.737 MB / 1.194 GB, free: 150.6 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/3.618, allocations: 2.563 MB / 1.197 GB, free: 150.2 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08608/3.704, allocations: 47.79 MB / 1.244 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02957/3.734, allocations: 13.21 MB / 1.256 GB, free: 122 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01481/3.749, allocations: 4.021 MB / 1.26 GB, free: 120.4 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00493/3.754, allocations: 0.6747 MB / 1.261 GB, free: 119.7 MB / 0.4983 GB Notification: Performance of SimCode: time 8.01e-07/3.754, allocations: 5.094 kB / 1.261 GB, free: 119.7 MB / 0.4983 GB Notification: Performance of Templates: time 0.4529/4.207, allocations: 157.5 MB / 1.415 GB, free: 132.1 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)