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.001115/0.001115, allocations: 91.5 kB / 20.93 MB, free: 3.609 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.001304/0.001304, allocations: 160.5 kB / 24.23 MB, free: 324 kB / 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.9106/0.9106, allocations: 177 MB / 204.5 MB, free: 5.582 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.2503/0.2503, allocations: 34.86 MB / 295.8 MB, free: 0.5156 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 2.405e-06/2.405e-06, allocations: 0 / 378.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.288e-05, allocations: 2.312 kB / 378.1 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01804/0.01807, allocations: 17.36 MB / 395.4 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.02929, allocations: 5.895 MB / 401.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.03296, allocations: 143.1 kB / 401.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.03686, allocations: 1.362 MB / 402.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.04233, allocations: 1.894 MB / 404.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.04496, allocations: 1.082 MB / 405.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007667/0.05263, allocations: 6.663 MB / 412.5 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/0.05629, allocations: 2.783 MB / 415.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007624/0.06391, allocations: 4.505 MB / 419.8 MB, free: 8.398 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005368/0.06928, allocations: 3.227 MB / 423 MB, free: 5.164 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.07134, allocations: 0.7852 MB / 423.8 MB, free: 4.379 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.07451, allocations: 1.077 MB / 424.9 MB, free: 3.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.07648, allocations: 1.963 MB / 426.8 MB, free: 1.332 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004429/0.08091, allocations: 2.323 MB / 429.1 MB, free: 15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008262/0.08917, allocations: 5.589 MB / 434.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.08918, allocations: 0 / 434.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.08918, allocations: 0 / 434.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002115/0.08939, allocations: 0 / 434.7 MB, free: 9.398 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.01343/0.1028, allocations: 6.956 MB / 441.7 MB, free: 2.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1029, allocations: 8.031 kB / 441.7 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/0.1076, allocations: 1.644 MB / 443.3 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1777/0.2853, allocations: 3.448 MB / 446.8 MB, free: 98.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.2855, allocations: 365.7 kB / 447.1 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006273/0.2861, allocations: 493 kB / 447.6 MB, free: 98.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005884/0.292, allocations: 4.104 MB / 451.7 MB, free: 96.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/0.2921, allocations: 2.406 kB / 451.7 MB, free: 96.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.2924, allocations: 201.1 kB / 451.9 MB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.2926, allocations: 251.4 kB / 452.2 MB, free: 96.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.2965, allocations: 1.856 MB / 454 MB, free: 96.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3149, allocations: 16.4 MB / 470.4 MB, free: 86.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.3184, allocations: 3.082 MB / 473.5 MB, free: 85.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.32, allocations: 1.187 MB / 474.7 MB, free: 85.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005688/0.3257, allocations: 3.913 MB / 478.6 MB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.3257, allocations: 60.67 kB / 478.7 MB, free: 83.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 5.21e-06/0.3257, allocations: 1.094 kB / 478.7 MB, free: 83.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.009883/0.3356, allocations: 5.294 MB / 484 MB, free: 81.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3357, allocations: 78.25 kB / 484 MB, free: 81.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.3386, allocations: 2.249 MB / 486.3 MB, free: 80.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.3388, allocations: 62.92 kB / 486.4 MB, free: 80.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.3399, allocations: 2.392 MB / 488.7 MB, free: 78.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.3403, allocations: 0.814 MB / 489.6 MB, free: 77.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/0.3409, allocations: 0.4907 MB / 490.1 MB, free: 77.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.3409, allocations: 478.4 kB / 490.5 MB, free: 77.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.3417, allocations: 394.8 kB / 490.9 MB, free: 77.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3429, allocations: 1.315 MB / 492.2 MB, free: 75.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.3449, allocations: 1.872 MB / 494.1 MB, free: 74.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.3449, allocations: 3.969 kB / 494.1 MB, free: 74.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003401/0.3483, allocations: 2.332 MB / 496.4 MB, free: 73.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3483, allocations: 15.38 kB / 496.4 MB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.3483, allocations: 14.91 kB / 496.5 MB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.3498, allocations: 0.632 MB / 497.1 MB, free: 73.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3511, allocations: 0.5602 MB / 497.7 MB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.3562, allocations: 10 MB / 0.4958 GB, free: 63.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.358, allocations: 101 kB / 0.4959 GB, free: 63.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.3581, allocations: 110.6 kB / 0.496 GB, free: 63.33 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.001255/0.3594, allocations: 314.3 kB / 0.4963 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/0.3599, allocations: 383.1 kB / 0.4966 GB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.3629, allocations: 2.037 MB / 0.4986 GB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3629, allocations: 24 kB / 0.4986 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.363, allocations: 8 kB / 0.4986 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.363, allocations: 15.16 kB / 0.4987 GB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/0.371, allocations: 5.602 MB / 0.5041 GB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.371, allocations: 0 / 0.5041 GB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.3718, allocations: 346.4 kB / 0.5045 GB, free: 55.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.3735, allocations: 0.7969 MB / 0.5052 GB, free: 55.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.3736, allocations: 51.84 kB / 0.5053 GB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/0.3808, allocations: 14.92 MB / 0.5199 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3808, allocations: 4 kB / 0.5199 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.3848, allocations: 2.728 MB / 0.5225 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000968/0.3857, allocations: 0.5487 MB / 0.5231 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.3861, allocations: 55.98 kB / 0.5231 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.3868, allocations: 107.9 kB / 0.5232 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.3871, allocations: 205.5 kB / 0.5234 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.3872, allocations: 63.98 kB / 0.5235 GB, free: 36.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.3887, allocations: 1.25 MB / 0.5247 GB, free: 35.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3887, allocations: 0 / 0.5247 GB, free: 35.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002626/0.3914, allocations: 0.9452 MB / 0.5256 GB, free: 34.14 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.0005827/0.3919, allocations: 271.9 kB / 0.5259 GB, free: 33.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.395, allocations: 2.435 MB / 0.5283 GB, free: 31.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.395, allocations: 0 / 0.5283 GB, free: 31.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.3967, allocations: 2.206 MB / 0.5304 GB, free: 29.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.3989, allocations: 0.7517 MB / 0.5311 GB, free: 28.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4096, allocations: 8.083 MB / 0.539 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/0.4105, allocations: 1.328 MB / 0.5403 GB, free: 18.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001434/0.412, allocations: 0.5936 MB / 0.5409 GB, free: 18.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.4123, allocations: 184.5 kB / 0.5411 GB, free: 18.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4123, allocations: 3.938 kB / 0.5411 GB, free: 18 MB / 410.7 MB Notification: Performance of Templates: time 0.05512/0.4675, allocations: 43.62 MB / 0.5837 GB, free: 6.926 MB / 442.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.427179989870638]