Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.008161/0.008161, allocations: 113.6 kB / 20.44 MB, free: 4.582 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.002533/0.002533, allocations: 217.3 kB / 23.73 MB, free: 2.137 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 1.749/1.749, allocations: 230.6 MB / 257.4 MB, free: 9.469 MB / 202.7 MB " [Timeout remaining time 178] 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.2629/0.2629, allocations: 47.7 MB / 361.6 MB, free: 2.355 MB / 282.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00511/0.00511, allocations: 95.84 kB / 0.4978 GB, free: 6.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1516, allocations: 66.21 MB / 0.5624 GB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2828/0.4344, allocations: 15.29 MB / 0.5774 GB, free: 6.961 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.4456, allocations: 5.677 MB / 0.5829 GB, free: 2.965 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.4489, allocations: 143.4 kB / 0.583 GB, free: 2.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.4527, allocations: 1.353 MB / 0.5844 GB, free: 2.215 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.4594, allocations: 1.819 MB / 0.5861 GB, free: 1.059 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.4625, allocations: 1.084 MB / 0.5872 GB, free: 396 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.4739, allocations: 6.387 MB / 0.5934 GB, free: 13.1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/0.479, allocations: 2.751 MB / 0.5961 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007305/0.4863, allocations: 3.05 MB / 0.5991 GB, free: 10.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008409/0.4947, allocations: 3.411 MB / 0.6024 GB, free: 8.719 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002516/0.4972, allocations: 0.7874 MB / 0.6032 GB, free: 8.719 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.5014, allocations: 1.063 MB / 0.6042 GB, free: 8.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.5038, allocations: 1.88 MB / 0.6061 GB, free: 7.473 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00687/0.5107, allocations: 2.686 MB / 0.6087 GB, free: 5.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.5273, allocations: 10.67 MB / 0.6191 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5274, allocations: 0 / 0.6191 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5274, allocations: 0 / 0.6191 GB, free: 13.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004084/0.5278, allocations: 4 kB / 0.6191 GB, free: 13.82 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.02431/0.5521, allocations: 6.64 MB / 0.6256 GB, free: 7.629 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5521, allocations: 12.03 kB / 0.6256 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.5583, allocations: 1.098 MB / 0.6267 GB, free: 6.516 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009878/0.5682, allocations: 3.639 MB / 0.6302 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.5686, allocations: 362.3 kB / 0.6306 GB, free: 2.453 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/0.5707, allocations: 491.9 kB / 0.6311 GB, free: 1.973 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.588, allocations: 7.221 MB / 0.6381 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.5882, allocations: 3.953 kB / 0.6381 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005975/0.5888, allocations: 200 kB / 0.6383 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003107/0.5891, allocations: 257.8 kB / 0.6386 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.6031, allocations: 5.945 MB / 0.6444 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04099/0.6441, allocations: 17.95 MB / 0.6619 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/0.6533, allocations: 4.463 MB / 0.6662 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/0.6585, allocations: 2.298 MB / 0.6685 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.6728, allocations: 5.608 MB / 0.674 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.6729, allocations: 56.56 kB / 0.674 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=219): time 4.839e-06/0.6729, allocations: 0 / 0.674 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=226): time 0.02278/0.6957, allocations: 8.952 MB / 0.6828 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.6958, allocations: 73.41 kB / 0.6828 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005308/0.7011, allocations: 2.645 MB / 0.6854 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.7014, allocations: 65.64 kB / 0.6855 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/0.7041, allocations: 2.278 MB / 0.6877 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.7054, allocations: 0.7901 MB / 0.6885 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.7066, allocations: 469.2 kB / 0.6889 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.7068, allocations: 305.1 kB / 0.6892 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/0.7103, allocations: 1.293 MB / 0.6905 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/0.715, allocations: 1.949 MB / 0.6924 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/0.7231, allocations: 3.352 MB / 0.6956 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.7232, allocations: 8 kB / 0.6957 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01215/0.7353, allocations: 4.14 MB / 0.6997 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.7354, allocations: 16.03 kB / 0.6997 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.522e-05/0.7354, allocations: 20 kB / 0.6997 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/0.7392, allocations: 0.7658 MB / 0.7005 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.7429, allocations: 0.5616 MB / 0.701 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03143/0.7744, allocations: 10.23 MB / 0.711 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/0.7804, allocations: 112 kB / 0.7111 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/0.781, allocations: 104 kB / 0.7112 GB, free: 14.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004682/0.7857, allocations: 1.621 MB / 0.7128 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009153/0.7866, allocations: 302.1 kB / 0.7131 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008007/0.7946, allocations: 3.702 MB / 0.7167 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.7946, allocations: 24 kB / 0.7167 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.7946, allocations: 8 kB / 0.7167 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.7947, allocations: 19.88 kB / 0.7168 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.811, allocations: 7.3 MB / 0.7239 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.811, allocations: 0 / 0.7239 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8127, allocations: 351.8 kB / 0.7242 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/0.8162, allocations: 0.9417 MB / 0.7251 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/0.8165, allocations: 51.98 kB / 0.7252 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.8368, allocations: 14.81 MB / 0.7397 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8368, allocations: 4.094 kB / 0.7397 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.8482, allocations: 5.505 MB / 0.745 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.8503, allocations: 0.5956 MB / 0.7456 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006531/0.8509, allocations: 51.98 kB / 0.7457 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.8523, allocations: 107.9 kB / 0.7458 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.8529, allocations: 197.7 kB / 0.746 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.853, allocations: 67.97 kB / 0.746 GB, free: 10.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003484/0.8565, allocations: 1.797 MB / 0.7478 GB, free: 8.215 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.8565, allocations: 0 / 0.7478 GB, free: 8.215 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003968/0.8605, allocations: 0.9413 MB / 0.7487 GB, free: 7.273 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(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.000851/0.8613, allocations: 267.3 kB / 0.749 GB, free: 7.016 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007129/0.8685, allocations: 3.718 MB / 0.7526 GB, free: 3.246 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8685, allocations: 0 / 0.7526 GB, free: 3.246 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/0.8733, allocations: 2.545 MB / 0.7551 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.8773, allocations: 0.7305 MB / 0.7558 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.8978, allocations: 9.57 MB / 0.7651 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/0.9025, allocations: 2.926 MB / 0.768 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002633/0.9051, allocations: 0.7186 MB / 0.7687 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/0.9058, allocations: 183.4 kB / 0.7689 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of SimCode: time 1.113e-06/0.9058, allocations: 0 / 0.7689 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of Templates: time 0.3742/1.28, allocations: 49.51 MB / 0.8172 GB, free: 190.1 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.570610716938972]