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.0008814/0.0008814, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009265/0.0009265, allocations: 160.5 kB / 24.55 MB, free: 16 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.9577/0.9577, allocations: 177 MB / 204.8 MB, free: 5.566 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.2751/0.2751, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.493e-06/1.493e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.079e-05, allocations: 2.312 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01463/0.01465, allocations: 17.46 MB / 396.3 MB, free: 460 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.02419, allocations: 5.895 MB / 402.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.0265, allocations: 147.1 kB / 402.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.02932, allocations: 1.366 MB / 403.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.03375, allocations: 1.898 MB / 405.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.03564, allocations: 1.083 MB / 406.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006097/0.04173, allocations: 6.661 MB / 413.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.0456, allocations: 2.775 MB / 416.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007089/0.05269, allocations: 4.633 MB / 420.8 MB, free: 7.863 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.05725, allocations: 3.188 MB / 424 MB, free: 4.668 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.05895, allocations: 0.7812 MB / 424.7 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.06154, allocations: 1.066 MB / 425.8 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.0632, allocations: 1.952 MB / 427.8 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004456/0.06766, allocations: 2.323 MB / 430.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.07504, allocations: 5.55 MB / 435.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.07504, allocations: 0 / 435.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07504, allocations: 0 / 435.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.07527, allocations: 0 / 435.6 MB, free: 8.969 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.01005/0.08532, allocations: 6.929 MB / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.08536, allocations: 8.031 kB / 442.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.08866, allocations: 1.644 MB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1751/0.2637, allocations: 3.459 MB / 447.7 MB, free: 74.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.264, allocations: 365 kB / 448 MB, free: 74.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.265, allocations: 487.5 kB / 448.5 MB, free: 74.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006965/0.272, allocations: 4.104 MB / 452.6 MB, free: 73.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.2721, allocations: 7.547 kB / 452.6 MB, free: 73.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.2724, allocations: 201.3 kB / 452.8 MB, free: 73.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.2726, allocations: 250.5 kB / 453.1 MB, free: 73.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.2766, allocations: 1.861 MB / 454.9 MB, free: 73.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.2973, allocations: 16.35 MB / 471.3 MB, free: 65.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.3009, allocations: 3.092 MB / 474.4 MB, free: 64.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.3024, allocations: 1.187 MB / 475.6 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006065/0.3085, allocations: 3.869 MB / 479.4 MB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.3085, allocations: 64.67 kB / 479.5 MB, free: 62.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.007e-06/0.3086, allocations: 0 / 479.5 MB, free: 62.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.009927/0.3185, allocations: 5.294 MB / 484.8 MB, free: 60.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3185, allocations: 74.94 kB / 484.9 MB, free: 60.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.3216, allocations: 2.248 MB / 487.1 MB, free: 59.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.3218, allocations: 62.48 kB / 487.2 MB, free: 59.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3231, allocations: 2.389 MB / 489.6 MB, free: 57.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.3236, allocations: 0.8186 MB / 490.4 MB, free: 56.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.3242, allocations: 0.4907 MB / 490.9 MB, free: 56.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3242, allocations: 478.7 kB / 491.3 MB, free: 56.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009699/0.3252, allocations: 388.4 kB / 491.7 MB, free: 56.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.3265, allocations: 1.308 MB / 493 MB, free: 54.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.3289, allocations: 1.879 MB / 494.9 MB, free: 53.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.3289, allocations: 6.125 kB / 494.9 MB, free: 53.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004385/0.3333, allocations: 2.326 MB / 497.2 MB, free: 52.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.3333, allocations: 13.75 kB / 497.2 MB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.3333, allocations: 20.94 kB / 497.3 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.3352, allocations: 0.6285 MB / 497.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.3368, allocations: 0.5595 MB / 498.4 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.3431, allocations: 10.01 MB / 0.4965 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.3449, allocations: 101.5 kB / 0.4966 GB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.3451, allocations: 103.3 kB / 0.4967 GB, free: 43.87 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.001356/0.3464, allocations: 311.5 kB / 0.497 GB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/0.3471, allocations: 387.8 kB / 0.4974 GB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.3508, allocations: 2.032 MB / 0.4994 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3508, allocations: 21.45 kB / 0.4994 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/0.3508, allocations: 10.06 kB / 0.4994 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.3509, allocations: 11.16 kB / 0.4994 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009642/0.3605, allocations: 5.588 MB / 0.5049 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.3605, allocations: 4 kB / 0.5049 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3616, allocations: 341.5 kB / 0.5052 GB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.3638, allocations: 0.796 MB / 0.506 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.3639, allocations: 63.58 kB / 0.5061 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/0.3722, allocations: 14.9 MB / 0.5206 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3722, allocations: 7.656 kB / 0.5206 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.377, allocations: 2.715 MB / 0.5233 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.3783, allocations: 0.5518 MB / 0.5238 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.3786, allocations: 52 kB / 0.5239 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.3795, allocations: 107.3 kB / 0.524 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.38, allocations: 201.1 kB / 0.5242 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.3801, allocations: 60.03 kB / 0.5242 GB, free: 20.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001688/0.3818, allocations: 1.258 MB / 0.5254 GB, free: 19.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3818, allocations: 0 / 0.5254 GB, free: 19.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003118/0.3849, allocations: 0.9388 MB / 0.5264 GB, free: 18.97 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.0005724/0.3855, allocations: 276.6 kB / 0.5266 GB, free: 18.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003689/0.3891, allocations: 2.445 MB / 0.529 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3892, allocations: 4 kB / 0.529 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.3919, allocations: 2.191 MB / 0.5312 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.3954, allocations: 0.7556 MB / 0.5319 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.4097, allocations: 8.074 MB / 0.5398 GB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.4105, allocations: 1.316 MB / 0.5411 GB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001346/0.4118, allocations: 0.5858 MB / 0.5416 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4122, allocations: 184.5 kB / 0.5418 GB, free: 4.266 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4122, allocations: 0 / 0.5418 GB, free: 4.266 MB / 410.7 MB Notification: Performance of Templates: time 0.05168/0.4638, allocations: 45.43 MB / 0.5862 GB, free: 7.465 MB / 458.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.405985037330538]