Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0009686/0.0009686, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001108/0.001108, allocations: 168.1 kB / 24.82 MB, free: 9.277 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.9448/0.9448, allocations: 177 MB / 205.1 MB, free: 5.473 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.2589/0.2589, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.401e-05, allocations: 3.719 kB / 379.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01018/0.0102, allocations: 13.75 MB / 393.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.01672, allocations: 5.257 MB / 398.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.01756, allocations: 103.4 kB / 398.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.01919, allocations: 1.056 MB / 399.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.02117, allocations: 1.506 MB / 401 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.02237, allocations: 1.017 MB / 402 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.02512, allocations: 4.566 MB / 406.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.02666, allocations: 1.806 MB / 408.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.02899, allocations: 3.228 MB / 411.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.03066, allocations: 2.105 MB / 413.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004245/0.03108, allocations: 0.5273 MB / 414.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.03201, allocations: 0.8899 MB / 415.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008518/0.03286, allocations: 1.418 MB / 416.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009505/0.03381, allocations: 1.559 MB / 418.1 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.03678, allocations: 3.933 MB / 422.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.03678, allocations: 4 kB / 422.1 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.03678, allocations: 0 / 422.1 MB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.0368, allocations: 0 / 422.1 MB, free: 6.742 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005475/0.04228, allocations: 5.157 MB / 427.2 MB, free: 1.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.04231, allocations: 8.031 kB / 427.2 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.04471, allocations: 1.263 MB / 428.5 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.04693, allocations: 2.537 MB / 431 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.04705, allocations: 247.1 kB / 431.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.04736, allocations: 348.2 kB / 431.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.05012, allocations: 2.499 MB / 434.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/0.05017, allocations: 11.91 kB / 434.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.05036, allocations: 144 kB / 434.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.05047, allocations: 150.7 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.05188, allocations: 0.998 MB / 435.4 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.141/0.1929, allocations: 11.14 MB / 446.6 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.1953, allocations: 2.033 MB / 448.6 MB, free: 74.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.1961, allocations: 0.8234 MB / 449.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002997/0.1991, allocations: 2.657 MB / 452.1 MB, free: 74.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1992, allocations: 54.61 kB / 452.1 MB, free: 74.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.336e-06/0.1992, allocations: 0 / 452.1 MB, free: 74.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.00586/0.205, allocations: 4.156 MB / 456.3 MB, free: 73.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.205, allocations: 72.58 kB / 456.4 MB, free: 73.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2062, allocations: 1.891 MB / 458.2 MB, free: 73.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.2063, allocations: 57.42 kB / 458.3 MB, free: 73.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.207, allocations: 1.817 MB / 460.1 MB, free: 72.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.2072, allocations: 0.6737 MB / 460.8 MB, free: 72.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.2076, allocations: 365 kB / 461.1 MB, free: 72.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.2076, allocations: 476.8 kB / 461.6 MB, free: 71.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.2079, allocations: 243.3 kB / 461.9 MB, free: 71.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.2084, allocations: 0.8393 MB / 462.7 MB, free: 71.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/0.2093, allocations: 1.204 MB / 463.9 MB, free: 70.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2093, allocations: 6.438 kB / 463.9 MB, free: 70.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001716/0.211, allocations: 1.684 MB / 465.6 MB, free: 70.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.211, allocations: 9.625 kB / 465.6 MB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.211, allocations: 9.906 kB / 465.6 MB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007905/0.2118, allocations: 479.7 kB / 466.1 MB, free: 70.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.2125, allocations: 401.6 kB / 466.5 MB, free: 70.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.2159, allocations: 6.189 MB / 472.7 MB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.2164, allocations: 62.47 kB / 472.7 MB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/0.2165, allocations: 66.55 kB / 472.8 MB, free: 66.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.2169, allocations: 267.5 kB / 473 MB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.2172, allocations: 311.3 kB / 473.3 MB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.2188, allocations: 1.539 MB / 474.9 MB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.2189, allocations: 25.25 kB / 474.9 MB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2189, allocations: 8.484 kB / 474.9 MB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.2189, allocations: 13.42 kB / 474.9 MB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.2225, allocations: 3.569 MB / 478.5 MB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2225, allocations: 5.266 kB / 478.5 MB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.2231, allocations: 252.3 kB / 478.8 MB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009149/0.224, allocations: 0.5215 MB / 479.3 MB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.2241, allocations: 51.84 kB / 479.3 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.2288, allocations: 10.38 MB / 489.7 MB, free: 55.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2288, allocations: 2.219 kB / 489.7 MB, free: 55.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.2312, allocations: 2.026 MB / 491.7 MB, free: 54.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.2316, allocations: 411.9 kB / 492.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.2318, allocations: 45.39 kB / 492.2 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.2322, allocations: 63.72 kB / 492.2 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.2324, allocations: 139.3 kB / 492.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.2325, allocations: 43.94 kB / 492.4 MB, free: 54.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008377/0.2333, allocations: 1.01 MB / 493.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2333, allocations: 0 / 493.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001675/0.235, allocations: 0.6804 MB / 494.1 MB, free: 53.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008238/0.2358, allocations: 434.8 kB / 494.5 MB, free: 53.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.2378, allocations: 1.729 MB / 496.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2378, allocations: 0 / 496.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.239, allocations: 1.582 MB / 497.8 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.2402, allocations: 0.5085 MB / 498.3 MB, free: 51.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.2466, allocations: 5.934 MB / 0.4925 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.2473, allocations: 0.9515 MB / 0.4934 GB, free: 48.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.2479, allocations: 296.8 kB / 0.4937 GB, free: 48.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007223/0.2486, allocations: 0.5472 MB / 0.4942 GB, free: 48.34 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2486, allocations: 4 kB / 0.4942 GB, free: 48.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03969/0.2883, allocations: 36.12 MB / 0.5295 GB, free: 22.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9084886428900063]