Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.00129/0.00129, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001363/0.001363, allocations: 164.4 kB / 24.91 MB, free: 8.715 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 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.062 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.2615/0.2615, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 326.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.153e-05, allocations: 5.406 kB / 326.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0189/0.01892, allocations: 9.559 MB / 335.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.02607, allocations: 3.795 MB / 339.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.02709, allocations: 67.5 kB / 339.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.02857, allocations: 0.6837 MB / 340.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.03047, allocations: 0.9508 MB / 341.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.03132, allocations: 483 kB / 341.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002578/0.03389, allocations: 2.767 MB / 344.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.0351, allocations: 1.109 MB / 345.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.03734, allocations: 2.004 MB / 347.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.03874, allocations: 1.34 MB / 348.8 MB, free: 92 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.03906, allocations: 300 kB / 349.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000815/0.03987, allocations: 0.5501 MB / 349.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000966/0.04084, allocations: 1.044 MB / 350.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000833/0.04167, allocations: 0.9664 MB / 351.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.04396, allocations: 2.476 MB / 354.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.04396, allocations: 4 kB / 354.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04397, allocations: 0 / 354.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.04398, allocations: 0 / 354.2 MB, free: 10.74 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003271/0.04725, allocations: 2.956 MB / 357.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.04729, allocations: 8.031 kB / 357.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.04841, allocations: 420.5 kB / 357.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.05001, allocations: 1.213 MB / 358.7 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.05011, allocations: 152.4 kB / 358.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.05035, allocations: 212.3 kB / 359.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.0523, allocations: 1.562 MB / 360.7 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.05235, allocations: 11.89 kB / 360.7 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.05249, allocations: 80 kB / 360.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.05258, allocations: 95.92 kB / 360.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.05367, allocations: 0.5945 MB / 361.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.06524, allocations: 4.875 MB / 366.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.0663, allocations: 0.7072 MB / 367 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.06687, allocations: 488.8 kB / 367.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.06699, allocations: 48.98 kB / 367.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.06702, allocations: 47.5 kB / 367.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.06702, allocations: 4 kB / 367.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.006258/0.07328, allocations: 2.762 MB / 370.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.07332, allocations: 68.72 kB / 370.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.07486, allocations: 1.42 MB / 371.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.07494, allocations: 49.7 kB / 371.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.0755, allocations: 0.8547 MB / 372.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.0759, allocations: 475.8 kB / 373.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.07628, allocations: 227.5 kB / 373.4 MB, free: 6.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.0764, allocations: 365.8 kB / 373.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.0768, allocations: 178.7 kB / 374 MB, free: 6.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.07732, allocations: 410 kB / 374.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.07846, allocations: 0.7187 MB / 375.1 MB, free: 5.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.07847, allocations: 7.938 kB / 375.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002164/0.08063, allocations: 1.058 MB / 376.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.08066, allocations: 8 kB / 376.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.08067, allocations: 4 kB / 376.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.08233, allocations: 0.5268 MB / 376.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.08324, allocations: 267.6 kB / 377 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.08924, allocations: 4.63 MB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.09003, allocations: 48.02 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.09015, allocations: 39.98 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005368/0.09068, allocations: 176.4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.09099, allocations: 163.8 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.09285, allocations: 0.9967 MB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.09287, allocations: 20 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.09288, allocations: 8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.0929, allocations: 11.97 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.09745, allocations: 2.263 MB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.09746, allocations: 0 / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.0983, allocations: 211.9 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.09991, allocations: 481.2 kB / 386 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-05/0.1, allocations: 31.97 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.1049, allocations: 5.401 MB / 391.4 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1049, allocations: 3.938 kB / 391.4 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.1073, allocations: 1.347 MB / 392.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.1081, allocations: 234.7 kB / 393 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.1082, allocations: 27.94 kB / 393 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.1088, allocations: 51.97 kB / 393.1 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.109, allocations: 100.8 kB / 393.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.1091, allocations: 31.97 kB / 393.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008034/0.1099, allocations: 0.6792 MB / 393.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 0 / 393.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001633/0.1115, allocations: 0.4999 MB / 394.4 MB, free: 1.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/0.1131, allocations: 0.5347 MB / 394.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.1152, allocations: 1.167 MB / 396.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-05/0.1152, allocations: 20.5 kB / 396.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.1165, allocations: 0.9197 MB / 397 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.1179, allocations: 398.6 kB / 397.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.1253, allocations: 4.035 MB / 401.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.1258, allocations: 0.5777 MB / 402 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006362/0.1265, allocations: 205.4 kB / 402.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.1271, allocations: 381.1 kB / 402.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/0.1271, allocations: 0 / 402.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of Templates: time 0.03966/0.1667, allocations: 28.62 MB / 431.2 MB, free: 12.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7686130851507187]