Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.0007953/0.0007953, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009019/0.0009019, allocations: 162.3 kB / 24.99 MB, free: 8.797 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.8867/0.8867, allocations: 177 MB / 205.2 MB, free: 5.605 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.2269/0.2269, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 378 MB, free: 3.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.334e-05, allocations: 8.5 kB / 378 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01009/0.0101, allocations: 12.9 MB / 390.9 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.0162, allocations: 4.218 MB / 395.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.01728, allocations: 107.3 kB / 395.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.01874, allocations: 0.9624 MB / 396.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.02064, allocations: 1.308 MB / 397.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.02133, allocations: 0.5343 MB / 398.1 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.02455, allocations: 4.853 MB / 402.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.02621, allocations: 2.019 MB / 404.9 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.02914, allocations: 3.254 MB / 408.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.03112, allocations: 2.502 MB / 410.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004705/0.03159, allocations: 0.5508 MB / 411.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.03226, allocations: 0.6599 MB / 411.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.03339, allocations: 1.605 MB / 413.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.03458, allocations: 1.754 MB / 415.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.03743, allocations: 4.093 MB / 419.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.03743, allocations: 0 / 419.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03744, allocations: 4 kB / 419.4 MB, free: 9.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.03746, allocations: 0 / 419.4 MB, free: 9.613 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.0051/0.04256, allocations: 4.998 MB / 424.4 MB, free: 4.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.0426, allocations: 12.03 kB / 424.4 MB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.0437, allocations: 0.8339 MB / 425.2 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.04645, allocations: 2.406 MB / 427.6 MB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.04658, allocations: 271.4 kB / 427.9 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.04692, allocations: 356.3 kB / 428.2 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.05049, allocations: 3.058 MB / 431.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.05054, allocations: 7.953 kB / 431.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.05075, allocations: 152 kB / 431.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.05087, allocations: 191.1 kB / 431.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.05329, allocations: 1.33 MB / 433 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/0.1917, allocations: 11.93 MB / 444.9 MB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.1937, allocations: 1.508 MB / 446.4 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.1949, allocations: 0.9515 MB / 447.4 MB, free: 95.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.1951, allocations: 72.36 kB / 447.4 MB, free: 95.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1951, allocations: 59.08 kB / 447.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 3.236e-06/0.1951, allocations: 3.719 kB / 447.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.007381/0.2025, allocations: 5.07 MB / 452.6 MB, free: 95.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2025, allocations: 73 kB / 452.6 MB, free: 94.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.2041, allocations: 1.905 MB / 454.5 MB, free: 94.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.2042, allocations: 64.2 kB / 454.6 MB, free: 94.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/0.2048, allocations: 1.783 MB / 456.4 MB, free: 93.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.2051, allocations: 0.7879 MB / 457.2 MB, free: 93.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.2055, allocations: 432 kB / 457.6 MB, free: 92.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.2056, allocations: 481.8 kB / 458.1 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.2062, allocations: 381.4 kB / 458.4 MB, free: 92.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.2069, allocations: 1.048 MB / 459.5 MB, free: 91.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2085, allocations: 1.624 MB / 461.1 MB, free: 90.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2085, allocations: 3.25 kB / 461.1 MB, free: 90.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002717/0.2112, allocations: 2.108 MB / 463.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.2112, allocations: 9.656 kB / 463.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2112, allocations: 16.3 kB / 463.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.2126, allocations: 0.6082 MB / 463.8 MB, free: 89.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.2137, allocations: 0.5277 MB / 464.4 MB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.2176, allocations: 7.799 MB / 472.2 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.2184, allocations: 109.4 kB / 472.3 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.2185, allocations: 89.31 kB / 472.4 MB, free: 82.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006363/0.2191, allocations: 298.7 kB / 472.7 MB, free: 82.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.2194, allocations: 342.2 kB / 473 MB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.2217, allocations: 1.84 MB / 474.8 MB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.2217, allocations: 25.12 kB / 474.9 MB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2217, allocations: 5.844 kB / 474.9 MB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2217, allocations: 12.98 kB / 474.9 MB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/0.2278, allocations: 5.051 MB / 479.9 MB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2278, allocations: 6.938 kB / 479.9 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/0.2287, allocations: 378.8 kB / 480.3 MB, free: 79.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.2303, allocations: 0.6742 MB / 481 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2304, allocations: 55.03 kB / 481 MB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.235, allocations: 9.588 MB / 490.6 MB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.235, allocations: 2.438 kB / 490.6 MB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.2384, allocations: 2.555 MB / 493.2 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.2392, allocations: 0.4919 MB / 493.7 MB, free: 69.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.2394, allocations: 49.91 kB / 493.7 MB, free: 69.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.24, allocations: 115.8 kB / 493.8 MB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.2403, allocations: 192.9 kB / 494 MB, free: 69.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/0.2404, allocations: 57.41 kB / 494.1 MB, free: 69.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.2415, allocations: 1.083 MB / 495.2 MB, free: 69.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2415, allocations: 0 / 495.2 MB, free: 69.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001794/0.2433, allocations: 0.7973 MB / 496 MB, free: 69.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004171/0.2438, allocations: 249.5 kB / 496.2 MB, free: 68.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.246, allocations: 2.215 MB / 498.4 MB, free: 67.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.246, allocations: 1.594 kB / 498.4 MB, free: 67.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.2475, allocations: 1.78 MB / 0.4885 GB, free: 66.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.249, allocations: 0.6632 MB / 0.4891 GB, free: 66.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.2559, allocations: 6.511 MB / 0.4955 GB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.2574, allocations: 2.023 MB / 0.4975 GB, free: 61.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.2578, allocations: 180.2 kB / 0.4976 GB, free: 61.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.2578, allocations: 0 / 0.4976 GB, free: 61.19 MB / 410.7 MB Notification: Performance of Templates: time 0.2096/0.4674, allocations: 141.5 MB / 0.6358 GB, free: 134.2 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.079040422104299]