Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.001791/0.001791, allocations: 110.2 kB / 20.43 MB, free: 4.586 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.001847/0.001847, allocations: 217.3 kB / 23.73 MB, free: 2.133 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.643/1.643, allocations: 230.6 MB / 257.4 MB, free: 9.477 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.2694/0.2694, allocations: 47.7 MB / 361.6 MB, free: 2.367 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005455/0.005455, allocations: 95.84 kB / 0.4978 GB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1517, allocations: 66.22 MB / 0.5624 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2909/0.4426, allocations: 21.05 MB / 0.583 GB, free: 3.086 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.4595, allocations: 6.953 MB / 0.5898 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005971/0.4654, allocations: 211.7 kB / 0.59 GB, free: 14.04 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006115/0.4716, allocations: 1.672 MB / 0.5916 GB, free: 13.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.4863, allocations: 2.466 MB / 0.594 GB, free: 11.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.4922, allocations: 1.445 MB / 0.5954 GB, free: 10.67 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.5083, allocations: 8.988 MB / 0.6042 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008194/0.5165, allocations: 3.851 MB / 0.608 GB, free: 4.145 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.527, allocations: 4.221 MB / 0.6121 GB, free: 1.719 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.5395, allocations: 4.721 MB / 0.6167 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003957/0.5435, allocations: 1.094 MB / 0.6178 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/0.5505, allocations: 1.377 MB / 0.6191 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005682/0.5562, allocations: 2.731 MB / 0.6218 GB, free: 11.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.5671, allocations: 3.743 MB / 0.6254 GB, free: 7.789 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02427/0.5914, allocations: 14.6 MB / 0.6397 GB, free: 9.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5914, allocations: 3.984 kB / 0.6397 GB, free: 9.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5914, allocations: 0 / 0.6397 GB, free: 9.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005467/0.592, allocations: 0 / 0.6397 GB, free: 9.137 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02987/0.6218, allocations: 9.073 MB / 0.6486 GB, free: 15.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6219, allocations: 12.03 kB / 0.6486 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/0.6298, allocations: 1.362 MB / 0.6499 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.6427, allocations: 5.043 MB / 0.6548 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/0.6433, allocations: 0.5013 MB / 0.6553 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.6458, allocations: 0.6717 MB / 0.656 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/0.678, allocations: 9.967 MB / 0.6657 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/0.6783, allocations: 23.88 kB / 0.6657 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.6796, allocations: 272 kB / 0.666 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004879/0.6801, allocations: 297.4 kB / 0.6663 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/0.707, allocations: 8.188 MB / 0.6743 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06775/0.7747, allocations: 25.46 MB / 0.6991 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.786, allocations: 5.686 MB / 0.7047 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/0.7929, allocations: 3.132 MB / 0.7077 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01596/0.8089, allocations: 5.847 MB / 0.7135 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.658e-05/0.809, allocations: 64.97 kB / 0.7135 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=305): time 5.63e-06/0.809, allocations: 0 / 0.7135 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=324): time 0.03751/0.8465, allocations: 14.48 MB / 0.7277 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.8466, allocations: 85.95 kB / 0.7277 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007951/0.8545, allocations: 3.725 MB / 0.7314 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005192/0.855, allocations: 85.64 kB / 0.7315 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003214/0.8582, allocations: 3.2 MB / 0.7346 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/0.8601, allocations: 1.15 MB / 0.7357 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.8617, allocations: 0.6809 MB / 0.7364 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8619, allocations: 305.1 kB / 0.7367 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/0.8655, allocations: 1.92 MB / 0.7385 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.8701, allocations: 2.91 MB / 0.7414 GB, free: 15.72 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008613/0.8787, allocations: 4.977 MB / 0.7462 GB, free: 10.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.973e-05/0.8787, allocations: 12 kB / 0.7462 GB, free: 10.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=486) (initialization): time 0.01232/0.8911, allocations: 6.331 MB / 0.7524 GB, free: 3.898 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.8911, allocations: 20.94 kB / 0.7525 GB, free: 3.879 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/0.8911, allocations: 28 kB / 0.7525 GB, free: 3.852 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.8945, allocations: 1.292 MB / 0.7537 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.8978, allocations: 0.819 MB / 0.7545 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/0.9231, allocations: 21.21 MB / 0.7753 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/0.9269, allocations: 204 kB / 0.7754 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/0.9275, allocations: 152 kB / 0.7756 GB, free: 11.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005385/0.9329, allocations: 2.199 MB / 0.7777 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.9342, allocations: 433.2 kB / 0.7782 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.947, allocations: 5.756 MB / 0.7838 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.947, allocations: 36 kB / 0.7838 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/0.947, allocations: 16 kB / 0.7838 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/0.9471, allocations: 15.94 kB / 0.7838 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/0.9713, allocations: 10.67 MB / 0.7943 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.9713, allocations: 4.375 kB / 0.7943 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.9736, allocations: 463.4 kB / 0.7947 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004651/0.9782, allocations: 1.65 MB / 0.7963 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/0.9785, allocations: 71.97 kB / 0.7964 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4788/1.457, allocations: 30.88 MB / 0.8265 GB, free: 167.4 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.457, allocations: 3.656 kB / 0.8265 GB, free: 167.4 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.472, allocations: 8.416 MB / 0.8348 GB, free: 164 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.474, allocations: 0.8481 MB / 0.8356 GB, free: 163.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000568/1.475, allocations: 67.62 kB / 0.8357 GB, free: 163.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/1.477, allocations: 185.2 kB / 0.8358 GB, free: 163.7 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/1.478, allocations: 287.9 kB / 0.8361 GB, free: 163.7 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.478, allocations: 91.94 kB / 0.8362 GB, free: 163.6 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.003686/1.482, allocations: 2.486 MB / 0.8386 GB, free: 162.7 MB / 0.6199 GB Notification: Performance of sort global known variables: time 9e-08/1.482, allocations: 0 / 0.8386 GB, free: 162.7 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.004224/1.486, allocations: 1.361 MB / 0.84 GB, free: 162.6 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/1.486, allocations: 279.8 kB / 0.8402 GB, free: 162.5 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.008613/1.495, allocations: 5.996 MB / 0.8461 GB, free: 159.5 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.495, allocations: 2 kB / 0.8461 GB, free: 159.5 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.006229/1.501, allocations: 4.598 MB / 0.8506 GB, free: 156.7 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.506, allocations: 1.134 MB / 0.8517 GB, free: 156.3 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.527, allocations: 13.49 MB / 0.8649 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/1.531, allocations: 4.028 MB / 0.8688 GB, free: 148.7 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.002957/1.534, allocations: 0.9963 MB / 0.8698 GB, free: 148 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/1.534, allocations: 261.8 kB / 0.87 GB, free: 147.8 MB / 0.6199 GB Notification: Performance of SimCode: time 1.302e-06/1.534, allocations: 0 / 0.87 GB, free: 147.8 MB / 0.6199 GB Notification: Performance of Templates: time 0.1003/1.635, allocations: 75.58 MB / 0.9438 GB, free: 74.39 MB / 0.6199 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.41387912677601]