Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.002449/0.002449, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002945/0.002945, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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 1.798/1.798, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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.3553/0.3553, allocations: 34.86 MB / 295.4 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 443.6 MB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.75e-05, allocations: 2.281 kB / 443.6 MB, free: 436 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2067/0.2067, allocations: 11.42 MB / 455 MB, free: 36.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007364/0.2141, allocations: 4.063 MB / 459.1 MB, free: 33.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.2166, allocations: 103.2 kB / 459.2 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.2195, allocations: 0.9683 MB / 460.2 MB, free: 33.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.2239, allocations: 1.303 MB / 461.5 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.2255, allocations: 0.5275 MB / 462 MB, free: 32.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.2304, allocations: 4.852 MB / 466.8 MB, free: 29.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.233, allocations: 2.015 MB / 468.9 MB, free: 28.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.2395, allocations: 3.194 MB / 472.1 MB, free: 27.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.2442, allocations: 2.298 MB / 474.4 MB, free: 26.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.2459, allocations: 0.5524 MB / 474.9 MB, free: 26.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.2483, allocations: 0.6551 MB / 475.6 MB, free: 26.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2496, allocations: 1.589 MB / 477.1 MB, free: 25.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.2527, allocations: 1.732 MB / 478.9 MB, free: 24.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009001/0.2617, allocations: 7.573 MB / 486.5 MB, free: 22.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2617, allocations: 1.438 kB / 486.5 MB, free: 22.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2617, allocations: 4.703 kB / 486.5 MB, free: 22.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002954/0.262, allocations: 0 / 486.5 MB, free: 22.06 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01494/0.2769, allocations: 4.717 MB / 491.2 MB, free: 19.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.277, allocations: 8.625 kB / 491.2 MB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.2791, allocations: 0.5575 MB / 491.7 MB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.2847, allocations: 2.541 MB / 494.3 MB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.2849, allocations: 267.2 kB / 494.5 MB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007539/0.2857, allocations: 352.8 kB / 494.9 MB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.2958, allocations: 5.316 MB / 0.4885 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.2959, allocations: 9.219 kB / 0.4885 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/0.2962, allocations: 147.2 kB / 0.4886 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.2964, allocations: 193.8 kB / 0.4888 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/0.3052, allocations: 4.308 MB / 0.493 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.3336, allocations: 12.89 MB / 0.5056 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/0.3374, allocations: 2.693 MB / 0.5082 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.3403, allocations: 1.874 MB / 0.5101 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.3406, allocations: 53.97 kB / 0.5101 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3407, allocations: 64.48 kB / 0.5102 GB, free: 96 kB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 5.109e-06/0.3407, allocations: 0 / 0.5102 GB, free: 96 kB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.02584/0.3665, allocations: 9.589 MB / 0.5195 GB, free: 6.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.3666, allocations: 81.41 kB / 0.5196 GB, free: 6.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005364/0.372, allocations: 2.195 MB / 0.5218 GB, free: 4.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004863/0.3725, allocations: 61.7 kB / 0.5218 GB, free: 4.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.3742, allocations: 1.684 MB / 0.5235 GB, free: 2.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.3755, allocations: 0.7591 MB / 0.5242 GB, free: 1.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.3767, allocations: 420.4 kB / 0.5246 GB, free: 1.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3769, allocations: 301.1 kB / 0.5249 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.3797, allocations: 1.301 MB / 0.5262 GB, free: 15.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.3831, allocations: 1.782 MB / 0.5279 GB, free: 13.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/0.3896, allocations: 3.208 MB / 0.531 GB, free: 10.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.3896, allocations: 4 kB / 0.531 GB, free: 10.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009837/0.3995, allocations: 4.045 MB / 0.535 GB, free: 6.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.3995, allocations: 12 kB / 0.535 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/0.3995, allocations: 12 kB / 0.535 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.4028, allocations: 0.8765 MB / 0.5359 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.4054, allocations: 0.5266 MB / 0.5364 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.4191, allocations: 8.989 MB / 0.5452 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.4217, allocations: 119.8 kB / 0.5453 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004952/0.4222, allocations: 83.98 kB / 0.5454 GB, free: 11.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003199/0.4254, allocations: 1.223 MB / 0.5466 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/0.4264, allocations: 262.4 kB / 0.5468 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/0.4347, allocations: 3.669 MB / 0.5504 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.458e-05/0.4347, allocations: 20 kB / 0.5504 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-05/0.4348, allocations: 12 kB / 0.5504 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/0.4348, allocations: 11.95 kB / 0.5504 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.4539, allocations: 7.113 MB / 0.5574 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.4539, allocations: 4 kB / 0.5574 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.4558, allocations: 383.5 kB / 0.5578 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/0.4593, allocations: 0.9292 MB / 0.5587 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/0.4597, allocations: 59.97 kB / 0.5587 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.4749, allocations: 10.49 MB / 0.569 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4749, allocations: 4 kB / 0.569 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.4865, allocations: 5.47 MB / 0.5743 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/0.4885, allocations: 0.5411 MB / 0.5748 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000834/0.4894, allocations: 47.98 kB / 0.5749 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.4912, allocations: 115.9 kB / 0.575 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.4918, allocations: 193.6 kB / 0.5752 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/0.492, allocations: 59.98 kB / 0.5752 GB, free: 12.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003727/0.4957, allocations: 1.489 MB / 0.5767 GB, free: 10.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4957, allocations: 0 / 0.5767 GB, free: 10.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00392/0.4996, allocations: 0.793 MB / 0.5775 GB, free: 9.746 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009192/0.5005, allocations: 248.5 kB / 0.5777 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007997/0.5085, allocations: 3.619 MB / 0.5812 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.5085, allocations: 3.938 kB / 0.5812 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/0.5134, allocations: 2.307 MB / 0.5835 GB, free: 3.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/0.5185, allocations: 0.6296 MB / 0.5841 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.537, allocations: 7.647 MB / 0.5916 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004356/0.5414, allocations: 2.243 MB / 0.5938 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002477/0.5438, allocations: 0.6452 MB / 0.5944 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/0.5445, allocations: 164.5 kB / 0.5946 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/0.5445, allocations: 4 kB / 0.5946 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of Templates: time 0.08818/0.6326, allocations: 40.24 MB / 0.6339 GB, free: 232 kB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.833454431034625]