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.0007701/0.0007701, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001917, 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.0007612/0.0007612, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.001959, 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 0.9777/0.9777, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.086, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.27/0.27, allocations: 34.87 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02732/0.2973, allocations: 13.25 MB / 292.8 MB, free: 6.348 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.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 2.094e-06/2.094e-06, allocations: 0 / 294.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.888e-05, allocations: 2.312 kB / 294.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01811/0.01814, allocations: 13.9 MB / 308.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.03022, allocations: 5.492 MB / 313.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.03342, allocations: 107.4 kB / 313.7 MB, free: 1.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.03724, allocations: 1.095 MB / 314.8 MB, free: 256 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.04266, allocations: 1.495 MB / 316.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.04538, allocations: 1.013 MB / 317.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006222/0.0516, allocations: 4.609 MB / 321.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.05508, allocations: 1.846 MB / 323.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006402/0.06148, allocations: 3.494 MB / 327.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.06541, allocations: 2.093 MB / 329.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.06704, allocations: 0.5273 MB / 329.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.06975, allocations: 0.9131 MB / 330.8 MB, free: 120 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.07169, allocations: 1.157 MB / 332 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.07581, allocations: 1.306 MB / 333.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.08812, allocations: 3.715 MB / 337 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.08813, allocations: 3.938 kB / 337 MB, free: 9.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08813, allocations: 0 / 337 MB, free: 9.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001847/0.08832, allocations: 0 / 337 MB, free: 9.918 MB / 330.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.04359/0.1319, allocations: 5.75 MB / 342.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1319, allocations: 8.922 kB / 342.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.1437, allocations: 1.175 MB / 343.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007973/0.1517, allocations: 1.777 MB / 345.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.1519, allocations: 247.1 kB / 345.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.1531, allocations: 336.3 kB / 346.3 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006515/0.1596, allocations: 2.559 MB / 348.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.1597, allocations: 7.891 kB / 348.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.1599, allocations: 136 kB / 349 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.16, allocations: 154.7 kB / 349.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.1617, allocations: 0.996 MB / 350.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.1718, allocations: 8.708 MB / 358.8 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.1743, allocations: 1.834 MB / 360.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008954/0.1751, allocations: 0.7636 MB / 361.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.1753, allocations: 73.89 kB / 361.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1754, allocations: 56.56 kB / 361.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=205): time 4.208e-06/0.1754, allocations: 0 / 361.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=227): time 0.007689/0.183, allocations: 4.698 MB / 366.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1831, allocations: 77.41 kB / 366.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.1844, allocations: 1.713 MB / 368 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/0.1845, allocations: 61.7 kB / 368.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.185, allocations: 1.26 MB / 369.4 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.1854, allocations: 0.7899 MB / 370.1 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.1858, allocations: 363.9 kB / 370.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.1858, allocations: 305.1 kB / 370.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.1862, allocations: 267.4 kB / 371.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.1866, allocations: 0.6281 MB / 371.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1877, allocations: 1.165 MB / 372.8 MB, free: 5.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1877, allocations: 8 kB / 372.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00164/0.1893, allocations: 1.422 MB / 374.3 MB, free: 3.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1893, allocations: 12 kB / 374.3 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1893, allocations: 8 kB / 374.3 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.1902, allocations: 468.2 kB / 374.8 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.1913, allocations: 0.5578 MB / 375.3 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.1951, allocations: 4.914 MB / 380.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.1956, allocations: 64.02 kB / 380.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/0.1957, allocations: 63.98 kB / 380.4 MB, free: 13.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (231): * Single equations (assignments): 227 * 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%), (8,35,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005123/0.1962, allocations: 236.2 kB / 380.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.1965, allocations: 223.8 kB / 380.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.1983, allocations: 1.432 MB / 382.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.1983, allocations: 23.94 kB / 382.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1983, allocations: 12 kB / 382.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.1983, allocations: 15.95 kB / 382.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.2024, allocations: 3.467 MB / 385.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.2024, allocations: 4.062 kB / 385.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008336/0.2032, allocations: 399.4 kB / 386.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.2037, allocations: 282.2 kB / 386.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/0.2045, allocations: 0.5 MB / 386.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/0.2046, allocations: 47.98 kB / 387 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.2096, allocations: 7.874 MB / 394.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2096, allocations: 3.984 kB / 394.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.2118, allocations: 1.922 MB / 396.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.212, allocations: 52.05 kB / 396.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2124, allocations: 63.98 kB / 396.9 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.2126, allocations: 165.6 kB / 397 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.2127, allocations: 47.98 kB / 397.1 MB, free: 12.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006134/0.2133, allocations: 0.8076 MB / 397.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2133, allocations: 0 / 397.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001493/0.2148, allocations: 0.7264 MB / 398.6 MB, free: 10.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (168): * Single equations (assignments): 162 * 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.001196/0.216, allocations: 0.5739 MB / 399.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.2178, allocations: 1.654 MB / 400.8 MB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.295e-05/0.2178, allocations: 35.12 kB / 400.9 MB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2192, allocations: 1.518 MB / 402.4 MB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.2216, allocations: 4.759 MB / 407.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/0.2426, allocations: 6.139 MB / 413.3 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.2432, allocations: 0.8148 MB / 414.1 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009137/0.2442, allocations: 327.6 kB / 414.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/0.245, allocations: 0.5225 MB / 415 MB, free: 9.293 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.245, allocations: 0 / 415 MB, free: 9.293 MB / 410.7 MB Notification: Performance of Templates: time 0.1883/0.4333, allocations: 39.53 MB / 454.5 MB, free: 101.5 MB / 426.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.982183641754091]