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.0009397/0.0009397, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009089/0.0009089, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9305/0.9305, allocations: 177 MB / 204.8 MB, free: 5.598 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.2643/0.2643, allocations: 34.86 MB / 296.3 MB, free: 484 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.174e-06/2.174e-06, allocations: 0 / 378.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.244e-05, allocations: 3.859 kB / 378.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03615/0.03618, allocations: 41.28 MB / 420.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02311/0.05929, allocations: 11.33 MB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008513/0.06781, allocations: 362.1 kB / 431.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.08134, allocations: 8.422 MB / 440.3 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.09365, allocations: 3.781 MB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1864/0.28, allocations: 2.326 MB / 446.4 MB, free: 48.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.2935, allocations: 13.09 MB / 459.5 MB, free: 45.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02286/0.3164, allocations: 15.59 MB / 475.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.3326, allocations: 9.907 MB / 485 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.3441, allocations: 6.793 MB / 491.8 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005742/0.3498, allocations: 1.814 MB / 493.6 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008523/0.3584, allocations: 2.25 MB / 495.8 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005519/0.3639, allocations: 3.76 MB / 499.6 MB, free: 30.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.375, allocations: 4.803 MB / 0.4926 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01864/0.3936, allocations: 11.62 MB / 0.5039 GB, free: 23.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3937, allocations: 0 / 0.5039 GB, free: 23.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3937, allocations: 3.312 kB / 0.5039 GB, free: 23.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008465/0.3945, allocations: 0 / 0.5039 GB, free: 23.35 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.03196/0.4265, allocations: 15.13 MB / 0.5187 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4265, allocations: 8.031 kB / 0.5187 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.4444, allocations: 6.791 MB / 0.5254 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.457, allocations: 7.424 MB / 0.5326 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004959/0.4575, allocations: 0.8319 MB / 0.5334 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/0.4604, allocations: 1.091 MB / 0.5345 GB, free: 340 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.4863, allocations: 9.311 MB / 0.5436 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.4865, allocations: 19.91 kB / 0.5436 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/0.4881, allocations: 457.7 kB / 0.544 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004239/0.4885, allocations: 0.5812 MB / 0.5446 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.5028, allocations: 4.852 MB / 0.5493 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08289/0.5857, allocations: 45.01 MB / 0.5933 GB, free: 3.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009332/0.5951, allocations: 6.461 MB / 0.5996 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.5976, allocations: 1.571 MB / 0.6011 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.608, allocations: 5.948 MB / 0.6069 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.6081, allocations: 68.39 kB / 0.607 GB, free: 6.348 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 5.31e-06/0.6081, allocations: 3.469 kB / 0.607 GB, free: 6.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.214/0.8221, allocations: 10.99 MB / 0.6177 GB, free: 99.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.8222, allocations: 114.8 kB / 0.6179 GB, free: 99.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/0.8279, allocations: 4.432 MB / 0.6222 GB, free: 99.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006191/0.8285, allocations: 80.8 kB / 0.6223 GB, free: 99.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00239/0.8309, allocations: 5.609 MB / 0.6277 GB, free: 96.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.8321, allocations: 1.269 MB / 0.629 GB, free: 95.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/0.8335, allocations: 1.369 MB / 0.6303 GB, free: 95.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.8335, allocations: 479.8 kB / 0.6308 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.8351, allocations: 0.8772 MB / 0.6316 GB, free: 94.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.8377, allocations: 5.096 MB / 0.6366 GB, free: 89.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/0.8426, allocations: 6.491 MB / 0.6429 GB, free: 84.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.629e-05/0.8427, allocations: 25.88 kB / 0.643 GB, free: 84.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.008801/0.8515, allocations: 5.836 MB / 0.6487 GB, free: 83.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.8515, allocations: 46.72 kB / 0.6487 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.8516, allocations: 93.78 kB / 0.6488 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.8532, allocations: 0.8004 MB / 0.6496 GB, free: 83.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.8562, allocations: 1.462 MB / 0.651 GB, free: 83.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.8629, allocations: 8.916 MB / 0.6597 GB, free: 77.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.867, allocations: 388.2 kB / 0.6601 GB, free: 77.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007488/0.8677, allocations: 339.2 kB / 0.6604 GB, free: 77.72 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.003124/0.8708, allocations: 0.5926 MB / 0.661 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/0.872, allocations: 0.6051 MB / 0.6616 GB, free: 77.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.8771, allocations: 3.318 MB / 0.6648 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002169/0.8792, allocations: 1.501 MB / 0.6663 GB, free: 76.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/0.8792, allocations: 11.22 kB / 0.6663 GB, free: 76.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.8793, allocations: 16.73 kB / 0.6663 GB, free: 76.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.8965, allocations: 10.47 MB / 0.6765 GB, free: 75.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8965, allocations: 3.531 kB / 0.6765 GB, free: 75.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.8979, allocations: 0.5777 MB / 0.6771 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.8997, allocations: 0.7619 MB / 0.6779 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.8999, allocations: 87.61 kB / 0.6779 GB, free: 75.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/0.907, allocations: 13.06 MB / 0.6907 GB, free: 64.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.907, allocations: 6.719 kB / 0.6907 GB, free: 64.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/0.9136, allocations: 4.332 MB / 0.6949 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/0.9156, allocations: 0.829 MB / 0.6957 GB, free: 61.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000523/0.9161, allocations: 66.33 kB / 0.6958 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.9173, allocations: 178.5 kB / 0.696 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/0.9178, allocations: 274.5 kB / 0.6962 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.918, allocations: 104.3 kB / 0.6963 GB, free: 61.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003276/0.9212, allocations: 2.129 MB / 0.6984 GB, free: 60.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9212, allocations: 0 / 0.6984 GB, free: 60.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007137/0.9284, allocations: 1.763 MB / 0.7001 GB, free: 60.68 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.0007711/0.9291, allocations: 271.7 kB / 0.7004 GB, free: 60.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007503/0.9366, allocations: 4.317 MB / 0.7046 GB, free: 59.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9366, allocations: 0 / 0.7046 GB, free: 59.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.94, allocations: 2.514 MB / 0.7071 GB, free: 57.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/0.9445, allocations: 1.08 MB / 0.7081 GB, free: 57.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/0.9716, allocations: 15.73 MB / 0.7235 GB, free: 45.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/0.9747, allocations: 2.693 MB / 0.7261 GB, free: 43.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00441/0.9791, allocations: 1.562 MB / 0.7276 GB, free: 42.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/0.9801, allocations: 376.5 kB / 0.728 GB, free: 42.62 MB / 490.7 MB Notification: Performance of SimCode: time 3.307e-06/0.9801, allocations: 0 / 0.728 GB, free: 42.62 MB / 490.7 MB Notification: Performance of Templates: time 0.09013/1.07, allocations: 64.51 MB / 0.791 GB, free: 13.67 MB / 0.5105 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.44935802789405]