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.001081/0.001081, allocations: 101.8 kB / 16.62 MB, free: 6.809 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.001359/0.001359, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.552/1.552, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001137/0.001138, allocations: 52.16 kB / 280.9 MB, free: 2.105 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1175, allocations: 46.63 MB / 327.5 MB, free: 3.402 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04774/0.1653, allocations: 48.59 MB / 376.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2575/0.4229, allocations: 12.73 MB / 388.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01692/0.4398, allocations: 305.5 kB / 389.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03192/0.4718, allocations: 13.04 MB / 402.2 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02225/0.4941, allocations: 4.964 MB / 407.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.5072, allocations: 3.044 MB / 410.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03952/0.5468, allocations: 24.45 MB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0869/0.6337, allocations: 52.83 MB / 487.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02739/0.6611, allocations: 12.66 MB / 0.4884 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03054/0.6917, allocations: 14.06 MB / 0.5022 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01315/0.7049, allocations: 3.629 MB / 0.5057 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.7221, allocations: 4.124 MB / 0.5097 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01351/0.7356, allocations: 7.354 MB / 0.5169 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03269/0.7684, allocations: 13.86 MB / 0.5305 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4785/1.247, allocations: 48.35 MB / 0.5777 GB, free: 84.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.247, allocations: 0 / 0.5777 GB, free: 84.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/1.247, allocations: 0 / 0.5777 GB, free: 84.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.002155/1.249, allocations: 0 / 0.5777 GB, free: 84.92 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.1112/1.36, allocations: 27.83 MB / 0.6048 GB, free: 68.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.36, allocations: 11.44 kB / 0.6049 GB, free: 68.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07948/1.44, allocations: 14.88 MB / 0.6194 GB, free: 55.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03346/1.473, allocations: 13.3 MB / 0.6324 GB, free: 42.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/1.475, allocations: 1.592 MB / 0.6339 GB, free: 40.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01216/1.487, allocations: 2.09 MB / 0.636 GB, free: 38.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1166/1.604, allocations: 35.17 MB / 0.6703 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001056/1.605, allocations: 30.7 kB / 0.6703 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009855/1.615, allocations: 0.8645 MB / 0.6712 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/1.616, allocations: 1.181 MB / 0.6723 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08821/1.704, allocations: 32.99 MB / 0.7046 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5137/2.218, allocations: 108.9 MB / 0.8109 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04959/2.268, allocations: 55.85 MB / 0.8655 GB, free: 41.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01873/2.287, allocations: 9.931 MB / 0.8752 GB, free: 31.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06936/2.356, allocations: 27.35 MB / 0.9019 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/2.356, allocations: 133.9 kB / 0.902 GB, free: 3.781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=894): time 2.125e-05/2.356, allocations: 0 / 0.902 GB, free: 3.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=906): time 0.3736/2.73, allocations: 39.42 MB / 0.9405 GB, free: 145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/2.73, allocations: 173.9 kB / 0.9407 GB, free: 144.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01543/2.745, allocations: 8.503 MB / 0.949 GB, free: 141.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001912/2.747, allocations: 177.7 kB / 0.9492 GB, free: 141.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005688/2.753, allocations: 8.838 MB / 0.9578 GB, free: 133.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003982/2.757, allocations: 3.057 MB / 0.9608 GB, free: 131.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004455/2.762, allocations: 2.273 MB / 0.963 GB, free: 129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/2.762, allocations: 301.1 kB / 0.9633 GB, free: 128.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00847/2.77, allocations: 6.301 MB / 0.9694 GB, free: 123.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/2.782, allocations: 10.26 MB / 0.9794 GB, free: 112.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02135/2.804, allocations: 17.61 MB / 0.9966 GB, free: 94.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/2.804, allocations: 36 kB / 0.9967 GB, free: 94.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03982/2.844, allocations: 20.61 MB / 1.017 GB, free: 75.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/2.844, allocations: 56 kB / 1.017 GB, free: 75.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002695/2.844, allocations: 128 kB / 1.017 GB, free: 75.72 MB / 494.1 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.002897/2.847, allocations: 0.9363 MB / 1.018 GB, free: 74.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009926/2.857, allocations: 2.488 MB / 1.02 GB, free: 72.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/2.866, allocations: 12.48 MB / 1.033 GB, free: 59.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.877, allocations: 0.621 MB / 1.033 GB, free: 58.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00334/2.881, allocations: 0.5351 MB / 1.034 GB, free: 57.98 MB / 494.1 MB 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.0173/2.898, allocations: 7.98 MB / 1.041 GB, free: 49.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003369/2.901, allocations: 0.9151 MB / 1.042 GB, free: 49.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03093/2.932, allocations: 17.05 MB / 1.059 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/2.933, allocations: 91.94 kB / 1.059 GB, free: 31.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/2.933, allocations: 44 kB / 1.059 GB, free: 31.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002232/2.933, allocations: 51.64 kB / 1.059 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3212/3.254, allocations: 36.02 MB / 1.094 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-05/3.254, allocations: 6.125 kB / 1.094 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006776/3.261, allocations: 1.426 MB / 1.096 GB, free: 134.2 MB / 494.1 MB 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.003247/3.264, allocations: 0.9784 MB / 1.097 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002009/3.266, allocations: 204 kB / 1.097 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/3.279, allocations: 17.07 MB / 1.114 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/3.279, allocations: 7.875 kB / 1.114 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03741/3.316, allocations: 24.76 MB / 1.138 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006256/3.323, allocations: 2.252 MB / 1.14 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002883/3.326, allocations: 174.6 kB / 1.14 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007053/3.333, allocations: 499.4 kB / 1.141 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002629/3.335, allocations: 0.7832 MB / 1.141 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009498/3.336, allocations: 259.8 kB / 1.142 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01294/3.349, allocations: 5.78 MB / 1.147 GB, free: 109.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/3.349, allocations: 3.062 kB / 1.147 GB, free: 109.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0177/3.367, allocations: 3.509 MB / 1.151 GB, free: 106.3 MB / 494.1 MB 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.002925/3.37, allocations: 460.4 kB / 1.151 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.08057/3.45, allocations: 36.26 MB / 1.186 GB, free: 71.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/3.451, allocations: 4 kB / 1.187 GB, free: 71.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01385/3.464, allocations: 8.746 MB / 1.195 GB, free: 64.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01853/3.483, allocations: 2.559 MB / 1.198 GB, free: 61.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08278/3.566, allocations: 47.79 MB / 1.244 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03209/3.598, allocations: 13.2 MB / 1.257 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01641/3.614, allocations: 4.014 MB / 1.261 GB, free: 14.62 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005817/3.62, allocations: 0.6789 MB / 1.262 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of SimCode: time 3.096e-06/3.62, allocations: 0 / 1.262 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of Templates: time 0.509/4.129, allocations: 157.5 MB / 1.415 GB, free: 24.45 MB / 0.4982 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)