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.001083/0.001083, allocations: 88.28 kB / 21.43 MB, free: 3.109 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.001689/0.001689, allocations: 155 kB / 24.7 MB, free: 9.441 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.006/1.006, allocations: 177 MB / 204.9 MB, free: 5.684 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.289/0.289, allocations: 34.86 MB / 296.2 MB, free: 476 kB / 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=20499,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=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 443.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.168e-05, allocations: 2.281 kB / 443.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2259/0.2259, allocations: 15.31 MB / 459 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.2327, allocations: 5.678 MB / 464.7 MB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.2337, allocations: 141.9 kB / 464.8 MB, free: 30.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2356, allocations: 1.361 MB / 466.2 MB, free: 29.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.2378, allocations: 1.887 MB / 468 MB, free: 28.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2389, allocations: 1.083 MB / 469.1 MB, free: 27.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003106/0.242, allocations: 6.66 MB / 475.8 MB, free: 24.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.2444, allocations: 2.766 MB / 478.5 MB, free: 22.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.2478, allocations: 4.43 MB / 483 MB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.2499, allocations: 2.938 MB / 485.9 MB, free: 19.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005988/0.2505, allocations: 0.79 MB / 486.7 MB, free: 19.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.2519, allocations: 1.075 MB / 487.8 MB, free: 19.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.2528, allocations: 1.928 MB / 489.7 MB, free: 18.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.2546, allocations: 2.301 MB / 492 MB, free: 17.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008663/0.2632, allocations: 10.74 MB / 0.491 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2632, allocations: 1.375 kB / 0.491 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.2632, allocations: 0 / 0.491 GB, free: 13.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001805/0.2634, allocations: 0 / 0.491 GB, free: 13.38 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.0107/0.2741, allocations: 6.577 MB / 0.4974 GB, free: 9.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2742, allocations: 8.688 kB / 0.4974 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.2773, allocations: 1.098 MB / 0.4985 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.2823, allocations: 3.639 MB / 0.502 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.2826, allocations: 367.8 kB / 0.5024 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007379/0.2833, allocations: 491.9 kB / 0.5028 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008705/0.292, allocations: 7.219 MB / 0.5099 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.813e-05/0.2921, allocations: 7.984 kB / 0.5099 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/0.2925, allocations: 194.6 kB / 0.5101 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.2926, allocations: 249.9 kB / 0.5103 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006999/0.2996, allocations: 5.953 MB / 0.5161 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.3208, allocations: 17.95 MB / 0.5337 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.3256, allocations: 4.469 MB / 0.538 GB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.3282, allocations: 2.298 MB / 0.5403 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007052/0.3352, allocations: 5.6 MB / 0.5457 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.3353, allocations: 56.56 kB / 0.5458 GB, free: 12.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=219): time 3.326e-06/0.3353, allocations: 0 / 0.5458 GB, free: 12.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.01195/0.3472, allocations: 8.953 MB / 0.5545 GB, free: 3.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3473, allocations: 77.41 kB / 0.5546 GB, free: 3.113 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.3502, allocations: 2.637 MB / 0.5572 GB, free: 472 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3503, allocations: 69.7 kB / 0.5573 GB, free: 396 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.3514, allocations: 2.274 MB / 0.5595 GB, free: 14.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005853/0.3519, allocations: 0.7862 MB / 0.5602 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.3525, allocations: 465.2 kB / 0.5607 GB, free: 12.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.3525, allocations: 309.1 kB / 0.561 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.3539, allocations: 1.285 MB / 0.5622 GB, free: 11.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.3556, allocations: 1.937 MB / 0.5641 GB, free: 9.035 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.359, allocations: 3.352 MB / 0.5674 GB, free: 5.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.359, allocations: 4 kB / 0.5674 GB, free: 5.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004472/0.3635, allocations: 4.147 MB / 0.5715 GB, free: 1.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3635, allocations: 15.94 kB / 0.5715 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3635, allocations: 20 kB / 0.5715 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.3649, allocations: 0.771 MB / 0.5722 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3662, allocations: 0.5655 MB / 0.5728 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.3737, allocations: 10.24 MB / 0.5828 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3751, allocations: 103.9 kB / 0.5829 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3752, allocations: 100 kB / 0.583 GB, free: 5.043 MB / 490.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.002807/0.378, allocations: 1.63 MB / 0.5846 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.3783, allocations: 302.2 kB / 0.5849 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.3827, allocations: 3.702 MB / 0.5885 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3827, allocations: 24 kB / 0.5885 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3827, allocations: 8 kB / 0.5885 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3827, allocations: 15.95 kB / 0.5885 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008696/0.3914, allocations: 7.288 MB / 0.5956 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3914, allocations: 4.234 kB / 0.5957 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/0.3922, allocations: 351.5 kB / 0.596 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.3938, allocations: 0.9501 MB / 0.5969 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.3939, allocations: 59.98 kB / 0.597 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.4042, allocations: 14.8 MB / 0.6114 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4042, allocations: 4 kB / 0.6114 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/0.4104, allocations: 5.494 MB / 0.6168 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.4117, allocations: 0.5995 MB / 0.6174 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.4119, allocations: 59.92 kB / 0.6174 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.4127, allocations: 104.1 kB / 0.6175 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.4131, allocations: 201.5 kB / 0.6177 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4132, allocations: 67.91 kB / 0.6178 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002218/0.4154, allocations: 1.789 MB / 0.6195 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4154, allocations: 0 / 0.6195 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002856/0.4183, allocations: 0.9452 MB / 0.6205 GB, free: 13.84 MB / 0.5261 GB 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.0006651/0.4189, allocations: 264.8 kB / 0.6207 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004318/0.4232, allocations: 3.704 MB / 0.6243 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4232, allocations: 5.938 kB / 0.6243 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.4257, allocations: 2.549 MB / 0.6268 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4276, allocations: 0.7373 MB / 0.6275 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1886/0.6161, allocations: 9.278 MB / 0.6366 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.618, allocations: 2.835 MB / 0.6394 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/0.6188, allocations: 211.3 kB / 0.6396 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.6188, allocations: 3.281 kB / 0.6396 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.2905/0.9093, allocations: 205 MB / 0.8398 GB, free: 164.4 MB / 0.5417 GB " [Timeout remaining time 659] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.482416253071278]