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.0008725/0.0008725, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009436/0.0009436, allocations: 161.9 kB / 24.99 MB, free: 8.246 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.9139/0.9139, allocations: 177 MB / 205.2 MB, free: 5.574 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.236/0.236, allocations: 34.85 MB / 296.6 MB, free: 0.5352 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.252e-06/1.252e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.074e-05, allocations: 6.312 kB / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0174/0.01742, allocations: 24.1 MB / 402.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02748, allocations: 7.144 MB / 410.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.02945, allocations: 210.6 kB / 410.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.032, allocations: 1.688 MB / 412 MB, free: 1.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.03595, allocations: 2.546 MB / 414.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.03803, allocations: 1.469 MB / 416 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.04505, allocations: 9.344 MB / 425.3 MB, free: 3.609 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.04865, allocations: 3.887 MB / 429.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005514/0.05416, allocations: 6.199 MB / 435.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.05825, allocations: 4.537 MB / 440 MB, free: 4.871 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.05925, allocations: 1.094 MB / 441.1 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.06075, allocations: 1.386 MB / 442.4 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1389/0.1996, allocations: 2.844 MB / 445.3 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004446/0.2041, allocations: 3.244 MB / 448.5 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006134/0.2102, allocations: 7.667 MB / 456.2 MB, free: 59.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2102, allocations: 2.969 kB / 456.2 MB, free: 59.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2102, allocations: 0 / 456.2 MB, free: 59.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002511/0.2105, allocations: 3.469 kB / 456.2 MB, free: 59.34 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.01114/0.2216, allocations: 9.449 MB / 465.7 MB, free: 56.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2217, allocations: 9.281 kB / 465.7 MB, free: 56.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.2256, allocations: 2.087 MB / 467.8 MB, free: 55.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.2303, allocations: 4.835 MB / 472.6 MB, free: 53.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2305, allocations: 0.4982 MB / 473.1 MB, free: 53.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006189/0.2311, allocations: 0.6709 MB / 473.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.2382, allocations: 5.744 MB / 479.5 MB, free: 50.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.2383, allocations: 16.11 kB / 479.5 MB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.2388, allocations: 282 kB / 479.8 MB, free: 50.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002881/0.2391, allocations: 294.6 kB / 480.1 MB, free: 50.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/0.2448, allocations: 2.609 MB / 482.7 MB, free: 50 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02519/0.27, allocations: 23.7 MB / 0.4945 GB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.2744, allocations: 4.105 MB / 0.4985 GB, free: 34.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.2765, allocations: 1.693 MB / 0.5002 GB, free: 34.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005539/0.282, allocations: 4.278 MB / 0.5044 GB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.282, allocations: 73.98 kB / 0.5044 GB, free: 32.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 4.398e-06/0.282, allocations: 0 / 0.5044 GB, free: 32.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01277/0.2948, allocations: 8.356 MB / 0.5126 GB, free: 28.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2948, allocations: 89.95 kB / 0.5127 GB, free: 28.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/0.2978, allocations: 3.158 MB / 0.5158 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.2979, allocations: 77.7 kB / 0.5158 GB, free: 25.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.2991, allocations: 3.347 MB / 0.5191 GB, free: 22.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.2997, allocations: 1.173 MB / 0.5202 GB, free: 21.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.3004, allocations: 0.7025 MB / 0.5209 GB, free: 21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3004, allocations: 484.6 kB / 0.5214 GB, free: 20.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3015, allocations: 0.5824 MB / 0.522 GB, free: 20.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3028, allocations: 1.993 MB / 0.5239 GB, free: 17.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.3054, allocations: 2.858 MB / 0.5267 GB, free: 14.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.3054, allocations: 12 kB / 0.5267 GB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.004432/0.3099, allocations: 3.546 MB / 0.5302 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3099, allocations: 22.67 kB / 0.5302 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.3099, allocations: 28 kB / 0.5302 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.3115, allocations: 0.8315 MB / 0.531 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3131, allocations: 0.8213 MB / 0.5318 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009709/0.3228, allocations: 22.29 MB / 0.5536 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.3245, allocations: 191.8 kB / 0.5538 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.3247, allocations: 156 kB / 0.5539 GB, free: 2.258 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.001629/0.3263, allocations: 402.2 kB / 0.5543 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.3269, allocations: 0.5324 MB / 0.5548 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.3314, allocations: 3.112 MB / 0.5579 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3315, allocations: 28 kB / 0.5579 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.3315, allocations: 16 kB / 0.5579 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.3315, allocations: 15.94 kB / 0.5579 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.3421, allocations: 7.935 MB / 0.5657 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3421, allocations: 7.938 kB / 0.5657 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.3432, allocations: 457.3 kB / 0.5661 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/0.3456, allocations: 1.12 MB / 0.5672 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.3458, allocations: 71.97 kB / 0.5673 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/0.3621, allocations: 33.15 MB / 0.5997 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3621, allocations: 11.55 kB / 0.5997 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/0.3683, allocations: 4.087 MB / 0.6037 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.3697, allocations: 0.7915 MB / 0.6044 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.37, allocations: 64 kB / 0.6045 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.3711, allocations: 191.8 kB / 0.6047 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.3716, allocations: 297.3 kB / 0.605 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.3718, allocations: 95.97 kB / 0.6051 GB, free: 11.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002161/0.3739, allocations: 1.728 MB / 0.6067 GB, free: 10.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3739, allocations: 0 / 0.6067 GB, free: 10.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003138/0.3771, allocations: 1.352 MB / 0.6081 GB, free: 8.832 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.0004613/0.3775, allocations: 284.7 kB / 0.6083 GB, free: 8.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.3822, allocations: 4.4 MB / 0.6126 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3822, allocations: 0 / 0.6126 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.123/0.5052, allocations: 4.403 MB / 0.6169 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.004413/0.5096, allocations: 1.155 MB / 0.6181 GB, free: 161.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.5242, allocations: 11.36 MB / 0.6292 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.5258, allocations: 1.82 MB / 0.6309 GB, free: 157 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002002/0.5278, allocations: 0.8193 MB / 0.6317 GB, free: 156.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/0.5284, allocations: 261.4 kB / 0.632 GB, free: 156.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5284, allocations: 0 / 0.632 GB, free: 156.9 MB / 490.7 MB Notification: Performance of Templates: time 0.06913/0.5976, allocations: 67.49 MB / 0.6979 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: 4.866880159825087]