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.001017/0.001017, 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.001172/0.001172, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9527/0.9527, allocations: 177 MB / 205.2 MB, free: 5.047 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.2798/0.2798, allocations: 34.86 MB / 296.6 MB, free: 456 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.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 2.094e-06/2.094e-06, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.763e-05, allocations: 2.312 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01326/0.01328, allocations: 16.79 MB / 342.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02347, allocations: 6.104 MB / 348.9 MB, free: 76 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.02642, allocations: 147 kB / 349 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.02969, allocations: 1.39 MB / 350.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.03451, allocations: 1.89 MB / 352.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.03679, allocations: 1.095 MB / 353.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006664/0.04346, allocations: 6.69 MB / 360.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.04669, allocations: 2.834 MB / 362.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006177/0.05287, allocations: 4.62 MB / 367.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.05677, allocations: 3.204 MB / 370.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.05804, allocations: 0.7812 MB / 371.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.0606, allocations: 1.07 MB / 372.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.06247, allocations: 1.944 MB / 374.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003623/0.06609, allocations: 2.315 MB / 376.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006936/0.07302, allocations: 5.55 MB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.07303, allocations: 3.938 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.07303, allocations: 4 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001564/0.07319, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.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.009281/0.08247, allocations: 6.328 MB / 388.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.08252, allocations: 11.97 kB / 388.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.08575, allocations: 1.444 MB / 390.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.08969, allocations: 2.21 MB / 392.4 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.08991, allocations: 370.1 kB / 392.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006851/0.0906, allocations: 488.3 kB / 393.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/0.09592, allocations: 3.861 MB / 397.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-05/0.096, allocations: 0 / 397.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.09634, allocations: 200 kB / 397.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.09652, allocations: 249.9 kB / 397.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.09923, allocations: 1.459 MB / 399 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/0.1193, allocations: 12.61 MB / 411.6 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.1224, allocations: 2.494 MB / 414.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.1236, allocations: 0.9545 MB / 415.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005287/0.1288, allocations: 2.911 MB / 418 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1289, allocations: 60.56 kB / 418.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 4.408e-06/0.1289, allocations: 0 / 418.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.007116/0.136, allocations: 3.962 MB / 422 MB, free: 6.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.136, allocations: 73.41 kB / 422.1 MB, free: 5.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.1377, allocations: 1.808 MB / 423.9 MB, free: 4.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.1378, allocations: 65.7 kB / 424 MB, free: 4.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/0.1386, allocations: 1.879 MB / 425.8 MB, free: 2.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.1391, allocations: 0.7783 MB / 426.6 MB, free: 1.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/0.1395, allocations: 453 kB / 427.1 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.1396, allocations: 301.1 kB / 427.4 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.1401, allocations: 304.6 kB / 427.7 MB, free: 300 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.1408, allocations: 0.9064 MB / 428.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.1421, allocations: 1.49 MB / 430.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.1422, allocations: 4 kB / 430.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.002335/0.1445, allocations: 1.696 MB / 431.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1445, allocations: 12 kB / 431.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.1445, allocations: 23.94 kB / 431.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.1458, allocations: 0.5729 MB / 432.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.1469, allocations: 0.5382 MB / 432.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/0.1517, allocations: 7.316 MB / 440.2 MB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.1532, allocations: 83.92 kB / 440.3 MB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.1534, allocations: 79.98 kB / 440.4 MB, free: 2.656 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.001078/0.1545, allocations: 279.9 kB / 440.6 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/0.155, allocations: 251.7 kB / 440.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.1572, allocations: 1.57 MB / 442.5 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.1573, allocations: 20 kB / 442.5 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.1573, allocations: 12 kB / 442.5 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.1573, allocations: 15.89 kB / 442.5 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1711/0.3284, allocations: 3.594 MB / 446.1 MB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.3284, allocations: 3.125 kB / 446.1 MB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.3293, allocations: 322.2 kB / 446.4 MB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.3309, allocations: 0.7215 MB / 447.1 MB, free: 90.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.331, allocations: 58.55 kB / 447.2 MB, free: 90.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.3369, allocations: 10.94 MB / 458.1 MB, free: 82.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3369, allocations: 7.031 kB / 458.1 MB, free: 82.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.3399, allocations: 2.058 MB / 460.2 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.3409, allocations: 339.1 kB / 460.5 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.3412, allocations: 54.56 kB / 460.6 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/0.3419, allocations: 91.61 kB / 460.7 MB, free: 81.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.3422, allocations: 179.6 kB / 460.9 MB, free: 81.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.3423, allocations: 44.78 kB / 460.9 MB, free: 81.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.3433, allocations: 0.9268 MB / 461.8 MB, free: 81.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3433, allocations: 0 / 461.8 MB, free: 81.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002215/0.3456, allocations: 0.9357 MB / 462.8 MB, free: 81.67 MB / 410.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.0005365/0.3461, allocations: 258.9 kB / 463 MB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.3483, allocations: 1.903 MB / 464.9 MB, free: 81.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.346e-05/0.3483, allocations: 33.59 kB / 464.9 MB, free: 81.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.3498, allocations: 1.696 MB / 466.6 MB, free: 80.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.3517, allocations: 0.7505 MB / 467.4 MB, free: 80.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.3619, allocations: 7.745 MB / 475.1 MB, free: 75.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3629, allocations: 1.064 MB / 476.2 MB, free: 74.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.3641, allocations: 364.9 kB / 476.6 MB, free: 74.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.3652, allocations: 0.6771 MB / 477.2 MB, free: 73.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.3652, allocations: 0 / 477.2 MB, free: 73.63 MB / 410.7 MB Notification: Performance of Templates: time 0.05602/0.4213, allocations: 46.5 MB / 0.5115 GB, free: 30.05 MB / 410.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.251442539039999]