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.001453/0.001453, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.001046/0.001046, allocations: 163.8 kB / 24.99 MB, free: 9.285 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.9596/0.9596, allocations: 177 MB / 205.2 MB, free: 5.617 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.2558/0.2558, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 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.383e-06/1.383e-06, allocations: 0 / 378.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.033e-05, allocations: 2.312 kB / 378.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.008333/0.008353, allocations: 9.735 MB / 388.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.01345, allocations: 3.704 MB / 392.3 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.01421, allocations: 59.62 kB / 392.4 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.0157, allocations: 0.6713 MB / 393 MB, free: 4.039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.01725, allocations: 0.9548 MB / 394 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.01796, allocations: 479 kB / 394.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.02013, allocations: 2.762 MB / 397.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.02128, allocations: 1.081 MB / 398.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.02356, allocations: 1.781 MB / 400.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.02505, allocations: 1.407 MB / 401.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.02534, allocations: 308 kB / 401.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008697/0.02621, allocations: 0.5502 MB / 402.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008612/0.02708, allocations: 1.079 MB / 403.4 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.02814, allocations: 1.009 MB / 404.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.03081, allocations: 2.519 MB / 407 MB, free: 6.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.03081, allocations: 0 / 407 MB, free: 6.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03082, allocations: 0 / 407 MB, free: 6.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.429e-05/0.03085, allocations: 0 / 407 MB, free: 6.027 MB / 378.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.004554/0.0354, allocations: 3.356 MB / 410.3 MB, free: 2.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.03544, allocations: 12.02 kB / 410.3 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.03646, allocations: 0.5223 MB / 410.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.03853, allocations: 1.563 MB / 412.4 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.03864, allocations: 160.4 kB / 412.6 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.0389, allocations: 200.3 kB / 412.8 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.04186, allocations: 1.677 MB / 414.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.04191, allocations: 11.94 kB / 414.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.04208, allocations: 83.98 kB / 414.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.04218, allocations: 95.94 kB / 414.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.04399, allocations: 0.7725 MB / 415.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008794/0.05278, allocations: 6.717 MB / 422.1 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.05433, allocations: 0.7583 MB / 422.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.05536, allocations: 0.5731 MB / 423.4 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.05553, allocations: 60.95 kB / 423.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.05556, allocations: 50.39 kB / 423.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 3.105e-06/0.05557, allocations: 0 / 423.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.007241/0.06281, allocations: 3.677 MB / 427.2 MB, free: 1.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.06285, allocations: 68.66 kB / 427.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.06488, allocations: 1.655 MB / 429 MB, free: 15.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.06496, allocations: 53.7 kB / 429 MB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/0.06573, allocations: 1.251 MB / 430.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.06605, allocations: 479.9 kB / 430.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.0664, allocations: 257.1 kB / 431 MB, free: 13.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.06657, allocations: 0.5355 MB / 431.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.06709, allocations: 243.8 kB / 431.8 MB, free: 12.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.06781, allocations: 0.5898 MB / 432.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.06914, allocations: 0.9147 MB / 433.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.06915, allocations: 0 / 433.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002806/0.07196, allocations: 1.51 MB / 434.8 MB, free: 9.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.07198, allocations: 11.94 kB / 434.8 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.07199, allocations: 4 kB / 434.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.07369, allocations: 0.5877 MB / 435.4 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.07446, allocations: 259.6 kB / 435.6 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.08135, allocations: 6.447 MB / 442.1 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.08206, allocations: 87.84 kB / 442.2 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.08217, allocations: 51.98 kB / 442.2 MB, free: 1.707 MB / 410.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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.08264, allocations: 232.2 kB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.08299, allocations: 242.7 kB / 442.7 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1367/0.2197, allocations: 1.321 MB / 444 MB, free: 97.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.2197, allocations: 17.72 kB / 444 MB, free: 97.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.2198, allocations: 5.75 kB / 444 MB, free: 97.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/0.2198, allocations: 4.938 kB / 444 MB, free: 97.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.2243, allocations: 3.259 MB / 447.3 MB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2243, allocations: 0 / 447.3 MB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.2248, allocations: 208.5 kB / 447.5 MB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.2259, allocations: 467.2 kB / 447.9 MB, free: 97.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.2259, allocations: 34.86 kB / 448 MB, free: 97.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.2299, allocations: 7.525 MB / 455.5 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.23, allocations: 3.938 kB / 455.5 MB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.2325, allocations: 1.807 MB / 457.3 MB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.233, allocations: 338.6 kB / 457.6 MB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.2332, allocations: 33.58 kB / 457.7 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.2337, allocations: 71.56 kB / 457.7 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.2339, allocations: 113.3 kB / 457.9 MB, free: 90.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.234, allocations: 37.08 kB / 457.9 MB, free: 90.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009512/0.235, allocations: 0.9906 MB / 458.9 MB, free: 89.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.235, allocations: 3.812 kB / 458.9 MB, free: 89.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001216/0.2362, allocations: 0.5235 MB / 459.4 MB, free: 89.93 MB / 410.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.0009353/0.2371, allocations: 438 kB / 459.8 MB, free: 89.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.239, allocations: 1.529 MB / 461.4 MB, free: 89.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.239, allocations: 0 / 461.4 MB, free: 89.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.24, allocations: 1.219 MB / 462.6 MB, free: 88.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.241, allocations: 410.7 kB / 463 MB, free: 88.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.246, allocations: 4.28 MB / 467.3 MB, free: 86.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.2464, allocations: 0.6391 MB / 467.9 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006208/0.247, allocations: 310.1 kB / 468.2 MB, free: 85.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.2473, allocations: 131 kB / 468.3 MB, free: 85.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2473, allocations: 0 / 468.3 MB, free: 85.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03806/0.2853, allocations: 29.73 MB / 498.1 MB, free: 76.54 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: 3.896323350025341]