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.00103/0.00103, 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.0009917/0.0009917, allocations: 154.5 kB / 24.69 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 0.9879/0.9879, allocations: 177 MB / 204.9 MB, free: 5.703 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.2566/0.2566, allocations: 34.87 MB / 296.2 MB, free: 0.5 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.933e-06/1.933e-06, allocations: 0 / 443.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.455e-05, allocations: 8.672 kB / 443.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2313/0.2313, allocations: 35.93 MB / 479.6 MB, free: 20.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.2539, allocations: 11.06 MB / 490.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008392/0.2623, allocations: 359.3 kB / 491 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.2733, allocations: 7.821 MB / 498.9 MB, free: 8.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.2847, allocations: 3.757 MB / 0.4908 GB, free: 5.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.2892, allocations: 2.294 MB / 0.4931 GB, free: 4.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.3016, allocations: 13.1 MB / 0.5059 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/0.3236, allocations: 15.58 MB / 0.5211 GB, free: 4.734 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.3377, allocations: 9.66 MB / 0.5305 GB, free: 12.15 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007806/0.3455, allocations: 6.084 MB / 0.5365 GB, free: 6.051 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00316/0.3487, allocations: 1.82 MB / 0.5382 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.3521, allocations: 2.261 MB / 0.5404 GB, free: 1.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.3546, allocations: 3.716 MB / 0.5441 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005736/0.3603, allocations: 4.772 MB / 0.5487 GB, free: 9.461 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.3797, allocations: 24.36 MB / 0.5725 GB, free: 1.031 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3797, allocations: 0 / 0.5725 GB, free: 1.031 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3797, allocations: 4 kB / 0.5725 GB, free: 1.027 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006448/0.3804, allocations: 0 / 0.5725 GB, free: 1.027 MB / 474.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.03486/0.4152, allocations: 14.32 MB / 0.5865 GB, free: 2.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4153, allocations: 8.031 kB / 0.5865 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.4298, allocations: 5.233 MB / 0.5916 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.4428, allocations: 7.733 MB / 0.5992 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004598/0.4433, allocations: 0.8307 MB / 0.6 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.4454, allocations: 1.09 MB / 0.6011 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/0.4697, allocations: 16.83 MB / 0.6175 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/0.4699, allocations: 15.89 kB / 0.6175 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009868/0.4709, allocations: 464 kB / 0.6179 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004191/0.4713, allocations: 0.5773 MB / 0.6185 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/0.4908, allocations: 14.73 MB / 0.6329 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4473/0.9381, allocations: 47.59 MB / 0.6794 GB, free: 105.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.9486, allocations: 7.553 MB / 0.6867 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.9521, allocations: 3.039 MB / 0.6897 GB, free: 102.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.9629, allocations: 8.188 MB / 0.6977 GB, free: 98.42 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.9629, allocations: 71.31 kB / 0.6978 GB, free: 98.36 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=313): time 3.877e-06/0.9629, allocations: 0 / 0.6978 GB, free: 98.36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=340): time 0.02012/0.9831, allocations: 16.3 MB / 0.7137 GB, free: 90.96 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.9831, allocations: 115.5 kB / 0.7138 GB, free: 90.86 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.9876, allocations: 4.988 MB / 0.7187 GB, free: 89.07 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.9878, allocations: 88.89 kB / 0.7188 GB, free: 88.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.9895, allocations: 5.368 MB / 0.724 GB, free: 85.25 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/0.9901, allocations: 1.24 MB / 0.7252 GB, free: 84.27 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.9912, allocations: 1.262 MB / 0.7264 GB, free: 83.52 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.9912, allocations: 301.1 kB / 0.7267 GB, free: 83.23 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.9935, allocations: 2.641 MB / 0.7293 GB, free: 81.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.9968, allocations: 5.489 MB / 0.7347 GB, free: 76.61 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005514/1.002, allocations: 8.515 MB / 0.743 GB, free: 67.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/1.002, allocations: 24 kB / 0.743 GB, free: 67.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.00833/1.011, allocations: 9.14 MB / 0.7519 GB, free: 57.96 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.011, allocations: 44 kB / 0.752 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.789e-05/1.011, allocations: 96 kB / 0.7521 GB, free: 57.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/1.012, allocations: 0.9165 MB / 0.753 GB, free: 56.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/1.014, allocations: 1.478 MB / 0.7544 GB, free: 55.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/1.021, allocations: 9.996 MB / 0.7642 GB, free: 45.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/1.023, allocations: 399.4 kB / 0.7646 GB, free: 44.74 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/1.024, allocations: 343.9 kB / 0.7649 GB, free: 44.4 MB / 0.5262 GB 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.004415/1.028, allocations: 3.745 MB / 0.7685 GB, free: 40.64 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/1.029, allocations: 0.5007 MB / 0.769 GB, free: 40.14 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/1.034, allocations: 5.674 MB / 0.7746 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002665/1.037, allocations: 3.045 MB / 0.7775 GB, free: 31.37 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.037, allocations: 8 kB / 0.7775 GB, free: 31.36 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.037, allocations: 23.92 kB / 0.7776 GB, free: 31.34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.049, allocations: 11.97 MB / 0.7893 GB, free: 19.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.049, allocations: 8 kB / 0.7893 GB, free: 19.32 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.05, allocations: 0.5974 MB / 0.7898 GB, free: 18.73 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/1.052, allocations: 0.9017 MB / 0.7907 GB, free: 17.81 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.052, allocations: 83.97 kB / 0.7908 GB, free: 17.73 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/1.059, allocations: 13.21 MB / 0.8037 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.059, allocations: 11.94 kB / 0.8037 GB, free: 4.023 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/1.067, allocations: 8.316 MB / 0.8118 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.069, allocations: 0.8948 MB / 0.8127 GB, free: 10.65 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/1.069, allocations: 75.88 kB / 0.8128 GB, free: 10.58 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.07, allocations: 199.7 kB / 0.813 GB, free: 10.38 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/1.071, allocations: 270.4 kB / 0.8132 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.071, allocations: 104 kB / 0.8133 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003601/1.075, allocations: 3.169 MB / 0.8164 GB, free: 6.855 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 0 / 0.8164 GB, free: 6.855 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.005176/1.08, allocations: 1.766 MB / 0.8182 GB, free: 5.09 MB / 0.5418 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.0005132/1.08, allocations: 274.9 kB / 0.8184 GB, free: 4.82 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.007896/1.088, allocations: 6.527 MB / 0.8248 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.088, allocations: 0 / 0.8248 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00335/1.092, allocations: 3.198 MB / 0.8279 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.094, allocations: 1.039 MB / 0.8289 GB, free: 9.996 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/1.117, allocations: 17.83 MB / 0.8463 GB, free: 8.078 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.122, allocations: 5.955 MB / 0.8522 GB, free: 2.086 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.123, allocations: 444.4 kB / 0.8526 GB, free: 1.652 MB / 0.573 GB Notification: Performance of SimCode: time 1.933e-06/1.123, allocations: 4 kB / 0.8526 GB, free: 1.648 MB / 0.573 GB Notification: Performance of Templates: time 0.6551/1.778, allocations: 395.4 MB / 1.239 GB, free: 53.9 MB / 0.5887 GB " [Timeout remaining time 658] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.772375604137778]