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.001368/0.001368, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001491/0.001491, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.043 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.3/0.3, allocations: 34.85 MB / 296.6 MB, free: 472 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.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 2.044e-06/2.044e-06, allocations: 0 / 326.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.509e-05, allocations: 5.406 kB / 326.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02951/0.02954, allocations: 39.41 MB / 365.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02682/0.05636, allocations: 11.88 MB / 377.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008808/0.06516, allocations: 362.1 kB / 377.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.07832, allocations: 8.34 MB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.09192, allocations: 3.762 MB / 389.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006696/0.09861, allocations: 2.325 MB / 392.2 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.1148, allocations: 13.1 MB / 405.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02772/0.1425, allocations: 15.97 MB / 421.2 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01949/0.162, allocations: 9.933 MB / 431.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.1737, allocations: 6.888 MB / 438.1 MB, free: 6.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005363/0.1791, allocations: 1.812 MB / 439.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007903/0.187, allocations: 2.272 MB / 442.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2096/0.3966, allocations: 3.749 MB / 445.9 MB, free: 49.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01263/0.4092, allocations: 4.811 MB / 450.7 MB, free: 49.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02012/0.4294, allocations: 11.61 MB / 462.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4294, allocations: 3.406 kB / 462.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4294, allocations: 2.688 kB / 462.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005864/0.4299, allocations: 0 / 462.3 MB, free: 48.55 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.03182/0.4618, allocations: 13.73 MB / 476 MB, free: 44.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4618, allocations: 10.16 kB / 476.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/0.4837, allocations: 5.685 MB / 481.7 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.4959, allocations: 4.346 MB / 486.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008406/0.4967, allocations: 0.8283 MB / 486.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004206/0.5009, allocations: 1.099 MB / 488 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/0.5285, allocations: 8.733 MB / 496.7 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004455/0.5289, allocations: 21.73 kB / 496.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003151/0.5321, allocations: 456.8 kB / 497.2 MB, free: 37.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003959/0.5325, allocations: 0.5773 MB / 497.8 MB, free: 36.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.5454, allocations: 4.118 MB / 0.4901 GB, free: 32.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06261/0.608, allocations: 34.68 MB / 0.524 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/0.6167, allocations: 4.63 MB / 0.5285 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.6189, allocations: 1.245 MB / 0.5297 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009727/0.6287, allocations: 4.607 MB / 0.5342 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.6287, allocations: 69.03 kB / 0.5343 GB, free: 4.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=313): time 4.348e-06/0.6287, allocations: 0 / 0.5343 GB, free: 4.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.01449/0.6432, allocations: 7.298 MB / 0.5414 GB, free: 13.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.6433, allocations: 116.4 kB / 0.5415 GB, free: 13.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.6481, allocations: 3.455 MB / 0.5449 GB, free: 10.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.6484, allocations: 77.7 kB / 0.545 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.651, allocations: 4.809 MB / 0.5497 GB, free: 5.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.6521, allocations: 1.241 MB / 0.5509 GB, free: 4.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.6537, allocations: 1.176 MB / 0.5521 GB, free: 3.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.6538, allocations: 309 kB / 0.5523 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.6553, allocations: 0.7787 MB / 0.5531 GB, free: 2.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.6581, allocations: 3.476 MB / 0.5565 GB, free: 13.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/0.6632, allocations: 4.856 MB / 0.5612 GB, free: 8.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.498e-05/0.6632, allocations: 28 kB / 0.5613 GB, free: 8.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.007527/0.6708, allocations: 4.34 MB / 0.5655 GB, free: 4.551 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.6708, allocations: 44 kB / 0.5655 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.6709, allocations: 96 kB / 0.5656 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.6727, allocations: 0.7283 MB / 0.5664 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.677, allocations: 1.46 MB / 0.5678 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.6834, allocations: 6.47 MB / 0.5741 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.6875, allocations: 279.6 kB / 0.5744 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005006/0.688, allocations: 280 kB / 0.5746 GB, free: 11.21 MB / 474.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.002618/0.6906, allocations: 0.5569 MB / 0.5752 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000933/0.6915, allocations: 399.6 kB / 0.5756 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.696, allocations: 2.505 MB / 0.578 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001732/0.6977, allocations: 1.002 MB / 0.579 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.6978, allocations: 12 kB / 0.579 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.6978, allocations: 19.88 kB / 0.579 GB, free: 6.855 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.7109, allocations: 6.411 MB / 0.5853 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7109, allocations: 8 kB / 0.5853 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.7123, allocations: 0.5607 MB / 0.5858 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.7137, allocations: 0.6946 MB / 0.5865 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.7139, allocations: 71.97 kB / 0.5866 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007088/0.721, allocations: 9.591 MB / 0.5959 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.721, allocations: 11.38 kB / 0.596 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.7257, allocations: 3.21 MB / 0.5991 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7272, allocations: 0.5368 MB / 0.5996 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004955/0.7277, allocations: 64 kB / 0.5997 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7287, allocations: 112 kB / 0.5998 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005416/0.7293, allocations: 257.8 kB / 0.6 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.7294, allocations: 75.95 kB / 0.6001 GB, free: 1.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002252/0.7317, allocations: 1.624 MB / 0.6017 GB, free: 176 kB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7317, allocations: 0 / 0.6017 GB, free: 176 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.006362/0.7381, allocations: 1.762 MB / 0.6034 GB, free: 14.41 MB / 0.4949 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.0006816/0.7387, allocations: 248.5 kB / 0.6036 GB, free: 14.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.005312/0.744, allocations: 3.425 MB / 0.607 GB, free: 11.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.0001494/0.7442, allocations: 75.94 kB / 0.6071 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.7465, allocations: 1.949 MB / 0.609 GB, free: 9.117 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/0.7503, allocations: 1.073 MB / 0.61 GB, free: 8.086 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/0.9386, allocations: 15.38 MB / 0.625 GB, free: 137 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/0.9421, allocations: 2.002 MB / 0.627 GB, free: 136.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002675/0.9447, allocations: 0.7738 MB / 0.6277 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/0.9467, allocations: 1.04 MB / 0.6288 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of SimCode: time 2.314e-06/0.9467, allocations: 0 / 0.6288 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.09556/1.042, allocations: 67.42 MB / 0.6946 GB, free: 92.11 MB / 0.4949 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 -s gbode -gbm=radauIIA3 -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.398586557712406]