Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00102/0.00102, allocations: 91.98 kB / 16.31 MB, free: 5.621 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.001215/0.001215, allocations: 181.1 kB / 17.21 MB, free: 5.539 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.571/1.571, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0005375/0.0005376, allocations: 12 kB / 281.5 MB, free: 11.46 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 47.58 MB / 329.1 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04325/0.3227, allocations: 43.28 MB / 372.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03122/0.354, allocations: 12.05 MB / 384.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.3656, allocations: 302.9 kB / 384.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.3761, allocations: 2.435 MB / 387.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0183/0.3944, allocations: 4.579 MB / 391.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009619/0.4041, allocations: 2.224 MB / 393.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03974/0.4438, allocations: 26.51 MB / 420.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08034/0.5242, allocations: 36.46 MB / 456.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4379/0.9622, allocations: 8.986 MB / 465.9 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02076/0.983, allocations: 10.36 MB / 476.2 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007859/0.9909, allocations: 1.413 MB / 477.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/1.003, allocations: 1.846 MB / 479.5 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008769/1.012, allocations: 4.619 MB / 484.1 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/1.023, allocations: 4.628 MB / 488.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03669/1.059, allocations: 41.06 MB / 0.5174 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.059, allocations: 0 / 0.5174 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/1.059, allocations: 2.25 kB / 0.5174 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001583/1.061, allocations: 0 / 0.5174 GB, free: 6.418 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.07415/1.135, allocations: 23.23 MB / 0.5401 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.135, allocations: 12.03 kB / 0.5401 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07708/1.212, allocations: 14.95 MB / 0.5547 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0304/1.243, allocations: 13.12 MB / 0.5675 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/1.245, allocations: 1.585 MB / 0.5691 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008982/1.254, allocations: 2.102 MB / 0.5711 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1084/1.362, allocations: 35.01 MB / 0.6053 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001211/1.363, allocations: 27.56 kB / 0.6053 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008228/1.372, allocations: 0.8637 MB / 0.6062 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/1.373, allocations: 1.184 MB / 0.6073 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5329/1.906, allocations: 32.85 MB / 0.6394 GB, free: 118.3 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2093/2.115, allocations: 109.3 MB / 0.7461 GB, free: 23.26 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05081/2.166, allocations: 55.78 MB / 0.8006 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01883/2.185, allocations: 9.966 MB / 0.8103 GB, free: 1.797 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3181/2.503, allocations: 27.37 MB / 0.837 GB, free: 150.5 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/2.503, allocations: 132.8 kB / 0.8372 GB, free: 150.4 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=894): time 9.598e-06/2.503, allocations: 0 / 0.8372 GB, free: 150.4 MB / 0.4983 GB Notification: Performance of matching and sorting (n=906): time 0.07275/2.576, allocations: 39.46 MB / 0.8757 GB, free: 132 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/2.576, allocations: 173.1 kB / 0.8759 GB, free: 131.9 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/2.592, allocations: 8.443 MB / 0.8841 GB, free: 127.6 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.002158/2.594, allocations: 173.7 kB / 0.8843 GB, free: 127.4 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.00703/2.601, allocations: 8.834 MB / 0.8929 GB, free: 119.6 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.004143/2.605, allocations: 3.059 MB / 0.8959 GB, free: 116.8 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/2.606, allocations: 240 kB / 0.8961 GB, free: 116.6 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0006742/2.607, allocations: 0.7925 MB / 0.8969 GB, free: 115.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009872/2.617, allocations: 6.264 MB / 0.903 GB, free: 110.7 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/2.629, allocations: 10.23 MB / 0.913 GB, free: 99.89 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/2.642, allocations: 8.402 MB / 0.9212 GB, free: 91.64 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/2.642, allocations: 36 kB / 0.9212 GB, free: 91.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03611/2.679, allocations: 20.53 MB / 0.9413 GB, free: 70.96 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/2.679, allocations: 58.94 kB / 0.9414 GB, free: 70.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/2.679, allocations: 128 kB / 0.9415 GB, free: 70.78 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/2.681, allocations: 0.9511 MB / 0.9424 GB, free: 69.81 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009534/2.691, allocations: 2.484 MB / 0.9448 GB, free: 67.32 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/2.7, allocations: 11.53 MB / 0.9561 GB, free: 55.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.71, allocations: 0.6205 MB / 0.9567 GB, free: 54.54 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/2.713, allocations: 0.5312 MB / 0.9572 GB, free: 54 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 (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 (1269): * Single equations (assignments): 1262 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01701/2.73, allocations: 7.981 MB / 0.965 GB, free: 46 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/2.732, allocations: 0.9224 MB / 0.9659 GB, free: 45.07 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/2.76, allocations: 17.03 MB / 0.9825 GB, free: 27.89 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/2.76, allocations: 95.95 kB / 0.9826 GB, free: 27.8 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.398e-05/2.76, allocations: 40 kB / 0.9827 GB, free: 27.76 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001581/2.761, allocations: 47.81 kB / 0.9827 GB, free: 27.71 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2778/3.038, allocations: 35.99 MB / 1.018 GB, free: 135.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/3.038, allocations: 7.906 kB / 1.018 GB, free: 135.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005852/3.044, allocations: 1.425 MB / 1.019 GB, free: 135 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/3.047, allocations: 0.973 MB / 1.02 GB, free: 134.7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009587/3.048, allocations: 203.8 kB / 1.02 GB, free: 134.6 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/3.06, allocations: 15.68 MB / 1.036 GB, free: 122.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/3.06, allocations: 10.62 kB / 1.036 GB, free: 122.1 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03575/3.096, allocations: 24.71 MB / 1.06 GB, free: 112 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006822/3.103, allocations: 2.26 MB / 1.062 GB, free: 111.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003086/3.106, allocations: 179.2 kB / 1.062 GB, free: 111.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00639/3.113, allocations: 0.5055 MB / 1.063 GB, free: 111 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002196/3.115, allocations: 0.7874 MB / 1.064 GB, free: 110.9 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006676/3.116, allocations: 264.6 kB / 1.064 GB, free: 110.8 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008865/3.124, allocations: 5.707 MB / 1.069 GB, free: 108.7 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.31e-07/3.124, allocations: 0 / 1.069 GB, free: 108.7 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01326/3.138, allocations: 3.497 MB / 1.073 GB, free: 105.8 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 (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,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002084/3.14, allocations: 437.2 kB / 1.073 GB, free: 105.4 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02146/3.161, allocations: 16.17 MB / 1.089 GB, free: 91.34 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/3.161, allocations: 7.859 kB / 1.089 GB, free: 91.33 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/3.173, allocations: 8.727 MB / 1.097 GB, free: 83.72 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01255/3.186, allocations: 2.47 MB / 1.1 GB, free: 81.6 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06639/3.252, allocations: 45.96 MB / 1.145 GB, free: 36.21 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0187/3.271, allocations: 13.2 MB / 1.158 GB, free: 22.96 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01152/3.283, allocations: 4.018 MB / 1.162 GB, free: 18.93 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/3.285, allocations: 0.6712 MB / 1.162 GB, free: 18.26 MB / 0.4983 GB Notification: Performance of SimCode: time 1.463e-06/3.285, allocations: 0 / 1.162 GB, free: 18.26 MB / 0.4983 GB Notification: Performance of Templates: time 0.423/3.708, allocations: 147.3 MB / 1.306 GB, free: 47.91 MB / 0.4983 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)