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.001524/0.001524, allocations: 91.5 kB / 20.93 MB, free: 3.617 MB / 18.57 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.001769/0.001769, allocations: 156.5 kB / 24.23 MB, free: 332 kB / 18.57 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.029/1.029, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.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.2692/0.2692, allocations: 34.88 MB / 295.8 MB, free: 484 kB / 266.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.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 2.454e-06/2.454e-06, allocations: 3.984 kB / 378.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.266e-05, allocations: 3.719 kB / 378.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01852/0.01854, allocations: 24.09 MB / 402.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.03031, allocations: 7.14 MB / 409.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.03385, allocations: 214.6 kB / 409.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.03782, allocations: 1.688 MB / 411.2 MB, free: 1.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005653/0.04348, allocations: 2.554 MB / 413.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.046, allocations: 1.457 MB / 415.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009659/0.05566, allocations: 9.351 MB / 424.6 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.06099, allocations: 3.887 MB / 428.5 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008177/0.06917, allocations: 6.207 MB / 434.7 MB, free: 9.426 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005825/0.075, allocations: 4.533 MB / 439.2 MB, free: 4.883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.07744, allocations: 1.094 MB / 440.3 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.08017, allocations: 1.378 MB / 441.7 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1598/0.2399, allocations: 2.85 MB / 444.5 MB, free: 59.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00538/0.2453, allocations: 3.245 MB / 447.8 MB, free: 59.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007062/0.2524, allocations: 7.669 MB / 455.4 MB, free: 59.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2524, allocations: 0 / 455.4 MB, free: 59.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2524, allocations: 0 / 455.4 MB, free: 59.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003908/0.2528, allocations: 3.422 kB / 455.4 MB, free: 59.35 MB / 410.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.01282/0.2656, allocations: 9.447 MB / 464.9 MB, free: 56.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2656, allocations: 10.06 kB / 464.9 MB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/0.2697, allocations: 2.086 MB / 467 MB, free: 55.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.276, allocations: 4.837 MB / 471.8 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.2762, allocations: 0.4966 MB / 472.3 MB, free: 53.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007794/0.277, allocations: 0.6684 MB / 473 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.2858, allocations: 5.748 MB / 478.7 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.2859, allocations: 14.58 kB / 478.8 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/0.2864, allocations: 289.6 kB / 479 MB, free: 50.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.2867, allocations: 294.6 kB / 479.3 MB, free: 50.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006823/0.2935, allocations: 2.607 MB / 481.9 MB, free: 50.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/0.3247, allocations: 23.7 MB / 0.4938 GB, free: 35.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.3298, allocations: 4.1 MB / 0.4978 GB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.332, allocations: 1.702 MB / 0.4994 GB, free: 34.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006845/0.3388, allocations: 4.283 MB / 0.5036 GB, free: 32.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.3389, allocations: 74.8 kB / 0.5037 GB, free: 32.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 4.769e-06/0.3389, allocations: 0 / 0.5037 GB, free: 32.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01393/0.3528, allocations: 8.348 MB / 0.5119 GB, free: 28.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3529, allocations: 89.95 kB / 0.5119 GB, free: 28.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.3563, allocations: 3.154 MB / 0.515 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.3565, allocations: 81.7 kB / 0.5151 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.358, allocations: 3.352 MB / 0.5184 GB, free: 22.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007183/0.3587, allocations: 1.169 MB / 0.5195 GB, free: 21.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000759/0.3595, allocations: 0.7087 MB / 0.5202 GB, free: 21.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3595, allocations: 479.6 kB / 0.5207 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3606, allocations: 0.5904 MB / 0.5212 GB, free: 20.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3621, allocations: 1.986 MB / 0.5232 GB, free: 17.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.3648, allocations: 2.858 MB / 0.526 GB, free: 14.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.3649, allocations: 12 kB / 0.526 GB, free: 14.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.005679/0.3705, allocations: 3.553 MB / 0.5294 GB, free: 11.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.3706, allocations: 16 kB / 0.5295 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.3706, allocations: 28 kB / 0.5295 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.3725, allocations: 0.8374 MB / 0.5303 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.3742, allocations: 0.8108 MB / 0.5311 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.3851, allocations: 22.29 MB / 0.5529 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.3879, allocations: 191.8 kB / 0.553 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/0.3882, allocations: 156 kB / 0.5532 GB, free: 2.262 MB / 426.7 MB 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.001786/0.3899, allocations: 404 kB / 0.5536 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/0.3907, allocations: 0.5363 MB / 0.5541 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.3952, allocations: 3.104 MB / 0.5571 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.3952, allocations: 32 kB / 0.5572 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.3953, allocations: 12 kB / 0.5572 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.3953, allocations: 19.94 kB / 0.5572 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.4071, allocations: 7.938 MB / 0.565 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.4071, allocations: 7.938 kB / 0.565 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.4082, allocations: 453.8 kB / 0.5654 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.4109, allocations: 1.115 MB / 0.5665 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/0.4111, allocations: 79.62 kB / 0.5666 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.4297, allocations: 33.15 MB / 0.5989 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4297, allocations: 7.984 kB / 0.5989 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007169/0.4368, allocations: 4.086 MB / 0.6029 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.4385, allocations: 0.7954 MB / 0.6037 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004491/0.439, allocations: 63.98 kB / 0.6038 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.4401, allocations: 187.8 kB / 0.6039 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.4406, allocations: 297.5 kB / 0.6042 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.4408, allocations: 95.97 kB / 0.6043 GB, free: 11.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002143/0.4429, allocations: 1.724 MB / 0.606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 0.606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003273/0.4462, allocations: 1.352 MB / 0.6073 GB, free: 8.836 MB / 490.7 MB 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.0005007/0.4467, allocations: 290.5 kB / 0.6076 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004937/0.4516, allocations: 4.399 MB / 0.6119 GB, free: 4.059 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4516, allocations: 4.188 kB / 0.6119 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1369/0.5885, allocations: 4.399 MB / 0.6162 GB, free: 161.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.5928, allocations: 1.158 MB / 0.6173 GB, free: 161.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.6085, allocations: 11.36 MB / 0.6284 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.6103, allocations: 1.818 MB / 0.6302 GB, free: 157 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002724/0.613, allocations: 0.8261 MB / 0.631 GB, free: 156.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.6137, allocations: 260.6 kB / 0.6313 GB, free: 156.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/0.6137, allocations: 0 / 0.6313 GB, free: 156.9 MB / 490.7 MB Notification: Performance of Templates: time 0.08374/0.6974, allocations: 67.49 MB / 0.6972 GB, free: 114.8 MB / 490.7 MB " [Timeout remaining time 659] 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: 5.170952388085425]