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.0007098/0.0007098, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009103/0.00162, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007707/0.0007707, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001771, allocations: 475.6 kB / 11.82 MB, free: 2.348 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/1, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.092, allocations: 53.86 MB / 243.9 MB, free: 14.82 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.2613/0.2613, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02735/0.2887, allocations: 13.23 MB / 292.8 MB, free: 6.352 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.442e-06/1.442e-06, allocations: 0 / 294.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.775e-05, allocations: 6.859 kB / 294.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02353/0.02355, allocations: 31.93 MB / 326.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.04342, allocations: 9.724 MB / 335.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0076/0.05102, allocations: 290.4 kB / 336.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.06284, allocations: 8.444 MB / 344.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.07509, allocations: 3.833 MB / 348.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.08068, allocations: 2.16 MB / 350.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.09683, allocations: 13.82 MB / 364.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02509/0.1219, allocations: 14.73 MB / 379.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/0.1426, allocations: 10.45 MB / 389.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.155, allocations: 7.119 MB / 396.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00544/0.1604, allocations: 1.879 MB / 398.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008005/0.1684, allocations: 2.276 MB / 400.9 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004973/0.1734, allocations: 3.126 MB / 404 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01403/0.1874, allocations: 4.06 MB / 408 MB, free: 2.555 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02225/0.2097, allocations: 11.18 MB / 419.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.2097, allocations: 0 / 419.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2097, allocations: 0 / 419.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005622/0.2103, allocations: 0 / 419.2 MB, free: 7.344 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.02807/0.2384, allocations: 16.13 MB / 435.3 MB, free: 7.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.2384, allocations: 8.922 kB / 435.4 MB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2128/0.4512, allocations: 7.082 MB / 442.4 MB, free: 76.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.4626, allocations: 4.364 MB / 446.8 MB, free: 75.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/0.4631, allocations: 0.7926 MB / 447.6 MB, free: 75.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003481/0.4666, allocations: 1.051 MB / 448.6 MB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.4896, allocations: 8.719 MB / 457.4 MB, free: 74.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003517/0.4899, allocations: 23.22 kB / 457.4 MB, free: 74.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.4915, allocations: 439.9 kB / 457.8 MB, free: 74.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000534/0.4921, allocations: 0.6098 MB / 458.4 MB, free: 74.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009911/0.502, allocations: 4.296 MB / 462.7 MB, free: 74.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/0.5516, allocations: 33.19 MB / 495.9 MB, free: 56.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007393/0.559, allocations: 6.41 MB / 0.4905 GB, free: 50.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.5614, allocations: 1.529 MB / 0.492 GB, free: 48.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.5618, allocations: 160.2 kB / 0.4922 GB, free: 48.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/0.5619, allocations: 98.45 kB / 0.4923 GB, free: 48.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=537): time 9.728e-06/0.5619, allocations: 0 / 0.4923 GB, free: 48.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=564): time 0.02359/0.5855, allocations: 12.63 MB / 0.5046 GB, free: 36.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5855, allocations: 138.1 kB / 0.5047 GB, free: 36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.5882, allocations: 2.887 MB / 0.5076 GB, free: 33.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.5884, allocations: 117.7 kB / 0.5077 GB, free: 33.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.5895, allocations: 4.1 MB / 0.5117 GB, free: 29.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008702/0.5904, allocations: 1.98 MB / 0.5136 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.5915, allocations: 1.195 MB / 0.5148 GB, free: 26.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.5916, allocations: 308.8 kB / 0.5151 GB, free: 26.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.5927, allocations: 0.886 MB / 0.5159 GB, free: 25.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.5942, allocations: 2.837 MB / 0.5187 GB, free: 21.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.5977, allocations: 4.62 MB / 0.5232 GB, free: 16.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.5977, allocations: 20 kB / 0.5232 GB, free: 16.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.005679/0.6034, allocations: 4.625 MB / 0.5278 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.6034, allocations: 36.06 kB / 0.5278 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/0.6035, allocations: 64 kB / 0.5279 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.6061, allocations: 1.422 MB / 0.5292 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/0.6093, allocations: 1.678 MB / 0.5309 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008392/0.6177, allocations: 10.11 MB / 0.5408 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/0.6214, allocations: 228 kB / 0.541 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00089/0.6223, allocations: 244 kB / 0.5412 GB, free: 14.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 288 * 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 (795): * Single equations (assignments): 791 * 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,30,67.3%), (1,1,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00273/0.625, allocations: 0.5307 MB / 0.5417 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/0.6262, allocations: 491.5 kB / 0.5422 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/0.632, allocations: 3.746 MB / 0.5459 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.383e-05/0.632, allocations: 60 kB / 0.5459 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/0.6321, allocations: 16 kB / 0.5459 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.621e-05/0.6321, allocations: 27.89 kB / 0.546 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/0.652, allocations: 10.53 MB / 0.5562 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.652, allocations: 14.72 kB / 0.5563 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/0.6551, allocations: 1.019 MB / 0.5573 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/0.6576, allocations: 0.6634 MB / 0.5579 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/0.6609, allocations: 1.311 MB / 0.5592 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/0.6613, allocations: 128 kB / 0.5593 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.6746, allocations: 13.71 MB / 0.5727 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-05/0.6746, allocations: 11.38 kB / 0.5727 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00904/0.6836, allocations: 5.013 MB / 0.5776 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/0.6848, allocations: 112 kB / 0.5777 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.6867, allocations: 156 kB / 0.5779 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.6875, allocations: 425.6 kB / 0.5783 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/0.6878, allocations: 120 kB / 0.5784 GB, free: 9.551 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002009/0.6899, allocations: 1.406 MB / 0.5797 GB, free: 8.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6899, allocations: 0 / 0.5797 GB, free: 8.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005789/0.6956, allocations: 1.984 MB / 0.5817 GB, free: 6.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 10 (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,imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.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 (508): * Single equations (assignments): 501 * 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 {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005499/0.6962, allocations: 297.6 kB / 0.582 GB, free: 6.074 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006165/0.7024, allocations: 4.469 MB / 0.5863 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000248/0.7026, allocations: 121.9 kB / 0.5864 GB, free: 1.754 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.7066, allocations: 3.356 MB / 0.5897 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007943/0.7145, allocations: 10.26 MB / 0.5997 GB, free: 2.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07044/0.7849, allocations: 16.92 MB / 0.6163 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.191/0.976, allocations: 2.177 MB / 0.6184 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002778/0.9788, allocations: 0.8295 MB / 0.6192 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/0.9808, allocations: 1.174 MB / 0.6203 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/0.9808, allocations: 0 / 0.6203 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1095/1.09, allocations: 91.01 MB / 0.7092 GB, free: 78.82 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.392940514720976]