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.001521/0.001521, allocations: 75.69 kB / 21.7 MB, free: 2.836 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.001698/0.001698, allocations: 164.6 kB / 24.99 MB, free: 9.355 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.9252/0.9252, allocations: 177 MB / 205.2 MB, free: 5.562 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.2428/0.2428, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.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.342e-06/1.342e-06, allocations: 0 / 378 MB, free: 3.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.842e-05, allocations: 2.875 kB / 378.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01374/0.01376, allocations: 17.37 MB / 395.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00872/0.02248, allocations: 5.891 MB / 401.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.0247, allocations: 147.1 kB / 401.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.02738, allocations: 1.355 MB / 402.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.03149, allocations: 1.894 MB / 404.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.03323, allocations: 1.082 MB / 405.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005536/0.03877, allocations: 6.67 MB / 412.5 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.04148, allocations: 2.772 MB / 415.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.04674, allocations: 4.502 MB / 419.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.05015, allocations: 3.231 MB / 423 MB, free: 5.941 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008998/0.05105, allocations: 0.793 MB / 423.8 MB, free: 5.148 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.05256, allocations: 1.066 MB / 424.8 MB, free: 4.082 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.05394, allocations: 1.971 MB / 426.8 MB, free: 2.105 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.05596, allocations: 2.331 MB / 429.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005183/0.06114, allocations: 5.577 MB / 434.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.06115, allocations: 0 / 434.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.06115, allocations: 4 kB / 434.7 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.195e-05/0.06123, allocations: 0 / 434.7 MB, free: 10.17 MB / 410.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.008917/0.07015, allocations: 6.941 MB / 441.6 MB, free: 3.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.07019, allocations: 12.03 kB / 441.7 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.07351, allocations: 1.652 MB / 443.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1372/0.2107, allocations: 3.446 MB / 446.8 MB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.2109, allocations: 365.4 kB / 447.1 MB, free: 98.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006509/0.2116, allocations: 489.4 kB / 447.6 MB, free: 98.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006003/0.2176, allocations: 4.105 MB / 451.7 MB, free: 96.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/0.2176, allocations: 2.969 kB / 451.7 MB, free: 96.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.2179, allocations: 197.4 kB / 451.9 MB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/0.2181, allocations: 260.6 kB / 452.1 MB, free: 96.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.2219, allocations: 1.859 MB / 454 MB, free: 95.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.2381, allocations: 16.39 MB / 470.4 MB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.2415, allocations: 3.089 MB / 473.5 MB, free: 85.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.243, allocations: 1.185 MB / 474.7 MB, free: 85.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005118/0.2481, allocations: 3.907 MB / 478.6 MB, free: 83.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2482, allocations: 60.52 kB / 478.6 MB, free: 83.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.948e-06/0.2482, allocations: 0 / 478.6 MB, free: 83.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.008965/0.2571, allocations: 5.302 MB / 483.9 MB, free: 81.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2572, allocations: 74.84 kB / 484 MB, free: 81.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.2599, allocations: 2.247 MB / 486.3 MB, free: 80.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.2601, allocations: 62.73 kB / 486.3 MB, free: 80.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.2611, allocations: 2.389 MB / 488.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.2616, allocations: 0.8205 MB / 489.5 MB, free: 77.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005651/0.2622, allocations: 0.4916 MB / 490 MB, free: 77.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.2622, allocations: 477.9 kB / 490.5 MB, free: 77.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.263, allocations: 390.5 kB / 490.9 MB, free: 77.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.264, allocations: 1.311 MB / 492.2 MB, free: 75.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.2659, allocations: 1.866 MB / 494.1 MB, free: 74.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.2659, allocations: 5.594 kB / 494.1 MB, free: 74.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003229/0.2691, allocations: 2.336 MB / 496.4 MB, free: 73.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.2691, allocations: 11.28 kB / 496.4 MB, free: 73.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2691, allocations: 17.5 kB / 496.4 MB, free: 73.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.2705, allocations: 0.6328 MB / 497.1 MB, free: 73.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.2717, allocations: 0.5676 MB / 497.6 MB, free: 73.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.2767, allocations: 10 MB / 0.4957 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.2779, allocations: 108.4 kB / 0.4958 GB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.278, allocations: 102.6 kB / 0.4959 GB, free: 63.88 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.001045/0.2791, allocations: 319.5 kB / 0.4962 GB, free: 63.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.2795, allocations: 383.3 kB / 0.4966 GB, free: 63.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.2823, allocations: 2.037 MB / 0.4986 GB, free: 61.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.2823, allocations: 20.75 kB / 0.4986 GB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.2824, allocations: 15.94 kB / 0.4986 GB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.2824, allocations: 10.64 kB / 0.4986 GB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/0.29, allocations: 5.598 MB / 0.5041 GB, free: 56.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.29, allocations: 0.7969 kB / 0.5041 GB, free: 56.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.2908, allocations: 342.1 kB / 0.5044 GB, free: 56.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.2925, allocations: 0.8046 MB / 0.5052 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.2926, allocations: 63.64 kB / 0.5053 GB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/0.2991, allocations: 14.9 MB / 0.5198 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2991, allocations: 4.031 kB / 0.5198 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.3027, allocations: 2.726 MB / 0.5225 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/0.3037, allocations: 0.5602 MB / 0.523 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.3039, allocations: 47.98 kB / 0.5231 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.3046, allocations: 115.9 kB / 0.5232 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.3049, allocations: 193.6 kB / 0.5234 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/0.305, allocations: 63.98 kB / 0.5234 GB, free: 37.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.3063, allocations: 1.258 MB / 0.5247 GB, free: 35.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3063, allocations: 3.938 kB / 0.5247 GB, free: 35.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002234/0.3085, allocations: 0.9374 MB / 0.5256 GB, free: 34.87 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.0004793/0.309, allocations: 268.2 kB / 0.5258 GB, free: 34.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.3115, allocations: 2.44 MB / 0.5282 GB, free: 32.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3115, allocations: 4.25 kB / 0.5282 GB, free: 32.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3131, allocations: 2.193 MB / 0.5304 GB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.3147, allocations: 0.7567 MB / 0.5311 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/0.3233, allocations: 8.033 MB / 0.539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.3248, allocations: 2.635 MB / 0.5415 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.3253, allocations: 200.5 kB / 0.5417 GB, free: 18.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3253, allocations: 0 / 0.5417 GB, free: 18.04 MB / 410.7 MB Notification: Performance of Templates: time 0.2385/0.5638, allocations: 204.6 MB / 0.7416 GB, free: 27.27 MB / 458.7 MB " [Timeout remaining time 659] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.668054759968072]