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.006145/0.006145, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001117/0.001117, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.564/1.564, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001496/0.001497, allocations: 51.16 kB / 328 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 46.62 MB / 374.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05572/0.1742, allocations: 49.51 MB / 424.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03916/0.2134, allocations: 12.93 MB / 437 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01683/0.2303, allocations: 322.9 kB / 437.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03732/0.2678, allocations: 13.94 MB / 451.3 MB, free: 2.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3371/0.6049, allocations: 5.578 MB / 456.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.6179, allocations: 3.289 MB / 460.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04024/0.6582, allocations: 24.41 MB / 484.6 MB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1051/0.7634, allocations: 47.43 MB / 0.5195 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02867/0.7921, allocations: 12.71 MB / 0.532 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02754/0.8196, allocations: 13.91 MB / 0.5455 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01323/0.8329, allocations: 3.637 MB / 0.5491 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.851, allocations: 4.118 MB / 0.5531 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01573/0.8668, allocations: 7.36 MB / 0.5603 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03523/0.902, allocations: 13.86 MB / 0.5738 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06428/0.9663, allocations: 48.64 MB / 0.6213 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9664, allocations: 0 / 0.6213 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9664, allocations: 0 / 0.6213 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001696/0.9681, allocations: 0 / 0.6213 GB, free: 12.6 MB / 0.5137 GB 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.6069/1.575, allocations: 27.78 MB / 0.6485 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.575, allocations: 9.625 kB / 0.6485 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08191/1.657, allocations: 14.92 MB / 0.663 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03539/1.692, allocations: 13.4 MB / 0.6761 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/1.694, allocations: 1.587 MB / 0.6777 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01203/1.706, allocations: 2.092 MB / 0.6797 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1006/1.807, allocations: 35.17 MB / 0.7141 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001279/1.808, allocations: 35.64 kB / 0.7141 GB, free: 100.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009531/1.818, allocations: 0.8644 MB / 0.7149 GB, free: 99.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001099/1.819, allocations: 1.181 MB / 0.7161 GB, free: 98.72 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06634/1.885, allocations: 33.01 MB / 0.7483 GB, free: 65.68 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7685/2.654, allocations: 107.6 MB / 0.8534 GB, free: 133.6 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0415/2.695, allocations: 55.88 MB / 0.908 GB, free: 94.43 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01518/2.711, allocations: 9.96 MB / 0.9177 GB, free: 94.27 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05288/2.764, allocations: 27.3 MB / 0.9444 GB, free: 86.81 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.511e-05/2.764, allocations: 130.4 kB / 0.9445 GB, free: 86.7 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=894): time 9.718e-06/2.764, allocations: 0 / 0.9445 GB, free: 86.7 MB / 0.5452 GB Notification: Performance of matching and sorting (n=906): time 0.07748/2.841, allocations: 39.48 MB / 0.9831 GB, free: 58.89 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/2.841, allocations: 168.5 kB / 0.9832 GB, free: 58.71 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/2.855, allocations: 8.51 MB / 0.9915 GB, free: 50.21 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001778/2.857, allocations: 173.7 kB / 0.9917 GB, free: 50.03 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004483/2.861, allocations: 8.826 MB / 1 GB, free: 41.15 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.003886/2.865, allocations: 3.062 MB / 1.003 GB, free: 38.11 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004255/2.869, allocations: 2.268 MB / 1.006 GB, free: 35.83 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/2.869, allocations: 305.1 kB / 1.006 GB, free: 35.53 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008978/2.878, allocations: 6.304 MB / 1.012 GB, free: 29.22 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.891, allocations: 10.27 MB / 1.022 GB, free: 17.21 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02246/2.913, allocations: 17.62 MB / 1.039 GB, free: 13.77 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/2.913, allocations: 36 kB / 1.039 GB, free: 13.74 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04983/2.963, allocations: 20.63 MB / 1.059 GB, free: 8.992 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/2.963, allocations: 63.94 kB / 1.059 GB, free: 8.93 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/2.963, allocations: 124 kB / 1.06 GB, free: 8.809 MB / 0.5764 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.002515/2.966, allocations: 0.8826 MB / 1.06 GB, free: 7.91 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/2.977, allocations: 2.488 MB / 1.063 GB, free: 5.418 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2863/3.263, allocations: 12.45 MB / 1.075 GB, free: 176.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/3.274, allocations: 0.6259 MB / 1.076 GB, free: 176.6 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003246/3.278, allocations: 0.5316 MB / 1.076 GB, free: 176.6 MB / 0.5764 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.02014/3.298, allocations: 7.988 MB / 1.084 GB, free: 174.2 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003798/3.302, allocations: 0.9179 MB / 1.085 GB, free: 174.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03237/3.334, allocations: 17.07 MB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.028e-05/3.334, allocations: 93.69 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.23e-05/3.334, allocations: 41.38 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002135/3.334, allocations: 46.17 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06853/3.403, allocations: 35.96 MB / 1.137 GB, free: 153.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.84e-05/3.403, allocations: 7.781 kB / 1.137 GB, free: 153.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007544/3.411, allocations: 1.426 MB / 1.138 GB, free: 153 MB / 0.5764 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.003126/3.414, allocations: 0.9178 MB / 1.139 GB, free: 152.7 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002258/3.416, allocations: 202.6 kB / 1.139 GB, free: 152.6 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/3.429, allocations: 17.06 MB / 1.156 GB, free: 138.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/3.429, allocations: 11.62 kB / 1.156 GB, free: 138.9 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03811/3.467, allocations: 24.82 MB / 1.18 GB, free: 115.1 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007164/3.475, allocations: 2.251 MB / 1.182 GB, free: 113.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004446/3.479, allocations: 179.9 kB / 1.183 GB, free: 113.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008384/3.488, allocations: 491.5 kB / 1.183 GB, free: 112.7 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002802/3.49, allocations: 0.7874 MB / 1.184 GB, free: 111.9 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/3.491, allocations: 263.9 kB / 1.184 GB, free: 111.6 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01023/3.502, allocations: 5.778 MB / 1.19 GB, free: 105.9 MB / 0.5764 GB Notification: Performance of sort global known variables: time 6.12e-07/3.502, allocations: 3.938 kB / 1.19 GB, free: 105.9 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01523/3.517, allocations: 3.5 MB / 1.193 GB, free: 102.4 MB / 0.5764 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.002416/3.519, allocations: 479.2 kB / 1.194 GB, free: 101.9 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02531/3.545, allocations: 16.28 MB / 1.209 GB, free: 85.55 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.545, allocations: 4 kB / 1.209 GB, free: 85.54 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01497/3.56, allocations: 8.757 MB / 1.218 GB, free: 76.7 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/3.577, allocations: 2.554 MB / 1.221 GB, free: 74.16 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07004/3.647, allocations: 38.43 MB / 1.258 GB, free: 35.66 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02321/3.67, allocations: 13.2 MB / 1.271 GB, free: 22.42 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.01205/3.682, allocations: 4.029 MB / 1.275 GB, free: 18.38 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00394/3.686, allocations: 0.6673 MB / 1.276 GB, free: 17.71 MB / 0.5764 GB Notification: Performance of SimCode: time 1.863e-06/3.686, allocations: 0 / 1.276 GB, free: 17.71 MB / 0.5764 GB Notification: Performance of Templates: time 0.4995/4.186, allocations: 146.7 MB / 1.419 GB, free: 70.88 MB / 0.5764 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)