Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.0008472/0.0008472, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002063, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009398/0.0009398, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002116, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9585/0.9585, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08877/1.047, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2851/0.2851, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02474/0.3098, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.185e-05, allocations: 4 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02292/0.02293, allocations: 31.93 MB / 325.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.04733, allocations: 9.728 MB / 335.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02501/0.07234, allocations: 294.4 kB / 335.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03442/0.1068, allocations: 8.44 MB / 344.3 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.1184, allocations: 3.825 MB / 348.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.1228, allocations: 2.162 MB / 350.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.1369, allocations: 13.82 MB / 364.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01946/0.1564, allocations: 14.73 MB / 378.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.1686, allocations: 10.44 MB / 389.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007075/0.1757, allocations: 7.131 MB / 396.5 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.1776, allocations: 1.879 MB / 398.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.1804, allocations: 2.276 MB / 400.6 MB, free: 9.902 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.1825, allocations: 3.122 MB / 403.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003826/0.1863, allocations: 4.056 MB / 407.8 MB, free: 2.711 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.1966, allocations: 11.21 MB / 419 MB, free: 7.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.1966, allocations: 4 kB / 419 MB, free: 7.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1966, allocations: 0 / 419 MB, free: 7.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.1968, allocations: 0 / 419 MB, free: 7.461 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.01779/0.2146, allocations: 16.13 MB / 435.1 MB, free: 7.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2147, allocations: 8.922 kB / 435.1 MB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.2322, allocations: 7.106 MB / 442.2 MB, free: 84 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1762/0.4084, allocations: 4.355 MB / 446.6 MB, free: 75.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/0.4089, allocations: 0.7939 MB / 447.4 MB, free: 74.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.411, allocations: 1.056 MB / 448.5 MB, free: 74.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.4227, allocations: 8.71 MB / 457.2 MB, free: 74.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.4228, allocations: 17.34 kB / 457.2 MB, free: 74.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007079/0.4235, allocations: 435.9 kB / 457.6 MB, free: 74.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003856/0.4239, allocations: 0.6308 MB / 458.2 MB, free: 74.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.4304, allocations: 4.303 MB / 462.5 MB, free: 73.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/0.4627, allocations: 33.19 MB / 495.7 MB, free: 56.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006623/0.4693, allocations: 6.418 MB / 0.4904 GB, free: 49.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4708, allocations: 1.529 MB / 0.4919 GB, free: 48.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006788/0.4775, allocations: 5.06 MB / 0.4968 GB, free: 43.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.4776, allocations: 81.8 kB / 0.4969 GB, free: 43.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=398): time 4.499e-06/0.4776, allocations: 0 / 0.4969 GB, free: 43.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=423): time 0.01506/0.4926, allocations: 9.472 MB / 0.5061 GB, free: 34.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4927, allocations: 120.7 kB / 0.5063 GB, free: 33.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.4947, allocations: 2.942 MB / 0.5091 GB, free: 31.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.4948, allocations: 97.7 kB / 0.5092 GB, free: 31.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4958, allocations: 4.298 MB / 0.5134 GB, free: 27.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.4964, allocations: 1.505 MB / 0.5149 GB, free: 25.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009384/0.4973, allocations: 1.062 MB / 0.5159 GB, free: 24.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.345e-05/0.4973, allocations: 305.1 kB / 0.5162 GB, free: 24.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008984/0.4982, allocations: 0.7917 MB / 0.517 GB, free: 23.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.4995, allocations: 2.717 MB / 0.5196 GB, free: 20.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.5022, allocations: 4.106 MB / 0.5237 GB, free: 15.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.5022, allocations: 23.94 kB / 0.5237 GB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.004541/0.5067, allocations: 4.256 MB / 0.5278 GB, free: 11.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.5068, allocations: 32 kB / 0.5279 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.5068, allocations: 68 kB / 0.5279 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.5091, allocations: 1.405 MB / 0.5293 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.5117, allocations: 1.426 MB / 0.5307 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007416/0.5191, allocations: 9.87 MB / 0.5403 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.5214, allocations: 212 kB / 0.5405 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.5217, allocations: 224 kB / 0.5407 GB, free: 14.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.5237, allocations: 0.4884 MB / 0.5412 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/0.5244, allocations: 427.5 kB / 0.5416 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.5291, allocations: 3.264 MB / 0.5448 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.5291, allocations: 40 kB / 0.5449 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.5291, allocations: 20 kB / 0.5449 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.5292, allocations: 19.92 kB / 0.5449 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5405, allocations: 8.698 MB / 0.5534 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5405, allocations: 8 kB / 0.5534 GB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.5424, allocations: 0.7705 MB / 0.5541 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.5438, allocations: 0.5783 MB / 0.5547 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.5464, allocations: 1.29 MB / 0.556 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.5466, allocations: 95.95 kB / 0.5561 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.5567, allocations: 13.75 MB / 0.5695 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.5567, allocations: 10.2 kB / 0.5695 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.5626, allocations: 4.176 MB / 0.5736 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/0.5632, allocations: 91.98 kB / 0.5737 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.5644, allocations: 128 kB / 0.5738 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/0.5648, allocations: 338.5 kB / 0.5741 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.565, allocations: 99.95 kB / 0.5742 GB, free: 13.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001522/0.5665, allocations: 1.418 MB / 0.5756 GB, free: 11.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5665, allocations: 0 / 0.5756 GB, free: 11.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004413/0.571, allocations: 1.859 MB / 0.5774 GB, free: 10.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004534/0.5714, allocations: 266.1 kB / 0.5777 GB, free: 9.875 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00517/0.5766, allocations: 3.985 MB / 0.5816 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001696/0.5767, allocations: 120.1 kB / 0.5817 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.5795, allocations: 2.694 MB / 0.5843 GB, free: 3.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.5825, allocations: 1.524 MB / 0.5858 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06926/0.6518, allocations: 16.46 MB / 0.6019 GB, free: 1.332 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.6541, allocations: 2.137 MB / 0.604 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002614/0.6567, allocations: 0.7503 MB / 0.6047 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/0.6587, allocations: 1.072 MB / 0.6057 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.665e-06/0.6587, allocations: 0 / 0.6057 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.2567/0.9154, allocations: 84.16 MB / 0.6879 GB, free: 100.9 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.108676631934941]