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.0009685/0.0009685, allocations: 77.92 kB / 22.21 MB, free: 2.293 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.0009417/0.0009417, allocations: 155 kB / 25.61 MB, free: 8.613 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 0.9579/0.9579, allocations: 177 MB / 205.9 MB, free: 4.434 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.1728/0.1728, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.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.553e-06/1.553e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.034e-05, allocations: 7.031 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01045/0.01048, allocations: 9.475 MB / 389.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.01875, allocations: 3.691 MB / 393.3 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.02137, allocations: 63.62 kB / 393.4 MB, free: 9.352 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.02409, allocations: 0.6635 MB / 394 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.02798, allocations: 0.9587 MB / 395 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.02964, allocations: 486.9 kB / 395.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00389/0.03353, allocations: 2.762 MB / 398.2 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.03543, allocations: 1.073 MB / 399.3 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.03929, allocations: 2.019 MB / 401.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.04138, allocations: 1.348 MB / 402.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007117/0.04209, allocations: 296 kB / 403 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.04338, allocations: 0.5462 MB / 403.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008042/0.04419, allocations: 1.032 MB / 404.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.046, allocations: 0.978 MB / 405.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.04934, allocations: 2.464 MB / 408 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.04935, allocations: 0 / 408 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.04935, allocations: 3.938 kB / 408 MB, free: 10.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.04946, allocations: 0 / 408 MB, free: 10.63 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.00437/0.05383, allocations: 3.246 MB / 411.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.05387, allocations: 12.03 kB / 411.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.0548, allocations: 0.5223 MB / 411.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.05691, allocations: 1.505 MB / 413.3 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.05702, allocations: 152.4 kB / 413.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.05723, allocations: 200.3 kB / 413.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.05923, allocations: 1.548 MB / 415.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.05928, allocations: 11.94 kB / 415.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.05941, allocations: 84 kB / 415.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.05951, allocations: 99.92 kB / 415.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.06049, allocations: 0.6043 MB / 415.9 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007761/0.06825, allocations: 6.07 MB / 422 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.06952, allocations: 0.7125 MB / 422.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.07024, allocations: 0.5028 MB / 423.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.0704, allocations: 52.91 kB / 423.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.07045, allocations: 54.39 kB / 423.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 5.821e-06/0.07045, allocations: 3.984 kB / 423.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.005849/0.0763, allocations: 2.906 MB / 426.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.07634, allocations: 64.72 kB / 426.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.07803, allocations: 1.56 MB / 427.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.07812, allocations: 49.7 kB / 427.9 MB, free: 6.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.07883, allocations: 1.27 MB / 429.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.07913, allocations: 491.8 kB / 429.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.07941, allocations: 249.1 kB / 429.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.07959, allocations: 0.551 MB / 430.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.07986, allocations: 183.8 kB / 430.6 MB, free: 3.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.08062, allocations: 0.5311 MB / 431.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.0814, allocations: 0.8091 MB / 432 MB, free: 1.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.08141, allocations: 0 / 432 MB, free: 1.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001972/0.08338, allocations: 1.335 MB / 433.3 MB, free: 480 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.0834, allocations: 15.06 kB / 433.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.08342, allocations: 8 kB / 433.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.08467, allocations: 0.525 MB / 433.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.08524, allocations: 247.6 kB / 434.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.09082, allocations: 5.991 MB / 440.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.09188, allocations: 36 kB / 440.1 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.09198, allocations: 47.97 kB / 440.2 MB, free: 9.379 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.0007492/0.09273, allocations: 232.2 kB / 440.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.09317, allocations: 250.7 kB / 440.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.09489, allocations: 1.163 MB / 441.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.09492, allocations: 16 kB / 441.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.09493, allocations: 8 kB / 441.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.09495, allocations: 7.969 kB / 441.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.09952, allocations: 2.615 MB / 444.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.09953, allocations: 0 / 444.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.1001, allocations: 191.9 kB / 444.6 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.1012, allocations: 423 kB / 445.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.439e-05/0.1012, allocations: 31.97 kB / 445.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005815/0.1071, allocations: 7.206 MB / 452.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1071, allocations: 4.031 kB / 452.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.1103, allocations: 1.593 MB / 453.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/0.111, allocations: 298.6 kB / 454.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.1111, allocations: 39.86 kB / 454.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.1116, allocations: 39.98 kB / 454.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.1119, allocations: 104.8 kB / 454.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.1119, allocations: 27.98 kB / 454.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009855/0.1129, allocations: 0.8605 MB / 455.3 MB, free: 9.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1129, allocations: 0 / 455.3 MB, free: 9.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001886/0.1148, allocations: 0.5078 MB / 455.8 MB, free: 9.281 MB / 378.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.001148/0.1159, allocations: 438.3 kB / 456.2 MB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.1181, allocations: 1.363 MB / 457.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1181, allocations: 0 / 457.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.1194, allocations: 1.122 MB / 458.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.1207, allocations: 401.7 kB / 459.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.1273, allocations: 4.198 MB / 463.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.128, allocations: 0.6519 MB / 463.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008855/0.1289, allocations: 201.3 kB / 464.1 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.1296, allocations: 437.9 kB / 464.5 MB, free: 436 kB / 378.7 MB Notification: Performance of SimCode: time 3.597e-06/0.1296, allocations: 0 / 464.5 MB, free: 436 kB / 378.7 MB Notification: Performance of Templates: time 0.0453/0.1749, allocations: 29.21 MB / 493.8 MB, free: 3.531 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 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.528669899795204]