Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.0008678/0.0008678, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002136, 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.0009079/0.0009079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002889/0.003797, 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.9937/0.9937, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0893/1.083, 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.2734/0.2734, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02696/0.3004, allocations: 13.23 MB / 292.8 MB, free: 6.355 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.157e-05, allocations: 3.406 kB / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01669/0.01673, allocations: 16.95 MB / 311.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02703, allocations: 6.211 MB / 317.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.03009, allocations: 147.1 kB / 317.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.0343, allocations: 1.409 MB / 318.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.03966, allocations: 1.876 MB / 320.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.04192, allocations: 1.075 MB / 321.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006363/0.04828, allocations: 6.721 MB / 328.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.05129, allocations: 2.846 MB / 331.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008544/0.05984, allocations: 4.969 MB / 336.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/0.06427, allocations: 3.212 MB / 339.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.06542, allocations: 0.7812 MB / 340.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.06781, allocations: 1.081 MB / 341.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.06896, allocations: 1.578 MB / 343 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.07168, allocations: 1.926 MB / 345 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.07802, allocations: 5.242 MB / 350.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.07803, allocations: 0 / 350.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07803, allocations: 0 / 350.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001534/0.07818, allocations: 0 / 350.2 MB, free: 12.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.009541/0.08773, allocations: 7.54 MB / 357.7 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.08775, allocations: 8.922 kB / 357.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.09109, allocations: 1.452 MB / 359.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.09447, allocations: 2.206 MB / 361.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.09465, allocations: 370.1 kB / 361.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.09517, allocations: 488.3 kB / 362.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.09934, allocations: 3.845 MB / 366.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.527e-05/0.09941, allocations: 3.984 kB / 366.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.09969, allocations: 204 kB / 366.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.09984, allocations: 253.8 kB / 366.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.1019, allocations: 1.456 MB / 368 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.1179, allocations: 12.69 MB / 380.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.1208, allocations: 2.5 MB / 383.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.122, allocations: 0.939 MB / 384.1 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.1222, allocations: 110.1 kB / 384.2 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.1223, allocations: 64.78 kB / 384.3 MB, free: 9.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=281): time 4.689e-06/0.1223, allocations: 0 / 384.3 MB, free: 9.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=288): time 0.008184/0.1304, allocations: 4.637 MB / 388.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1305, allocations: 81.67 kB / 389 MB, free: 4.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.132, allocations: 1.78 MB / 390.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.1322, allocations: 73.7 kB / 390.9 MB, free: 3.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.1328, allocations: 1.783 MB / 392.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.1333, allocations: 0.9952 MB / 393.6 MB, free: 280 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.1338, allocations: 0.4946 MB / 394.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.1339, allocations: 301.1 kB / 394.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.1343, allocations: 354.1 kB / 394.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.135, allocations: 0.9533 MB / 395.7 MB, free: 13.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.1366, allocations: 1.667 MB / 397.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1366, allocations: 8 kB / 397.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.002174/0.1387, allocations: 1.848 MB / 399.3 MB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1388, allocations: 12 kB / 399.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.1388, allocations: 16 kB / 399.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.14, allocations: 0.5838 MB / 399.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.1418, allocations: 0.9096 MB / 400.8 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.1465, allocations: 7.469 MB / 408.2 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.1481, allocations: 95.92 kB / 408.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.1483, allocations: 87.98 kB / 408.4 MB, free: 0.543 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,100.0%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001324/0.1496, allocations: 293.7 kB / 408.7 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.1502, allocations: 291.8 kB / 409 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.1526, allocations: 1.756 MB / 410.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.1526, allocations: 28 kB / 410.8 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.1526, allocations: 12 kB / 410.8 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.1527, allocations: 19.94 kB / 410.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/0.1597, allocations: 4.354 MB / 415.2 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.1597, allocations: 8.391 kB / 415.2 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.1611, allocations: 0.6321 MB / 415.8 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.1621, allocations: 365.9 kB / 416.2 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.1638, allocations: 0.7223 MB / 416.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.1639, allocations: 71.97 kB / 417 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007623/0.1715, allocations: 10.93 MB / 427.9 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.1715, allocations: 8.031 kB / 427.9 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.1751, allocations: 2.401 MB / 430.3 MB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005304/0.1756, allocations: 67.98 kB / 430.4 MB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.1765, allocations: 99.95 kB / 430.5 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.1769, allocations: 217.6 kB / 430.7 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.177, allocations: 59.98 kB / 430.7 MB, free: 9.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001123/0.1781, allocations: 0.9111 MB / 431.6 MB, free: 8.379 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1781, allocations: 0 / 431.6 MB, free: 8.379 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003124/0.1813, allocations: 0.9882 MB / 432.6 MB, free: 7.391 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/0.1819, allocations: 269.8 kB / 432.9 MB, free: 7.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.1853, allocations: 2.13 MB / 435 MB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000103/0.1854, allocations: 57.62 kB / 435.1 MB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.1877, allocations: 1.975 MB / 437.1 MB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1929/0.3807, allocations: 7.712 MB / 444.8 MB, free: 97.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.4129, allocations: 8.48 MB / 453.2 MB, free: 93.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4145, allocations: 1.112 MB / 454.4 MB, free: 93.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001427/0.4159, allocations: 404.7 kB / 454.8 MB, free: 93.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.4173, allocations: 0.7377 MB / 455.5 MB, free: 93.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4173, allocations: 0 / 455.5 MB, free: 93.62 MB / 426.7 MB Notification: Performance of Templates: time 0.06082/0.4782, allocations: 52.76 MB / 0.4963 GB, free: 53.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.229476548731327]