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.0008367/0.0008367, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.0008916/0.0008916, allocations: 162.7 kB / 24.82 MB, free: 9.262 MB / 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 0.9411/0.9411, allocations: 177 MB / 205.1 MB, free: 5.449 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.255/0.255, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 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 1.212e-06/1.212e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.399e-05, allocations: 4.844 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01593/0.01594, allocations: 23.26 MB / 402.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009312/0.02525, allocations: 7.12 MB / 409.7 MB, free: 3.227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.02722, allocations: 214.6 kB / 409.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.02968, allocations: 1.688 MB / 411.6 MB, free: 1.316 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.03334, allocations: 2.558 MB / 414.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.03513, allocations: 1.45 MB / 415.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005958/0.04109, allocations: 9.337 MB / 424.9 MB, free: 3.914 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003377/0.04447, allocations: 3.891 MB / 428.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/0.04974, allocations: 6.445 MB / 435.3 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003627/0.05336, allocations: 4.474 MB / 439.7 MB, free: 4.988 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000992/0.05436, allocations: 1.078 MB / 440.8 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.05583, allocations: 1.355 MB / 442.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1348/0.1906, allocations: 2.785 MB / 445 MB, free: 60.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004598/0.1952, allocations: 3.211 MB / 448.2 MB, free: 60.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.2011, allocations: 7.597 MB / 455.8 MB, free: 59.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2011, allocations: 0 / 455.8 MB, free: 59.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2011, allocations: 0 / 455.8 MB, free: 59.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001823/0.2013, allocations: 2.734 kB / 455.8 MB, free: 59.69 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.008866/0.2101, allocations: 9.1 MB / 464.9 MB, free: 56.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2102, allocations: 9.438 kB / 464.9 MB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.2136, allocations: 1.997 MB / 466.9 MB, free: 55.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.2179, allocations: 4.599 MB / 471.5 MB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.2181, allocations: 0.4958 MB / 472 MB, free: 54.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/0.2186, allocations: 0.6716 MB / 472.6 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005028/0.2237, allocations: 5.285 MB / 477.9 MB, free: 52.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.356e-05/0.2238, allocations: 14.83 kB / 477.9 MB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.2241, allocations: 285.7 kB / 478.2 MB, free: 51.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.2243, allocations: 298.7 kB / 478.5 MB, free: 51.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.2275, allocations: 2.038 MB / 480.6 MB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02128/0.2488, allocations: 23.31 MB / 0.4921 GB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.2525, allocations: 3.865 MB / 0.4958 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.254, allocations: 1.49 MB / 0.4973 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004827/0.2588, allocations: 4.046 MB / 0.5012 GB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2589, allocations: 75.05 kB / 0.5013 GB, free: 34.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 3.827e-06/0.2589, allocations: 0 / 0.5013 GB, free: 34.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.009553/0.2684, allocations: 6.772 MB / 0.5079 GB, free: 32.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2684, allocations: 86.14 kB / 0.508 GB, free: 32.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.2707, allocations: 3.072 MB / 0.511 GB, free: 31.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.2708, allocations: 83.08 kB / 0.5111 GB, free: 31.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.2719, allocations: 3.375 MB / 0.5144 GB, free: 29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.2724, allocations: 1.183 MB / 0.5155 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/0.273, allocations: 0.7248 MB / 0.5162 GB, free: 27.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.28e-05/0.2731, allocations: 480.7 kB / 0.5167 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.2736, allocations: 452.6 kB / 0.5171 GB, free: 26.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.2745, allocations: 1.871 MB / 0.519 GB, free: 24.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.2762, allocations: 2.611 MB / 0.5215 GB, free: 21.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.2762, allocations: 8 kB / 0.5215 GB, free: 21.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.003137/0.2794, allocations: 3.221 MB / 0.5247 GB, free: 18.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2794, allocations: 20.94 kB / 0.5247 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.2794, allocations: 28 kB / 0.5247 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.2807, allocations: 0.7999 MB / 0.5255 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.2821, allocations: 0.7645 MB / 0.5262 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.289, allocations: 21.83 MB / 0.5476 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.2905, allocations: 136 kB / 0.5477 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.2906, allocations: 125.5 kB / 0.5478 GB, free: 10.93 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.001334/0.292, allocations: 390.1 kB / 0.5482 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005381/0.2925, allocations: 0.5341 MB / 0.5487 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.296, allocations: 2.828 MB / 0.5515 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.296, allocations: 36 kB / 0.5515 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/0.296, allocations: 15.94 kB / 0.5515 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.296, allocations: 19.94 kB / 0.5515 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/0.3041, allocations: 6.363 MB / 0.5577 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3041, allocations: 7.984 kB / 0.5578 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.305, allocations: 415.4 kB / 0.5581 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.3069, allocations: 1.053 MB / 0.5592 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.307, allocations: 75.97 kB / 0.5592 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.3215, allocations: 32.36 MB / 0.5909 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3215, allocations: 8 kB / 0.5909 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.3263, allocations: 3.684 MB / 0.5945 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.3273, allocations: 0.7173 MB / 0.5952 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.3276, allocations: 60 kB / 0.5952 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.3285, allocations: 131.9 kB / 0.5953 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.3289, allocations: 272.5 kB / 0.5956 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.329, allocations: 71.97 kB / 0.5957 GB, free: 9.016 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001667/0.3307, allocations: 1.566 MB / 0.5972 GB, free: 7.625 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3307, allocations: 0 / 0.5972 GB, free: 7.625 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003087/0.3338, allocations: 1.344 MB / 0.5985 GB, free: 6.281 MB / 474.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%), (1,2,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/0.3342, allocations: 288.7 kB / 0.5988 GB, free: 6.016 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.3376, allocations: 4.11 MB / 0.6028 GB, free: 1.844 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3376, allocations: 4.25 kB / 0.6028 GB, free: 1.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1233/0.4609, allocations: 4.189 MB / 0.6069 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/0.4644, allocations: 1.147 MB / 0.608 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.4763, allocations: 11.25 MB / 0.619 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4776, allocations: 1.822 MB / 0.6208 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00121/0.4788, allocations: 0.5227 MB / 0.6213 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/0.4804, allocations: 1.144 MB / 0.6224 GB, free: 109.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4804, allocations: 3.375 kB / 0.6224 GB, free: 109.1 MB / 474.7 MB Notification: Performance of Templates: time 0.07462/0.555, allocations: 71.46 MB / 0.6922 GB, free: 70.16 MB / 474.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: 4.670023795217276]