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.0009759/0.0009759, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002393, allocations: 449.7 kB / 10.37 MB, free: 324 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.001038/0.001038, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002341, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9961/0.9961, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.099, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.2486/0.2486, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01844/0.267, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.605e-06/2.605e-06, allocations: 3.984 kB / 294 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/1.127e-05, allocations: 6.047 kB / 294 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01007/0.01008, allocations: 13.9 MB / 307.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.01567, allocations: 5.484 MB / 313.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.01632, allocations: 107.3 kB / 313.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.0177, allocations: 1.084 MB / 314.6 MB, free: 416 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.01943, allocations: 1.511 MB / 316.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.02091, allocations: 1.009 MB / 317.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.02395, allocations: 4.596 MB / 321.7 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.02564, allocations: 1.849 MB / 323.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.0281, allocations: 3.486 MB / 327 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.02968, allocations: 2.101 MB / 329.1 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.03009, allocations: 0.5312 MB / 329.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009043/0.031, allocations: 0.9131 MB / 330.5 MB, free: 276 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009376/0.03193, allocations: 1.153 MB / 331.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.03293, allocations: 1.306 MB / 333 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.03556, allocations: 3.719 MB / 336.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.03557, allocations: 0 / 336.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.03557, allocations: 0 / 336.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.03561, allocations: 4 kB / 336.7 MB, free: 10.07 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.005894/0.04151, allocations: 5.754 MB / 342.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.04155, allocations: 12.86 kB / 342.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.04414, allocations: 1.167 MB / 343.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.04665, allocations: 1.769 MB / 345.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.04678, allocations: 255.1 kB / 345.7 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.0471, allocations: 340.3 kB / 346 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.0497, allocations: 2.563 MB / 348.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.04975, allocations: 7.891 kB / 348.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.04995, allocations: 136 kB / 348.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.05006, allocations: 158.7 kB / 348.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.05153, allocations: 0.9999 MB / 349.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00897/0.0605, allocations: 8.703 MB / 358.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.06303, allocations: 1.834 MB / 360.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/0.0639, allocations: 0.7675 MB / 361.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002884/0.06678, allocations: 2.128 MB / 363.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.06681, allocations: 55.86 kB / 363.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 2.635e-06/0.06682, allocations: 0 / 363.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.006267/0.07308, allocations: 3.985 MB / 367.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.07312, allocations: 69.41 kB / 367.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.07441, allocations: 1.731 MB / 369.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.0745, allocations: 53.7 kB / 369.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.07517, allocations: 1.329 MB / 370.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.07555, allocations: 0.6467 MB / 371.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.07597, allocations: 327.3 kB / 371.5 MB, free: 6.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.07604, allocations: 301.1 kB / 371.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.07646, allocations: 238.7 kB / 372 MB, free: 6.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.07708, allocations: 0.636 MB / 372.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.07842, allocations: 1.052 MB / 373.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.07843, allocations: 4 kB / 373.7 MB, free: 4.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002012/0.08044, allocations: 1.335 MB / 375 MB, free: 2.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.08046, allocations: 8 kB / 375.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.08048, allocations: 15.94 kB / 375.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.08151, allocations: 447.8 kB / 375.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.08286, allocations: 495.3 kB / 376 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.08768, allocations: 4.757 MB / 380.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.08834, allocations: 59.92 kB / 380.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.08845, allocations: 59.98 kB / 380.9 MB, free: 12.71 MB / 378.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.0005349/0.08899, allocations: 228.3 kB / 381.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.08928, allocations: 199.8 kB / 381.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.09129, allocations: 1.302 MB / 382.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.09131, allocations: 23.98 kB / 382.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.09132, allocations: 8 kB / 382.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.09134, allocations: 15.95 kB / 382.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.09537, allocations: 2.728 MB / 385.4 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.09538, allocations: 4 kB / 385.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/0.09635, allocations: 323.7 kB / 385.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.09684, allocations: 262.3 kB / 385.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.09795, allocations: 0.5033 MB / 386.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/0.09804, allocations: 39.98 kB / 386.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.1042, allocations: 7.817 MB / 394.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1042, allocations: 3.938 kB / 394.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.1069, allocations: 1.677 MB / 396 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.1071, allocations: 43.97 kB / 396 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.1076, allocations: 55.98 kB / 396.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.1079, allocations: 153.6 kB / 396.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.1079, allocations: 35.98 kB / 396.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007746/0.1087, allocations: 0.8163 MB / 397.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1087, allocations: 0 / 397.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001567/0.1103, allocations: 0.6796 MB / 397.8 MB, free: 11.29 MB / 394.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.001464/0.1117, allocations: 0.5657 MB / 398.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.1137, allocations: 1.49 MB / 399.8 MB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.028e-05/0.1138, allocations: 35.12 kB / 399.8 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1151, allocations: 1.278 MB / 401.1 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.1166, allocations: 0.665 MB / 401.8 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.1459, allocations: 5.976 MB / 407.8 MB, free: 1.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.1466, allocations: 0.7927 MB / 408.6 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008147/0.1474, allocations: 298.1 kB / 408.9 MB, free: 272 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/0.1482, allocations: 0.4913 MB / 409.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1482, allocations: 0 / 409.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of Templates: time 0.1749/0.3231, allocations: 37.73 MB / 447.1 MB, free: 106.1 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.932127828709781]