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.00153/0.00153, allocations: 80.34 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.001736/0.001736, allocations: 166.2 kB / 25.61 MB, free: 8.578 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.9282/0.9282, allocations: 177 MB / 205.9 MB, free: 4.438 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.1571/0.1571, allocations: 34.89 MB / 297.4 MB, free: 13.43 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.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.644e-06/1.644e-06, allocations: 3.938 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.738e-05, allocations: 4.359 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03272/0.03275, allocations: 39.32 MB / 419.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02619/0.05894, allocations: 11.29 MB / 430.7 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009214/0.06815, allocations: 362.1 kB / 431.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0148/0.08295, allocations: 8.153 MB / 439.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.09516, allocations: 3.773 MB / 443 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006023/0.1012, allocations: 2.32 MB / 445.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01763/0.1188, allocations: 13.11 MB / 458.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/0.148, allocations: 15.58 MB / 474 MB, free: 8.277 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01919/0.1672, allocations: 9.902 MB / 483.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.1793, allocations: 6.826 MB / 490.8 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006086/0.1854, allocations: 1.812 MB / 492.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008083/0.1935, allocations: 2.249 MB / 494.8 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2078/0.4013, allocations: 3.753 MB / 498.6 MB, free: 48.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0116/0.4129, allocations: 4.807 MB / 0.4916 GB, free: 48.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02286/0.4358, allocations: 11.62 MB / 0.5029 GB, free: 47.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4358, allocations: 0 / 0.5029 GB, free: 47.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4358, allocations: 0 / 0.5029 GB, free: 47.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000807/0.4366, allocations: 3.406 kB / 0.5029 GB, free: 47.79 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.03494/0.4715, allocations: 14.52 MB / 0.5171 GB, free: 43.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4716, allocations: 7.781 kB / 0.5171 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01829/0.4899, allocations: 5.578 MB / 0.5226 GB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.5038, allocations: 7.006 MB / 0.5294 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.5045, allocations: 0.8378 MB / 0.5302 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003823/0.5083, allocations: 1.101 MB / 0.5313 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/0.5359, allocations: 8.53 MB / 0.5396 GB, free: 34.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003406/0.5362, allocations: 19.23 kB / 0.5396 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001798/0.538, allocations: 457.8 kB / 0.5401 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.5384, allocations: 0.5773 MB / 0.5406 GB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00934/0.5477, allocations: 3.826 MB / 0.5444 GB, free: 29.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06992/0.6176, allocations: 44.5 MB / 0.5878 GB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/0.6253, allocations: 5.364 MB / 0.5931 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.6275, allocations: 1.39 MB / 0.5944 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.639, allocations: 5.717 MB / 0.6 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.639, allocations: 75.94 kB / 0.6001 GB, free: 6.812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=313): time 4.82e-06/0.639, allocations: 0 / 0.6001 GB, free: 6.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.01753/0.6565, allocations: 7.75 MB / 0.6076 GB, free: 15.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.6566, allocations: 115.8 kB / 0.6078 GB, free: 15.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.6624, allocations: 4.371 MB / 0.612 GB, free: 11.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005671/0.6629, allocations: 77.7 kB / 0.6121 GB, free: 11.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003407/0.6663, allocations: 5.649 MB / 0.6176 GB, free: 5.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.6678, allocations: 1.278 MB / 0.6189 GB, free: 4.559 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.6697, allocations: 1.393 MB / 0.6202 GB, free: 3.277 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.6699, allocations: 476.8 kB / 0.6207 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.671, allocations: 0.6798 MB / 0.6213 GB, free: 2.125 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.674, allocations: 4.915 MB / 0.6261 GB, free: 11.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004674/0.6787, allocations: 6.19 MB / 0.6322 GB, free: 4.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.737e-05/0.6787, allocations: 35.94 kB / 0.6322 GB, free: 4.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.007362/0.6861, allocations: 5.337 MB / 0.6374 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.6861, allocations: 44 kB / 0.6375 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-05/0.6862, allocations: 96 kB / 0.6376 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.6877, allocations: 0.7787 MB / 0.6383 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.6903, allocations: 1.386 MB / 0.6397 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.6975, allocations: 8.659 MB / 0.6481 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.7023, allocations: 283.6 kB / 0.6484 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.7034, allocations: 288 kB / 0.6487 GB, free: 3.777 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.00357/0.7069, allocations: 0.6011 MB / 0.6493 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.7083, allocations: 0.6098 MB / 0.6499 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.7126, allocations: 2.992 MB / 0.6528 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001682/0.7143, allocations: 1.301 MB / 0.6541 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.7143, allocations: 16 kB / 0.6541 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.7143, allocations: 15.94 kB / 0.6541 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.7282, allocations: 8.06 MB / 0.662 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7282, allocations: 8 kB / 0.662 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7296, allocations: 0.5336 MB / 0.6625 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.7312, allocations: 0.7478 MB / 0.6632 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.7314, allocations: 75.97 kB / 0.6633 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2098/0.9412, allocations: 12.74 MB / 0.6757 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.9412, allocations: 6.688 kB / 0.6757 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/0.9474, allocations: 3.872 MB / 0.6795 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/0.9494, allocations: 0.7915 MB / 0.6803 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007297/0.9502, allocations: 68.73 kB / 0.6804 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.9514, allocations: 107.3 kB / 0.6805 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000558/0.952, allocations: 270 kB / 0.6807 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.9522, allocations: 82.77 kB / 0.6808 GB, free: 123 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002736/0.9549, allocations: 1.949 MB / 0.6827 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9549, allocations: 0 / 0.6827 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005738/0.9606, allocations: 1.759 MB / 0.6844 GB, free: 122.8 MB / 0.4948 GB 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.0005694/0.9612, allocations: 263.4 kB / 0.6847 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005692/0.9669, allocations: 3.974 MB / 0.6886 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.9669, allocations: 2.016 kB / 0.6886 GB, free: 122 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.9694, allocations: 2.362 MB / 0.6909 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/0.9732, allocations: 1.094 MB / 0.6919 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.9991, allocations: 15.61 MB / 0.7072 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/1.002, allocations: 2.69 MB / 0.7098 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003037/1.005, allocations: 0.7752 MB / 0.7106 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.007, allocations: 1.155 MB / 0.7117 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.675e-06/1.007, allocations: 0 / 0.7117 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.09724/1.105, allocations: 68.39 MB / 0.7785 GB, free: 53.11 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: 6.729275871999562]