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.009114/0.009114, allocations: 100 kB / 15.73 MB, free: 6.02 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.001849/0.001849, allocations: 202.9 kB / 16.68 MB, free: 5.938 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.82/1.82, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001268/0.001268, allocations: 49.92 kB / 328 MB, free: 13.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 46.62 MB / 374.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05105/0.1569, allocations: 49.51 MB / 424.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.1902, allocations: 12.93 MB / 437 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.2062, allocations: 322.9 kB / 437.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03542/0.2417, allocations: 13.84 MB / 451.2 MB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3186/0.5603, allocations: 5.468 MB / 456.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01248/0.5728, allocations: 3.291 MB / 460 MB, free: 6.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03614/0.609, allocations: 24.42 MB / 484.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08498/0.694, allocations: 47.36 MB / 0.5193 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02757/0.7216, allocations: 12.66 MB / 0.5316 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02654/0.7482, allocations: 13.9 MB / 0.5452 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01414/0.7624, allocations: 3.64 MB / 0.5488 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01772/0.7801, allocations: 4.127 MB / 0.5528 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01653/0.7967, allocations: 7.349 MB / 0.56 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03533/0.8321, allocations: 13.87 MB / 0.5735 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06536/0.8975, allocations: 48.63 MB / 0.621 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8976, allocations: 4 kB / 0.621 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8976, allocations: 0 / 0.621 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001634/0.8992, allocations: 0 / 0.621 GB, free: 12.71 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.628/1.527, allocations: 27.78 MB / 0.6481 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.527, allocations: 13.61 kB / 0.6481 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08414/1.611, allocations: 14.92 MB / 0.6627 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03897/1.65, allocations: 13.41 MB / 0.6758 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00229/1.653, allocations: 1.586 MB / 0.6774 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01354/1.666, allocations: 2.088 MB / 0.6794 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1095/1.776, allocations: 35.17 MB / 0.7137 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001325/1.777, allocations: 35.64 kB / 0.7138 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01363/1.791, allocations: 0.8726 MB / 0.7146 GB, free: 100.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/1.792, allocations: 1.177 MB / 0.7158 GB, free: 99.03 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07538/1.868, allocations: 33 MB / 0.748 GB, free: 66 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7581/2.626, allocations: 107.6 MB / 0.8531 GB, free: 134.2 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04099/2.667, allocations: 55.89 MB / 0.9077 GB, free: 95.07 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01545/2.682, allocations: 9.958 MB / 0.9174 GB, free: 94.91 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05698/2.739, allocations: 27.3 MB / 0.944 GB, free: 87.13 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/2.739, allocations: 133.6 kB / 0.9442 GB, free: 87.02 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=894): time 1.214e-05/2.739, allocations: 3.938 kB / 0.9442 GB, free: 87.02 MB / 0.5452 GB Notification: Performance of matching and sorting (n=906): time 0.07904/2.818, allocations: 39.47 MB / 0.9827 GB, free: 59.19 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/2.819, allocations: 172.5 kB / 0.9829 GB, free: 59 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01439/2.833, allocations: 8.507 MB / 0.9912 GB, free: 50.5 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.002028/2.835, allocations: 173.7 kB / 0.9913 GB, free: 50.32 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.00449/2.84, allocations: 8.832 MB / 1 GB, free: 41.44 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.003249/2.843, allocations: 3.062 MB / 1.003 GB, free: 38.39 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003824/2.847, allocations: 2.275 MB / 1.005 GB, free: 36.11 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/2.847, allocations: 312.9 kB / 1.005 GB, free: 35.8 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008606/2.855, allocations: 6.304 MB / 1.012 GB, free: 29.49 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/2.868, allocations: 10.26 MB / 1.022 GB, free: 17.48 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02152/2.889, allocations: 17.62 MB / 1.039 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/2.89, allocations: 36 kB / 1.039 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04274/2.932, allocations: 20.63 MB / 1.059 GB, free: 9.273 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/2.933, allocations: 64.94 kB / 1.059 GB, free: 9.211 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/2.933, allocations: 124 kB / 1.059 GB, free: 9.09 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.003007/2.936, allocations: 0.8741 MB / 1.06 GB, free: 8.199 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/2.947, allocations: 2.492 MB / 1.063 GB, free: 5.703 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2666/3.214, allocations: 12.47 MB / 1.075 GB, free: 177.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/3.224, allocations: 0.6165 MB / 1.075 GB, free: 177.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003162/3.227, allocations: 0.5364 MB / 1.076 GB, free: 177.2 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.01771/3.245, allocations: 7.987 MB / 1.084 GB, free: 174.4 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002707/3.248, allocations: 0.9145 MB / 1.085 GB, free: 174.4 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03535/3.283, allocations: 17.07 MB / 1.101 GB, free: 167.6 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/3.283, allocations: 94.02 kB / 1.101 GB, free: 167.6 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.916e-05/3.284, allocations: 42.62 kB / 1.101 GB, free: 167.6 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002324/3.284, allocations: 44.91 kB / 1.101 GB, free: 167.6 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06983/3.354, allocations: 35.96 MB / 1.136 GB, free: 153.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.44e-05/3.354, allocations: 4.719 kB / 1.136 GB, free: 153.3 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00707/3.361, allocations: 1.425 MB / 1.138 GB, free: 153.2 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.002917/3.364, allocations: 0.9205 MB / 1.139 GB, free: 152.9 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001858/3.366, allocations: 208.4 kB / 1.139 GB, free: 152.8 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/3.379, allocations: 17.05 MB / 1.156 GB, free: 139 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/3.379, allocations: 11.56 kB / 1.156 GB, free: 139 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03734/3.416, allocations: 24.81 MB / 1.18 GB, free: 115.5 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008423/3.425, allocations: 2.249 MB / 1.182 GB, free: 113.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00446/3.429, allocations: 183.9 kB / 1.182 GB, free: 113.5 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007746/3.437, allocations: 495.5 kB / 1.183 GB, free: 113 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/3.44, allocations: 0.7953 MB / 1.183 GB, free: 112.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001061/3.441, allocations: 259.9 kB / 1.184 GB, free: 112 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.009473/3.45, allocations: 5.778 MB / 1.189 GB, free: 106.2 MB / 0.5764 GB Notification: Performance of sort global known variables: time 4.91e-07/3.45, allocations: 0 / 1.189 GB, free: 106.2 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01447/3.465, allocations: 3.493 MB / 1.193 GB, free: 102.7 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.002689/3.467, allocations: 480 kB / 1.193 GB, free: 102.2 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02552/3.493, allocations: 16.28 MB / 1.209 GB, free: 85.88 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/3.493, allocations: 4 kB / 1.209 GB, free: 85.88 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01302/3.506, allocations: 8.748 MB / 1.218 GB, free: 77.04 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/3.521, allocations: 2.57 MB / 1.22 GB, free: 74.48 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07018/3.591, allocations: 38.42 MB / 1.258 GB, free: 36 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02301/3.614, allocations: 13.2 MB / 1.271 GB, free: 22.75 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.0116/3.626, allocations: 4.026 MB / 1.275 GB, free: 18.71 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/3.629, allocations: 0.6673 MB / 1.275 GB, free: 18.05 MB / 0.5764 GB Notification: Performance of SimCode: time 1.172e-06/3.629, allocations: 0 / 1.275 GB, free: 18.05 MB / 0.5764 GB Notification: Performance of Templates: time 0.4755/4.105, allocations: 146.7 MB / 1.418 GB, free: 71.78 MB / 0.5764 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)