Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.0009038/0.0009038, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001453/0.001453, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9831/0.9831, allocations: 177 MB / 205.1 MB, free: 5.473 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.2814/0.2814, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 379.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.253e-05, allocations: 2.312 kB / 379.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.0294/0.02942, allocations: 39.34 MB / 418.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.04898, allocations: 11.28 MB / 430 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006911/0.05589, allocations: 362.1 kB / 430.3 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.0671, allocations: 8.157 MB / 438.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.07716, allocations: 3.766 MB / 442.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.08186, allocations: 2.303 MB / 444.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1703/0.2522, allocations: 13.09 MB / 457.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/0.2751, allocations: 15.58 MB / 473.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01584/0.2909, allocations: 9.905 MB / 483.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.302, allocations: 6.825 MB / 490 MB, free: 34.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005202/0.3072, allocations: 1.813 MB / 491.8 MB, free: 34.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007779/0.315, allocations: 2.25 MB / 494 MB, free: 34.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004167/0.3191, allocations: 3.755 MB / 497.8 MB, free: 32.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.3296, allocations: 4.811 MB / 0.4908 GB, free: 30.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.3452, allocations: 11.61 MB / 0.5022 GB, free: 24.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3452, allocations: 1.266 kB / 0.5022 GB, free: 24.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3452, allocations: 0 / 0.5022 GB, free: 24.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005997/0.3458, allocations: 0.8438 kB / 0.5022 GB, free: 24.9 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: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.02505/0.3708, allocations: 14.53 MB / 0.5163 GB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3709, allocations: 10.94 kB / 0.5164 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.3855, allocations: 5.572 MB / 0.5218 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008703/0.3942, allocations: 7.015 MB / 0.5287 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.3946, allocations: 0.827 MB / 0.5295 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.3962, allocations: 1.093 MB / 0.5305 GB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.4122, allocations: 8.537 MB / 0.5389 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/0.4124, allocations: 23.02 kB / 0.5389 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/0.4136, allocations: 455 kB / 0.5393 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004057/0.414, allocations: 0.5734 MB / 0.5399 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.4222, allocations: 3.825 MB / 0.5436 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05875/0.4809, allocations: 44.52 MB / 0.5871 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.4884, allocations: 5.377 MB / 0.5923 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.4903, allocations: 1.376 MB / 0.5937 GB, free: 5.656 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009294/0.4996, allocations: 5.758 MB / 0.5993 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.4997, allocations: 72.39 kB / 0.5994 GB, free: 15.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 4.939e-06/0.4997, allocations: 0 / 0.5994 GB, free: 15.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.01564/0.5153, allocations: 7.76 MB / 0.607 GB, free: 8.305 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.5154, allocations: 112.4 kB / 0.6071 GB, free: 8.176 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004986/0.5203, allocations: 4.375 MB / 0.6113 GB, free: 4.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003685/0.5207, allocations: 81.7 kB / 0.6114 GB, free: 4.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1708/0.6915, allocations: 5.638 MB / 0.6169 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.6927, allocations: 1.283 MB / 0.6182 GB, free: 99.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.6942, allocations: 1.392 MB / 0.6195 GB, free: 99.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.6942, allocations: 479.6 kB / 0.62 GB, free: 99.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.6951, allocations: 0.6732 MB / 0.6206 GB, free: 99.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.697, allocations: 4.921 MB / 0.6255 GB, free: 93.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.7007, allocations: 6.185 MB / 0.6315 GB, free: 88.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-05/0.7007, allocations: 30.06 kB / 0.6315 GB, free: 88.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.006476/0.7072, allocations: 5.341 MB / 0.6367 GB, free: 88.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.7072, allocations: 46.34 kB / 0.6368 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.7073, allocations: 95.22 kB / 0.6369 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.7088, allocations: 0.7769 MB / 0.6376 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.7113, allocations: 1.392 MB / 0.639 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005128/0.7165, allocations: 8.654 MB / 0.6474 GB, free: 82.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.7195, allocations: 289.4 kB / 0.6477 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/0.7198, allocations: 290 kB / 0.648 GB, free: 82.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/0.7223, allocations: 0.5929 MB / 0.6486 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008839/0.7231, allocations: 0.6065 MB / 0.6492 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.7269, allocations: 3.001 MB / 0.6521 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001531/0.7285, allocations: 1.3 MB / 0.6534 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.7285, allocations: 12.41 kB / 0.6534 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.7285, allocations: 16.69 kB / 0.6534 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.7408, allocations: 8.053 MB / 0.6613 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.7409, allocations: 9.438 kB / 0.6613 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.7421, allocations: 0.5244 MB / 0.6618 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.7435, allocations: 0.7359 MB / 0.6625 GB, free: 80.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.7437, allocations: 87.19 kB / 0.6626 GB, free: 80.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006288/0.75, allocations: 12.75 MB / 0.675 GB, free: 70.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.75, allocations: 7.562 kB / 0.675 GB, free: 70.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/0.756, allocations: 3.887 MB / 0.6788 GB, free: 69.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.7573, allocations: 0.7885 MB / 0.6796 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.7577, allocations: 68.72 kB / 0.6797 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/0.7587, allocations: 112 kB / 0.6798 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/0.759, allocations: 271.6 kB / 0.68 GB, free: 69.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.7592, allocations: 82.92 kB / 0.6801 GB, free: 69.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002046/0.7612, allocations: 1.949 MB / 0.682 GB, free: 68.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7612, allocations: 0 / 0.682 GB, free: 68.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004679/0.7659, allocations: 1.762 MB / 0.6837 GB, free: 68.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004309/0.7663, allocations: 262.4 kB / 0.684 GB, free: 68.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004446/0.7708, allocations: 3.97 MB / 0.6879 GB, free: 67.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7708, allocations: 7 kB / 0.6879 GB, free: 67.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.7728, allocations: 2.357 MB / 0.6902 GB, free: 66.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.7755, allocations: 1.089 MB / 0.6912 GB, free: 66.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/0.7967, allocations: 15.61 MB / 0.7065 GB, free: 60.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/0.7995, allocations: 2.694 MB / 0.7091 GB, free: 60.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00257/0.8021, allocations: 0.7682 MB / 0.7099 GB, free: 60.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.804, allocations: 1.155 MB / 0.711 GB, free: 59.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.734e-06/0.804, allocations: 0 / 0.711 GB, free: 59.83 MB / 490.7 MB Notification: Performance of Templates: time 0.08829/0.8923, allocations: 67.21 MB / 0.7766 GB, free: 15.03 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9342700080014765]