Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009438/0.0009438, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002233, 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.0009705/0.0009705, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002328, 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.9733/0.9733, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08276/1.056, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2484/0.2484, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02242/0.2708, allocations: 13.23 MB / 292.6 MB, free: 6.457 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.556e-06/1.025e-05, allocations: 4.844 kB / 293.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01332/0.01333, allocations: 16.94 MB / 310.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02356, allocations: 6.211 MB / 317.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.02478, allocations: 147.1 kB / 317.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.0269, allocations: 1.409 MB / 318.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.02953, allocations: 1.875 MB / 320.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.03083, allocations: 1.084 MB / 321.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.03493, allocations: 6.715 MB / 328.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.03715, allocations: 2.834 MB / 331.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.04174, allocations: 4.979 MB / 336.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.04426, allocations: 3.215 MB / 339.4 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008923/0.04516, allocations: 0.7812 MB / 340.1 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.04644, allocations: 1.081 MB / 341.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009523/0.04739, allocations: 1.57 MB / 342.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.04899, allocations: 1.926 MB / 344.7 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.05319, allocations: 5.242 MB / 350 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.05321, allocations: 0 / 350 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05321, allocations: 4 kB / 350 MB, free: 12.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.042e-05/0.05327, allocations: 0 / 350 MB, free: 12.78 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.0076/0.06087, allocations: 7.544 MB / 357.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.06091, allocations: 8.922 kB / 357.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.06376, allocations: 1.452 MB / 359 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.06661, allocations: 2.21 MB / 361.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005109/0.06712, allocations: 366.1 kB / 361.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.06758, allocations: 488.3 kB / 362 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.0716, allocations: 3.853 MB / 365.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.07167, allocations: 0 / 365.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.07197, allocations: 200 kB / 366.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.07213, allocations: 257.8 kB / 366.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.0743, allocations: 1.452 MB / 367.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.08819, allocations: 12.69 MB / 380.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.09115, allocations: 2.493 MB / 382.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.09217, allocations: 0.9467 MB / 383.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004224/0.09639, allocations: 2.918 MB / 386.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.09643, allocations: 56.56 kB / 386.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 3.257e-06/0.09644, allocations: 0 / 386.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.006212/0.1026, allocations: 3.959 MB / 390.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1027, allocations: 81.34 kB / 390.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.1041, allocations: 1.8 MB / 392.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1042, allocations: 65.7 kB / 392.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/0.105, allocations: 1.872 MB / 394.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.1054, allocations: 0.7939 MB / 395.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.1058, allocations: 445 kB / 395.9 MB, free: 14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.1059, allocations: 309 kB / 396.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.1063, allocations: 308.6 kB / 396.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.1074, allocations: 0.9103 MB / 397.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1087, allocations: 1.471 MB / 398.8 MB, free: 10.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.1087, allocations: 8 kB / 398.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.001922/0.1106, allocations: 1.696 MB / 400.6 MB, free: 8.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1106, allocations: 16 kB / 400.6 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.1106, allocations: 20.44 kB / 400.6 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.1117, allocations: 0.581 MB / 401.2 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.1132, allocations: 0.7031 MB / 401.9 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.1179, allocations: 7.368 MB / 409.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.1186, allocations: 87.94 kB / 409.3 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.1188, allocations: 80 kB / 409.4 MB, free: 15.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000749/0.1195, allocations: 274.5 kB / 409.7 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.1198, allocations: 263.6 kB / 409.9 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.122, allocations: 1.57 MB / 411.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.122, allocations: 27.88 kB / 411.5 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.122, allocations: 12 kB / 411.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1221, allocations: 11.97 kB / 411.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/0.1267, allocations: 3.601 MB / 415.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1267, allocations: 0 / 415.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.1278, allocations: 0.5312 MB / 415.7 MB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.1283, allocations: 338 kB / 416 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.1298, allocations: 0.7221 MB / 416.7 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.1299, allocations: 51.97 kB / 416.8 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/0.1369, allocations: 10.92 MB / 427.7 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1369, allocations: 8.031 kB / 427.7 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.1393, allocations: 2.067 MB / 429.8 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.1395, allocations: 55.98 kB / 429.8 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.1401, allocations: 87.95 kB / 429.9 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.1403, allocations: 177.6 kB / 430.1 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.1404, allocations: 47.98 kB / 430.1 MB, free: 10.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007665/0.1411, allocations: 0.9196 MB / 431.1 MB, free: 9.129 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1411, allocations: 0 / 431.1 MB, free: 9.129 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001958/0.1431, allocations: 0.9413 MB / 432 MB, free: 8.188 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/0.1435, allocations: 270.5 kB / 432.3 MB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.1457, allocations: 1.904 MB / 434.2 MB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.589e-05/0.1458, allocations: 57.69 kB / 434.2 MB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.1472, allocations: 1.698 MB / 435.9 MB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.1488, allocations: 0.9708 MB / 436.9 MB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1698/0.3186, allocations: 8.242 MB / 445.1 MB, free: 97.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.3196, allocations: 1.099 MB / 446.2 MB, free: 96.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001264/0.3209, allocations: 369 kB / 446.6 MB, free: 96.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.322, allocations: 0.683 MB / 447.3 MB, free: 96.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.322, allocations: 3.688 kB / 447.3 MB, free: 96.87 MB / 426.7 MB Notification: Performance of Templates: time 0.05234/0.3744, allocations: 49.29 MB / 496.6 MB, free: 62.72 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1492630969733]