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.001513/0.001513, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001803/0.001803, allocations: 157.1 kB / 24.99 MB, free: 8.215 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.9231/0.9231, allocations: 177 MB / 205.2 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.2506/0.2506, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.623e-06/1.623e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.475e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01441/0.01443, allocations: 17.36 MB / 396.2 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009494/0.02393, allocations: 5.899 MB / 402.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.02667, allocations: 143.1 kB / 402.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.03028, allocations: 1.359 MB / 403.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.0348, allocations: 1.894 MB / 405.5 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.03686, allocations: 1.095 MB / 406.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006222/0.04308, allocations: 6.654 MB / 413.2 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.0464, allocations: 2.775 MB / 416 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0066/0.053, allocations: 4.517 MB / 420.5 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004545/0.05755, allocations: 3.212 MB / 423.7 MB, free: 5.188 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.05954, allocations: 0.7852 MB / 424.5 MB, free: 4.402 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.06294, allocations: 1.081 MB / 425.6 MB, free: 3.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.06486, allocations: 1.963 MB / 427.6 MB, free: 1.352 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003905/0.06876, allocations: 2.327 MB / 429.9 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.07429, allocations: 5.585 MB / 435.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0743, allocations: 0 / 435.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0743, allocations: 0 / 435.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.07448, allocations: 0 / 435.5 MB, free: 9.418 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.009519/0.084, allocations: 6.952 MB / 442.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.08404, allocations: 12.02 kB / 442.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.08758, allocations: 1.644 MB / 444.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.135/0.2225, allocations: 3.451 MB / 447.5 MB, free: 99.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.2227, allocations: 367.2 kB / 447.9 MB, free: 99.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004837/0.2232, allocations: 489.8 kB / 448.4 MB, free: 99.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005276/0.2285, allocations: 4.106 MB / 452.5 MB, free: 97.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.498e-05/0.2286, allocations: 7.078 kB / 452.5 MB, free: 97.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.2289, allocations: 199.2 kB / 452.7 MB, free: 97.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.229, allocations: 246.1 kB / 452.9 MB, free: 97.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.2326, allocations: 1.863 MB / 454.8 MB, free: 97.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.25, allocations: 16.4 MB / 471.2 MB, free: 87.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.2535, allocations: 3.078 MB / 474.3 MB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.2551, allocations: 1.189 MB / 475.5 MB, free: 86.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005365/0.2604, allocations: 3.905 MB / 479.4 MB, free: 84.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.2605, allocations: 60.89 kB / 479.4 MB, free: 84.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.887e-06/0.2605, allocations: 1.438 kB / 479.4 MB, free: 84.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.009386/0.2698, allocations: 5.299 MB / 484.7 MB, free: 82.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2699, allocations: 74.34 kB / 484.8 MB, free: 82.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2725, allocations: 2.248 MB / 487 MB, free: 81.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.2726, allocations: 66.95 kB / 487.1 MB, free: 81.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/0.2736, allocations: 2.388 MB / 489.5 MB, free: 79.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.274, allocations: 0.8254 MB / 490.3 MB, free: 78.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.2745, allocations: 0.49 MB / 490.8 MB, free: 78.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.2745, allocations: 478.1 kB / 491.3 MB, free: 77.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/0.2753, allocations: 390.2 kB / 491.7 MB, free: 77.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.2763, allocations: 1.317 MB / 493 MB, free: 76.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.2783, allocations: 1.87 MB / 494.8 MB, free: 75.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.2783, allocations: 7.844 kB / 494.9 MB, free: 75.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003421/0.2817, allocations: 2.32 MB / 497.2 MB, free: 74.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2817, allocations: 19.28 kB / 497.2 MB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.2817, allocations: 19.34 kB / 497.2 MB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.2832, allocations: 0.6289 MB / 497.8 MB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.2845, allocations: 0.5603 MB / 498.4 MB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.2893, allocations: 10 MB / 0.4965 GB, free: 64.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2906, allocations: 104.5 kB / 0.4966 GB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.2908, allocations: 103.2 kB / 0.4967 GB, free: 64.15 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.001056/0.2918, allocations: 313 kB / 0.497 GB, free: 63.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/0.2923, allocations: 383.8 kB / 0.4974 GB, free: 63.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.2952, allocations: 2.041 MB / 0.4993 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.2952, allocations: 27.94 kB / 0.4994 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.2952, allocations: 15.94 kB / 0.4994 GB, free: 61.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.2952, allocations: 10.78 kB / 0.4994 GB, free: 61.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.3024, allocations: 5.586 MB / 0.5049 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3024, allocations: 0.9375 kB / 0.5049 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.3032, allocations: 346.6 kB / 0.5052 GB, free: 56.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.3049, allocations: 0.7963 MB / 0.506 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.305, allocations: 64.44 kB / 0.506 GB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/0.3113, allocations: 14.91 MB / 0.5206 GB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3113, allocations: 5.531 kB / 0.5206 GB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/0.315, allocations: 2.73 MB / 0.5233 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/0.3159, allocations: 0.5526 MB / 0.5238 GB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.3161, allocations: 51.98 kB / 0.5238 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.3168, allocations: 107.9 kB / 0.5239 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.3171, allocations: 205.6 kB / 0.5241 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.3172, allocations: 59.98 kB / 0.5242 GB, free: 37.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3185, allocations: 1.266 MB / 0.5254 GB, free: 35.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3185, allocations: 3.938 kB / 0.5254 GB, free: 35.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00215/0.3206, allocations: 0.9413 MB / 0.5264 GB, free: 34.98 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.0005129/0.3212, allocations: 258.6 kB / 0.5266 GB, free: 34.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.3238, allocations: 2.439 MB / 0.529 GB, free: 32.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3238, allocations: 0 / 0.529 GB, free: 32.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.3255, allocations: 2.201 MB / 0.5311 GB, free: 29.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.3272, allocations: 0.761 MB / 0.5319 GB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/0.3362, allocations: 8.087 MB / 0.5398 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008791/0.3371, allocations: 1.32 MB / 0.5411 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.3382, allocations: 0.5897 MB / 0.5416 GB, free: 19.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.3386, allocations: 188.5 kB / 0.5418 GB, free: 18.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3386, allocations: 0 / 0.5418 GB, free: 18.84 MB / 410.7 MB Notification: Performance of Templates: time 0.06179/0.4004, allocations: 43.62 MB / 0.5844 GB, free: 7.758 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.262469863053411]