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.001327/0.001327, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001053/0.001053, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9243/0.9243, allocations: 177 MB / 204.8 MB, free: 5.578 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.2595/0.2595, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.874e-06/1.874e-06, allocations: 0 / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.112e-05, allocations: 8.703 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01167/0.01169, allocations: 14.28 MB / 393.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00855/0.02024, allocations: 5.304 MB / 398.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.02198, allocations: 103.4 kB / 398.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.02438, allocations: 1.06 MB / 399.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.02768, allocations: 1.518 MB / 401.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.02936, allocations: 1.009 MB / 402.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.03347, allocations: 4.575 MB / 406.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.03548, allocations: 1.814 MB / 408.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.03857, allocations: 3.029 MB / 411.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.0406, allocations: 2.14 MB / 413.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005433/0.04115, allocations: 0.5312 MB / 414.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.04236, allocations: 0.9092 MB / 415.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008054/0.04317, allocations: 1.422 MB / 416.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.04466, allocations: 1.59 MB / 418.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.04823, allocations: 3.96 MB / 422.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.04824, allocations: 0 / 422.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.04824, allocations: 0 / 422.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.04828, allocations: 0 / 422.1 MB, free: 6.477 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.006446/0.05472, allocations: 5.303 MB / 427.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.05476, allocations: 8.031 kB / 427.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.05752, allocations: 1.333 MB / 428.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.06066, allocations: 2.623 MB / 431.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.06079, allocations: 255.1 kB / 431.7 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.06112, allocations: 340.3 kB / 432 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.06471, allocations: 2.726 MB / 434.7 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.014e-05/0.06476, allocations: 4 kB / 434.7 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.06497, allocations: 132 kB / 434.8 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.06508, allocations: 154.7 kB / 435 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.06751, allocations: 1.292 MB / 436.3 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1629/0.2305, allocations: 11.24 MB / 447.5 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.2334, allocations: 2.224 MB / 449.8 MB, free: 73.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.2346, allocations: 0.9422 MB / 450.7 MB, free: 73.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003584/0.2382, allocations: 2.71 MB / 453.4 MB, free: 72.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2382, allocations: 60.3 kB / 453.5 MB, free: 72.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.016e-06/0.2382, allocations: 1.219 kB / 453.5 MB, free: 72.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.007549/0.2457, allocations: 4.943 MB / 458.4 MB, free: 71.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2458, allocations: 71.81 kB / 458.5 MB, free: 71.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.2476, allocations: 1.988 MB / 460.5 MB, free: 71.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.2477, allocations: 65.3 kB / 460.5 MB, free: 71.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.2485, allocations: 1.789 MB / 462.3 MB, free: 70.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.2489, allocations: 0.6714 MB / 463 MB, free: 70.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.2493, allocations: 361.5 kB / 463.3 MB, free: 70.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2493, allocations: 487.3 kB / 463.8 MB, free: 69.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.2499, allocations: 320.7 kB / 464.1 MB, free: 69.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.2507, allocations: 0.9001 MB / 465 MB, free: 69.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2521, allocations: 1.354 MB / 466.4 MB, free: 68.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.2521, allocations: 4.844 kB / 466.4 MB, free: 68.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002581/0.2547, allocations: 1.85 MB / 468.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.2547, allocations: 13.2 kB / 468.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.2548, allocations: 10 kB / 468.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.2558, allocations: 495.9 kB / 468.8 MB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.2567, allocations: 420.8 kB / 469.2 MB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.2614, allocations: 6.379 MB / 475.5 MB, free: 63.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.2622, allocations: 78.64 kB / 475.6 MB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2623, allocations: 79.14 kB / 475.7 MB, free: 63.27 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.0007561/0.2631, allocations: 270.5 kB / 476 MB, free: 63.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.2634, allocations: 307.7 kB / 476.3 MB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.2657, allocations: 1.694 MB / 478 MB, free: 62.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.2657, allocations: 27.45 kB / 478 MB, free: 62.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.2658, allocations: 9.062 kB / 478 MB, free: 62.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.2658, allocations: 9.984 kB / 478 MB, free: 62.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/0.272, allocations: 4.385 MB / 482.4 MB, free: 60.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.2721, allocations: 1.156 kB / 482.4 MB, free: 60.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.2728, allocations: 276.8 kB / 482.7 MB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.274, allocations: 0.539 MB / 483.2 MB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.2741, allocations: 48.39 kB / 483.2 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005648/0.2797, allocations: 10.64 MB / 493.9 MB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2797, allocations: 2.562 kB / 493.9 MB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.2829, allocations: 2.246 MB / 496.1 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.2835, allocations: 447.2 kB / 496.6 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2837, allocations: 40.67 kB / 496.6 MB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2842, allocations: 76.5 kB / 496.7 MB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.2845, allocations: 154.4 kB / 496.8 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.2846, allocations: 54.06 kB / 496.9 MB, free: 49.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001275/0.2859, allocations: 1.154 MB / 498 MB, free: 49.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2859, allocations: 0 / 498 MB, free: 49.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001787/0.2876, allocations: 0.6931 MB / 498.7 MB, free: 49.25 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.0009207/0.2886, allocations: 430.3 kB / 499.1 MB, free: 49.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.2907, allocations: 1.878 MB / 0.4893 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2907, allocations: 3.219 kB / 0.4893 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.292, allocations: 1.654 MB / 0.4909 GB, free: 47.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.2932, allocations: 0.5111 MB / 0.4914 GB, free: 47.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.3003, allocations: 6.045 MB / 0.4973 GB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/0.3012, allocations: 0.9498 MB / 0.4982 GB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000838/0.302, allocations: 405.8 kB / 0.4986 GB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.3023, allocations: 167.7 kB / 0.4988 GB, free: 43.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3023, allocations: 0 / 0.4988 GB, free: 43.62 MB / 410.7 MB Notification: Performance of Templates: time 0.04078/0.3431, allocations: 35.66 MB / 0.5336 GB, free: 16.18 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: 4.123468044213951]