Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 115.3 kB / 21.19 MB, free: 4.797 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 217.3 kB / 24.48 MB, free: 1.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9776/0.9776, allocations: 230.6 MB / 258.2 MB, free: 9.477 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1569/0.1569, allocations: 47.7 MB / 362.4 MB, free: 2.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 99.84 kB / 0.4978 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1157, allocations: 66.22 MB / 0.5625 GB, free: 5.332 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.272/0.3877, allocations: 42.94 MB / 0.6044 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.419, allocations: 12.81 MB / 0.6169 GB, free: 11.47 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.4318, allocations: 463.4 kB / 0.6173 GB, free: 11.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.4523, allocations: 13.04 MB / 0.6301 GB, free: 1.836 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01927/0.4715, allocations: 5.567 MB / 0.6355 GB, free: 13.34 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009846/0.4814, allocations: 3.354 MB / 0.6388 GB, free: 10.67 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.02851/0.5099, allocations: 24.54 MB / 0.6627 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05777/0.5677, allocations: 29.99 MB / 0.692 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02493/0.5926, allocations: 12.95 MB / 0.7047 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02437/0.617, allocations: 13.65 MB / 0.718 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.01267/0.6296, allocations: 3.621 MB / 0.7215 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.6431, allocations: 4.105 MB / 0.7255 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.01151/0.6546, allocations: 7.33 MB / 0.7327 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.02439/0.679, allocations: 10.76 MB / 0.7432 GB, free: 15.33 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.05262/0.7316, allocations: 49.08 MB / 0.7911 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.7317, allocations: 0 / 0.7911 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7317, allocations: 0 / 0.7911 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00149/0.7331, allocations: 4 kB / 0.7912 GB, free: 14.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5824 * Number of variables: 5824 Notification: Performance of Generate backend data structure: time 0.5968/1.33, allocations: 28.09 MB / 0.8186 GB, free: 161.2 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.33, allocations: 9.531 kB / 0.8186 GB, free: 161.2 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05286/1.383, allocations: 13.82 MB / 0.8321 GB, free: 158.1 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03332/1.416, allocations: 15.26 MB / 0.847 GB, free: 149 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/1.418, allocations: 1.575 MB / 0.8485 GB, free: 148.3 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009537/1.427, allocations: 2.077 MB / 0.8506 GB, free: 146.3 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08374/1.511, allocations: 35.42 MB / 0.8851 GB, free: 110.6 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001374/1.512, allocations: 31.83 kB / 0.8852 GB, free: 110.6 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007846/1.52, allocations: 0.8617 MB / 0.886 GB, free: 109.8 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007284/1.521, allocations: 1.165 MB / 0.8872 GB, free: 108.6 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05684/1.578, allocations: 32.3 MB / 0.9187 GB, free: 76.27 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/1.736, allocations: 93.47 MB / 1.01 GB, free: 14.46 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03621/1.772, allocations: 22.68 MB / 1.032 GB, free: 10.98 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01621/1.788, allocations: 8.968 MB / 1.041 GB, free: 1.953 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05007/1.838, allocations: 20.4 MB / 1.061 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/1.838, allocations: 133.9 kB / 1.061 GB, free: 13.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=894): time 1.397e-05/1.838, allocations: 3.984 kB / 1.061 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=906): time 0.6284/2.467, allocations: 39.03 MB / 1.099 GB, free: 213.5 MB / 0.6981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/2.467, allocations: 170.9 kB / 1.099 GB, free: 213.4 MB / 0.6981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/2.484, allocations: 7.776 MB / 1.107 GB, free: 210.6 MB / 0.6981 GB Notification: Performance of collectPreVariables (initialization): time 0.001859/2.485, allocations: 173.1 kB / 1.107 GB, free: 210.5 MB / 0.6981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004746/2.49, allocations: 9.029 MB / 1.116 GB, free: 204.8 MB / 0.6981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00361/2.494, allocations: 3.21 MB / 1.119 GB, free: 202.3 MB / 0.6981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003922/2.498, allocations: 2.242 MB / 1.121 GB, free: 201.2 MB / 0.6981 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/2.498, allocations: 301.1 kB / 1.121 GB, free: 200.9 MB / 0.6981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007281/2.505, allocations: 6.253 MB / 1.127 GB, free: 198.6 MB / 0.6981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.516, allocations: 10.03 MB / 1.137 GB, free: 191.5 MB / 0.6981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02089/2.537, allocations: 17.27 MB / 1.154 GB, free: 180.9 MB / 0.6981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002108/2.537, allocations: 33.31 kB / 1.154 GB, free: 180.9 MB / 0.6981 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.03245/2.569, allocations: 20.14 MB / 1.174 GB, free: 164.6 MB / 0.6981 GB Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/2.569, allocations: 57.28 kB / 1.174 GB, free: 164.5 MB / 0.6981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/2.57, allocations: 120.8 kB / 1.174 GB, free: 164.4 MB / 0.6981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007725/2.577, allocations: 4.221 MB / 1.178 GB, free: 160.2 MB / 0.6981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/2.584, allocations: 2.426 MB / 1.181 GB, free: 157.8 MB / 0.6981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03251/2.616, allocations: 39.36 MB / 1.219 GB, free: 117.8 MB / 0.6981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008716/2.625, allocations: 0.594 MB / 1.22 GB, free: 117.2 MB / 0.6981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.628, allocations: 0.5234 MB / 1.22 GB, free: 116.7 MB / 0.6981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * 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 (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 6 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (28,176,26.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01343/2.641, allocations: 7.924 MB / 1.228 GB, free: 108.8 MB / 0.6981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002711/2.644, allocations: 0.8888 MB / 1.229 GB, free: 107.9 MB / 0.6981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/2.662, allocations: 16.69 MB / 1.245 GB, free: 91.09 MB / 0.6981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/2.663, allocations: 92 kB / 1.245 GB, free: 91 MB / 0.6981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.634e-05/2.663, allocations: 43.75 kB / 1.245 GB, free: 90.96 MB / 0.6981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/2.663, allocations: 47.81 kB / 1.245 GB, free: 90.92 MB / 0.6981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05332/2.716, allocations: 31.27 MB / 1.276 GB, free: 59.66 MB / 0.6981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/2.716, allocations: 4 kB / 1.276 GB, free: 59.66 MB / 0.6981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004211/2.72, allocations: 1.44 MB / 1.277 GB, free: 58.21 MB / 0.6981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007619/2.728, allocations: 4.249 MB / 1.281 GB, free: 53.94 MB / 0.6981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001608/2.729, allocations: 211.9 kB / 1.281 GB, free: 53.73 MB / 0.6981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03212/2.762, allocations: 41.21 MB / 1.322 GB, free: 11.78 MB / 0.6981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/2.762, allocations: 7.938 kB / 1.322 GB, free: 11.77 MB / 0.6981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0312/2.793, allocations: 24.53 MB / 1.346 GB, free: 3.086 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007569/2.8, allocations: 2.199 MB / 1.348 GB, free: 0.8789 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00301/2.803, allocations: 176.1 kB / 1.348 GB, free: 0.707 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005294/2.809, allocations: 487.4 kB / 1.348 GB, free: 236 kB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3157/3.124, allocations: 0.7538 MB / 1.349 GB, free: 213.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001541/3.126, allocations: 267.5 kB / 1.349 GB, free: 213.9 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.009808/3.136, allocations: 5.121 MB / 1.354 GB, free: 213.7 MB / 0.7138 GB Notification: Performance of sort global known variables: time 1.8e-07/3.136, allocations: 0 / 1.354 GB, free: 213.7 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01838/3.154, allocations: 3.794 MB / 1.358 GB, free: 213.7 MB / 0.7138 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): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (28,176,26.3%), (1,8,100.0%), (3,25,88.9%), (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.00293/3.157, allocations: 478.8 kB / 1.359 GB, free: 213.6 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.03181/3.189, allocations: 16.5 MB / 1.375 GB, free: 210.8 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/3.189, allocations: 2.562 kB / 1.375 GB, free: 210.8 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/3.204, allocations: 9.298 MB / 1.384 GB, free: 206.7 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/3.215, allocations: 2.168 MB / 1.386 GB, free: 205.9 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06219/3.277, allocations: 38.31 MB / 1.423 GB, free: 185.2 MB / 0.7138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01932/3.297, allocations: 12.6 MB / 1.436 GB, free: 175.6 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003244/3.3, allocations: 0.774 MB / 1.436 GB, free: 174.9 MB / 0.7138 GB Notification: Performance of SimCode: time 1.633e-06/3.3, allocations: 0 / 1.436 GB, free: 174.9 MB / 0.7138 GB Notification: Performance of Templates: time 2.032/5.331, allocations: 1.137 GB / 2.574 GB, free: 193.4 MB / 0.7606 GB " [Timeout remaining time 655] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 24.436440170975402]