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.0009218/0.0009218, allocations: 91.5 kB / 21.2 MB, free: 3.379 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.0009748/0.0009748, allocations: 156.5 kB / 24.55 MB, free: 24 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 1.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.215 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.2699/0.2699, allocations: 34.86 MB / 296.3 MB, free: 448 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.405e-06/2.405e-06, allocations: 0 / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.515e-05, allocations: 2.875 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03958/0.03962, allocations: 41.3 MB / 420.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.06235, allocations: 11.32 MB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009275/0.07163, allocations: 358.2 kB / 431.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.08499, allocations: 8.442 MB / 440.3 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.09689, allocations: 3.77 MB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1864/0.2833, allocations: 2.331 MB / 446.4 MB, free: 48.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.2984, allocations: 13.08 MB / 459.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02401/0.3225, allocations: 15.59 MB / 475.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01857/0.341, allocations: 9.744 MB / 484.8 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.3537, allocations: 6.783 MB / 491.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00611/0.3598, allocations: 1.822 MB / 493.4 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.3699, allocations: 2.258 MB / 495.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0077/0.3776, allocations: 3.78 MB / 499.5 MB, free: 30.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01317/0.3908, allocations: 4.833 MB / 0.4925 GB, free: 28.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/0.4118, allocations: 11.67 MB / 0.5039 GB, free: 23.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4118, allocations: 0 / 0.5039 GB, free: 23.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4118, allocations: 0 / 0.5039 GB, free: 23.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007715/0.4126, allocations: 0 / 0.5039 GB, free: 23.25 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.03319/0.4458, allocations: 15.17 MB / 0.5187 GB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4458, allocations: 12.03 kB / 0.5187 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/0.4659, allocations: 6.791 MB / 0.5253 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.4794, allocations: 7.423 MB / 0.5326 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005755/0.48, allocations: 0.8304 MB / 0.5334 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004777/0.4848, allocations: 1.092 MB / 0.5345 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/0.5141, allocations: 9.33 MB / 0.5436 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003427/0.5145, allocations: 15.94 kB / 0.5436 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002242/0.5167, allocations: 458.7 kB / 0.544 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007129/0.5174, allocations: 0.5846 MB / 0.5446 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.5345, allocations: 4.861 MB / 0.5493 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0781/0.6126, allocations: 45.12 MB / 0.5934 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009792/0.6224, allocations: 6.444 MB / 0.5997 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.6253, allocations: 1.566 MB / 0.6012 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.638, allocations: 5.963 MB / 0.607 GB, free: 6.262 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.638, allocations: 75.95 kB / 0.6071 GB, free: 6.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 7.053e-06/0.638, allocations: 0 / 0.6071 GB, free: 6.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.2389/0.877, allocations: 11.01 MB / 0.6179 GB, free: 99.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.877, allocations: 115.4 kB / 0.618 GB, free: 99.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006337/0.8833, allocations: 4.451 MB / 0.6223 GB, free: 98.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006961/0.884, allocations: 85.52 kB / 0.6224 GB, free: 98.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.8865, allocations: 5.612 MB / 0.6279 GB, free: 95.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.8878, allocations: 1.27 MB / 0.6291 GB, free: 95.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/0.8893, allocations: 1.382 MB / 0.6305 GB, free: 94.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.8893, allocations: 476.8 kB / 0.6309 GB, free: 94.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.891, allocations: 0.886 MB / 0.6318 GB, free: 94.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.8938, allocations: 5.094 MB / 0.6368 GB, free: 89.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/0.8991, allocations: 6.502 MB / 0.6431 GB, free: 84.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-05/0.8992, allocations: 29.31 kB / 0.6432 GB, free: 84.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.0091/0.9083, allocations: 5.836 MB / 0.6489 GB, free: 83.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.9084, allocations: 49.94 kB / 0.6489 GB, free: 83.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.9085, allocations: 95.72 kB / 0.649 GB, free: 83.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.9102, allocations: 0.8093 MB / 0.6498 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.9134, allocations: 1.461 MB / 0.6512 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/0.9207, allocations: 8.916 MB / 0.6599 GB, free: 77.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/0.9254, allocations: 383.5 kB / 0.6603 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008921/0.9263, allocations: 340 kB / 0.6606 GB, free: 77.43 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.003348/0.9296, allocations: 0.6002 MB / 0.6612 GB, free: 77.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/0.9308, allocations: 0.6089 MB / 0.6618 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/0.9362, allocations: 3.322 MB / 0.665 GB, free: 76.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002136/0.9384, allocations: 1.504 MB / 0.6665 GB, free: 76.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.9384, allocations: 9.625 kB / 0.6665 GB, free: 76.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.9384, allocations: 17.88 kB / 0.6665 GB, free: 76.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/0.9575, allocations: 10.48 MB / 0.6768 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.9575, allocations: 7.984 kB / 0.6768 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.959, allocations: 0.5885 MB / 0.6773 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.9609, allocations: 0.7653 MB / 0.6781 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.9612, allocations: 84.59 kB / 0.6782 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/0.9687, allocations: 13.06 MB / 0.6909 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9687, allocations: 3.5 kB / 0.6909 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/0.9755, allocations: 4.341 MB / 0.6952 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/0.9777, allocations: 0.8392 MB / 0.696 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.9782, allocations: 64.39 kB / 0.696 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.9794, allocations: 187.3 kB / 0.6962 GB, free: 61.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/0.98, allocations: 267.3 kB / 0.6965 GB, free: 61.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.9802, allocations: 104.8 kB / 0.6966 GB, free: 61.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003393/0.9836, allocations: 2.145 MB / 0.6987 GB, free: 60.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9836, allocations: 0 / 0.6987 GB, free: 60.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00615/0.9897, allocations: 1.771 MB / 0.7004 GB, free: 60.51 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.0006814/0.9904, allocations: 260.5 kB / 0.7007 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007702/0.9981, allocations: 4.324 MB / 0.7049 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.9981, allocations: 3.625 kB / 0.7049 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/1.001, allocations: 2.507 MB / 0.7073 GB, free: 57.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.005, allocations: 1.104 MB / 0.7084 GB, free: 57.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.029, allocations: 15.72 MB / 0.7238 GB, free: 45.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/1.032, allocations: 2.691 MB / 0.7264 GB, free: 43.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003355/1.035, allocations: 1.569 MB / 0.7279 GB, free: 42.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008519/1.036, allocations: 379 kB / 0.7283 GB, free: 42.28 MB / 490.7 MB Notification: Performance of SimCode: time 2.465e-06/1.036, allocations: 4 kB / 0.7283 GB, free: 42.27 MB / 490.7 MB Notification: Performance of Templates: time 0.08415/1.12, allocations: 61.84 MB / 0.7887 GB, free: 15.89 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.599015242885798]