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.0008821/0.000882, allocations: 98.03 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.006954/0.006954, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.59/1.59, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004901/0.0004904, allocations: 12 kB / 280.8 MB, free: 11.13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2816, allocations: 47.58 MB / 328.4 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05145/0.3331, allocations: 46.75 MB / 375.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03248/0.3656, allocations: 12.7 MB / 387.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/0.3783, allocations: 302.9 kB / 388.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.3903, allocations: 3.211 MB / 391.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02081/0.4111, allocations: 4.992 MB / 396.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.4221, allocations: 2.95 MB / 399.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03448/0.4566, allocations: 24.93 MB / 424.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4917/0.9484, allocations: 44.36 MB / 468.6 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.9652, allocations: 8.881 MB / 477.5 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02043/0.9857, allocations: 10.8 MB / 488.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007056/0.9928, allocations: 1.414 MB / 489.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.003, allocations: 1.909 MB / 491.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008347/1.011, allocations: 4.691 MB / 496.3 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02108/1.033, allocations: 10.95 MB / 0.4954 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0757/1.108, allocations: 45.65 MB / 0.54 GB, free: 9.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.108, allocations: 0 / 0.54 GB, free: 9.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.609e-06/1.108, allocations: 0 / 0.54 GB, free: 9.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001623/1.11, allocations: 0 / 0.54 GB, free: 9.805 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.09515/1.205, allocations: 23.01 MB / 0.5624 GB, free: 2.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.205, allocations: 8.031 kB / 0.5624 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08045/1.286, allocations: 14.95 MB / 0.577 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03542/1.321, allocations: 13.33 MB / 0.59 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001889/1.323, allocations: 1.595 MB / 0.5916 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008975/1.332, allocations: 2.093 MB / 0.5937 GB, free: 3.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09371/1.426, allocations: 35.19 MB / 0.628 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001205/1.427, allocations: 27.09 kB / 0.628 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.4074/1.835, allocations: 0.8695 MB / 0.6289 GB, free: 162.3 MB / 494.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/1.837, allocations: 1.178 MB / 0.63 GB, free: 162.3 MB / 494.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0698/1.907, allocations: 33.03 MB / 0.6623 GB, free: 151.4 MB / 494.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1745/2.081, allocations: 109.3 MB / 0.7691 GB, free: 45.47 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2833/2.365, allocations: 55.84 MB / 0.8236 GB, free: 130.1 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01877/2.383, allocations: 9.951 MB / 0.8333 GB, free: 127.9 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08461/2.468, allocations: 27.4 MB / 0.8601 GB, free: 115.9 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/2.468, allocations: 134.3 kB / 0.8602 GB, free: 115.8 MB / 494.2 MB Notification: Performance of pre-optimization done (n=894): time 1.697e-05/2.468, allocations: 0 / 0.8602 GB, free: 115.8 MB / 494.2 MB Notification: Performance of matching and sorting (n=906): time 0.1018/2.57, allocations: 39.55 MB / 0.8988 GB, free: 94.88 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/2.57, allocations: 168.5 kB / 0.899 GB, free: 94.69 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/2.583, allocations: 8.502 MB / 0.9073 GB, free: 87.57 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001904/2.585, allocations: 177.5 kB / 0.9075 GB, free: 87.39 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004293/2.589, allocations: 8.832 MB / 0.9161 GB, free: 79.57 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.003153/2.592, allocations: 3.06 MB / 0.9191 GB, free: 76.6 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/2.594, allocations: 0.9384 MB / 0.92 GB, free: 75.66 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/2.594, allocations: 301.1 kB / 0.9203 GB, free: 75.36 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008277/2.602, allocations: 6.316 MB / 0.9264 GB, free: 69.04 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/2.614, allocations: 10.27 MB / 0.9365 GB, free: 57.02 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02193/2.636, allocations: 17.65 MB / 0.9537 GB, free: 37.55 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/2.636, allocations: 36 kB / 0.9537 GB, free: 37.52 MB / 494.2 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03515/2.672, allocations: 20.64 MB / 0.9739 GB, free: 16.77 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/2.672, allocations: 61.25 kB / 0.974 GB, free: 16.71 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/2.672, allocations: 124 kB / 0.9741 GB, free: 16.59 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.002683/2.675, allocations: 0.9407 MB / 0.975 GB, free: 15.63 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009091/2.684, allocations: 2.492 MB / 0.9774 GB, free: 13.14 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008424/2.692, allocations: 11.54 MB / 0.9887 GB, free: 0.9531 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008929/2.701, allocations: 0.6282 MB / 0.9893 GB, free: 332 kB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.703, allocations: 0.5351 MB / 0.9898 GB, free: 15.79 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.2224/2.925, allocations: 7.985 MB / 0.9976 GB, free: 143 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/2.927, allocations: 0.9108 MB / 0.9985 GB, free: 143 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/2.953, allocations: 17.07 MB / 1.015 GB, free: 136.9 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/2.953, allocations: 91.97 kB / 1.015 GB, free: 136.9 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.469e-05/2.953, allocations: 42.19 kB / 1.015 GB, free: 136.9 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/2.953, allocations: 50.47 kB / 1.015 GB, free: 136.9 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05522/3.009, allocations: 36.07 MB / 1.051 GB, free: 122.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-05/3.009, allocations: 11.72 kB / 1.051 GB, free: 122.5 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005756/3.015, allocations: 1.419 MB / 1.052 GB, free: 122.4 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.002946/3.017, allocations: 0.9852 MB / 1.053 GB, free: 122.1 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006844/3.018, allocations: 208.7 kB / 1.053 GB, free: 122 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/3.03, allocations: 15.71 MB / 1.068 GB, free: 109.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/3.03, allocations: 4.75 kB / 1.068 GB, free: 109.5 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03553/3.066, allocations: 24.81 MB / 1.093 GB, free: 89.47 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005353/3.071, allocations: 2.269 MB / 1.095 GB, free: 87.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/3.073, allocations: 180 kB / 1.095 GB, free: 87.49 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006034/3.079, allocations: 0.5072 MB / 1.096 GB, free: 86.98 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/3.081, allocations: 0.7835 MB / 1.096 GB, free: 86.19 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005778/3.082, allocations: 259.9 kB / 1.097 GB, free: 85.94 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.008989/3.091, allocations: 5.774 MB / 1.102 GB, free: 80.18 MB / 0.4983 GB Notification: Performance of sort global known variables: time 6.12e-07/3.091, allocations: 0 / 1.102 GB, free: 80.18 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01408/3.105, allocations: 3.501 MB / 1.106 GB, free: 76.68 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.002773/3.107, allocations: 477.4 kB / 1.106 GB, free: 76.22 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02429/3.132, allocations: 16.24 MB / 1.122 GB, free: 59.89 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/3.132, allocations: 3.422 kB / 1.122 GB, free: 59.89 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/3.144, allocations: 8.759 MB / 1.131 GB, free: 51.05 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02035/3.165, allocations: 2.427 MB / 1.133 GB, free: 48.61 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.315/3.48, allocations: 48 MB / 1.18 GB, free: 132.6 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02131/3.501, allocations: 13.2 MB / 1.193 GB, free: 131.4 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01213/3.513, allocations: 4.016 MB / 1.197 GB, free: 131 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/3.516, allocations: 0.6702 MB / 1.197 GB, free: 131 MB / 0.4983 GB Notification: Performance of SimCode: time 8.22e-07/3.516, allocations: 0 / 1.197 GB, free: 131 MB / 0.4983 GB Notification: Performance of Templates: time 0.2239/3.74, allocations: 150.5 MB / 1.344 GB, free: 11.78 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)