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.000993/0.000993, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001115/0.001115, allocations: 169.2 kB / 25.61 MB, free: 8.574 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.9606/0.9606, allocations: 177 MB / 205.9 MB, free: 4.418 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.1527/0.1527, allocations: 34.88 MB / 297.4 MB, free: 13.31 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.523e-06/1.523e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.011e-05, allocations: 4 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01078/0.0108, allocations: 16.76 MB / 396.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008585/0.01939, allocations: 5.868 MB / 402.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.02185, allocations: 143.1 kB / 402.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.02467, allocations: 1.362 MB / 404.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.02875, allocations: 1.894 MB / 406.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.03085, allocations: 1.095 MB / 407.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.03628, allocations: 6.658 MB / 413.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.03924, allocations: 2.775 MB / 416.7 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.04526, allocations: 4.606 MB / 421.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003884/0.04914, allocations: 3.212 MB / 424.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.05024, allocations: 0.7852 MB / 425.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.05194, allocations: 1.074 MB / 426.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.05311, allocations: 1.94 MB / 428.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002805/0.05592, allocations: 2.327 MB / 430.6 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.06158, allocations: 5.55 MB / 436.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.06159, allocations: 0 / 436.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06159, allocations: 0 / 436.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.06175, allocations: 0 / 436.1 MB, free: 14.35 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.009633/0.07139, allocations: 6.741 MB / 442.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.07143, allocations: 8.031 kB / 442.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.07466, allocations: 1.574 MB / 444.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.07863, allocations: 3.278 MB / 447.7 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.07883, allocations: 370.1 kB / 448.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.07934, allocations: 496.3 kB / 448.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004793/0.08414, allocations: 3.771 MB / 452.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.08421, allocations: 11.91 kB / 452.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/0.08452, allocations: 200 kB / 452.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.08468, allocations: 249.9 kB / 452.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.08697, allocations: 1.41 MB / 454.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.1049, allocations: 16.2 MB / 470.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.1081, allocations: 2.854 MB / 473.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.1093, allocations: 1.047 MB / 474.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005275/0.1146, allocations: 3.701 MB / 478 MB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1146, allocations: 59.39 kB / 478.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 3.677e-06/0.1146, allocations: 0 / 478.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.00733/0.1219, allocations: 4.339 MB / 482.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.122, allocations: 77.34 kB / 482.5 MB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.1239, allocations: 2.178 MB / 484.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/0.124, allocations: 65.7 kB / 484.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.1254, allocations: 2.412 MB / 487.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.1258, allocations: 0.8213 MB / 488 MB, free: 9.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005184/0.1264, allocations: 0.5033 MB / 488.5 MB, free: 9.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1265, allocations: 480.8 kB / 488.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.1269, allocations: 296.9 kB / 489.2 MB, free: 8.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.1277, allocations: 1.225 MB / 490.5 MB, free: 7.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.1292, allocations: 1.708 MB / 492.2 MB, free: 4.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.1292, allocations: 8 kB / 492.2 MB, free: 4.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003508/0.1327, allocations: 2.135 MB / 494.3 MB, free: 2.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.1327, allocations: 15.94 kB / 494.3 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.1328, allocations: 20 kB / 494.3 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.1344, allocations: 0.6053 MB / 495 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.1356, allocations: 0.5422 MB / 495.5 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1854/0.321, allocations: 9.754 MB / 0.4934 GB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3226, allocations: 88.53 kB / 0.4935 GB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3227, allocations: 82.28 kB / 0.4936 GB, free: 81.09 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.001029/0.3237, allocations: 307.5 kB / 0.4939 GB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.3241, allocations: 379.8 kB / 0.4942 GB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.3263, allocations: 1.877 MB / 0.4961 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3263, allocations: 24.53 kB / 0.4961 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3264, allocations: 10.97 kB / 0.4961 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3264, allocations: 11.67 kB / 0.4961 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/0.3317, allocations: 4.48 MB / 0.5005 GB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3317, allocations: 2 kB / 0.5005 GB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.3325, allocations: 326.9 kB / 0.5008 GB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.3343, allocations: 0.7787 MB / 0.5016 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/0.3346, allocations: 59.34 kB / 0.5016 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.3422, allocations: 14.56 MB / 0.5158 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3422, allocations: 0 / 0.5158 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.3457, allocations: 2.474 MB / 0.5182 GB, free: 68.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.3468, allocations: 0.5014 MB / 0.5187 GB, free: 68.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.3472, allocations: 53.62 kB / 0.5188 GB, free: 68.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.348, allocations: 91.2 kB / 0.5189 GB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/0.3484, allocations: 184.3 kB / 0.5191 GB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3485, allocations: 47.98 kB / 0.5191 GB, free: 68.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.3497, allocations: 1.137 MB / 0.5202 GB, free: 67.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3497, allocations: 0 / 0.5202 GB, free: 67.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002586/0.3523, allocations: 0.9354 MB / 0.5211 GB, free: 67.86 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.0006022/0.3529, allocations: 281.1 kB / 0.5214 GB, free: 67.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.3555, allocations: 2.279 MB / 0.5236 GB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3555, allocations: 3.812 kB / 0.5236 GB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.3572, allocations: 2.109 MB / 0.5257 GB, free: 65.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.3596, allocations: 0.7506 MB / 0.5264 GB, free: 65.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.3698, allocations: 8.014 MB / 0.5342 GB, free: 58.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.3709, allocations: 1.317 MB / 0.5355 GB, free: 57.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.3722, allocations: 365.5 kB / 0.5359 GB, free: 56.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.3734, allocations: 0.7804 MB / 0.5366 GB, free: 56.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3734, allocations: 1.75 kB / 0.5366 GB, free: 56.32 MB / 410.7 MB Notification: Performance of Templates: time 0.05934/0.4328, allocations: 47.54 MB / 0.5831 GB, free: 9.488 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.737434094771743]