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.001114/0.001114, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001095/0.001095, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9484/0.9484, allocations: 177 MB / 205.2 MB, free: 5.523 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.2464/0.2464, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.402e-06/1.402e-06, allocations: 0 / 378.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.206e-05, allocations: 2.312 kB / 378.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03015/0.03017, allocations: 41.05 MB / 419.9 MB, free: 9.066 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02025/0.05042, allocations: 11.3 MB / 431.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006205/0.05663, allocations: 358.1 kB / 431.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.06709, allocations: 8.411 MB / 440 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008826/0.07592, allocations: 3.77 MB / 443.8 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1537/0.2297, allocations: 2.331 MB / 446.1 MB, free: 48.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.2417, allocations: 13.08 MB / 459.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/0.2617, allocations: 15.59 MB / 474.8 MB, free: 40 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.2753, allocations: 9.747 MB / 484.5 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.2866, allocations: 6.757 MB / 491.3 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004859/0.2915, allocations: 1.824 MB / 493.1 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.2977, allocations: 2.261 MB / 495.4 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.301, allocations: 3.779 MB / 499.1 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008658/0.3097, allocations: 4.833 MB / 0.4922 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.3249, allocations: 11.67 MB / 0.5035 GB, free: 23.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3249, allocations: 0 / 0.5035 GB, free: 23.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3249, allocations: 4.281 kB / 0.5036 GB, free: 23.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006382/0.3255, allocations: 0 / 0.5036 GB, free: 23.32 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.02813/0.3536, allocations: 15.18 MB / 0.5184 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3537, allocations: 8.031 kB / 0.5184 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.37, allocations: 6.791 MB / 0.525 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.3815, allocations: 7.423 MB / 0.5323 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/0.3821, allocations: 0.8362 MB / 0.5331 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/0.3856, allocations: 1.087 MB / 0.5341 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02462/0.4102, allocations: 9.329 MB / 0.5432 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.4105, allocations: 7.953 kB / 0.5433 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000958/0.4114, allocations: 461.9 kB / 0.5437 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000409/0.4118, allocations: 0.5773 MB / 0.5443 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.4242, allocations: 4.865 MB / 0.549 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05787/0.482, allocations: 45.12 MB / 0.5931 GB, free: 3.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.4901, allocations: 6.45 MB / 0.5994 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.4927, allocations: 1.572 MB / 0.6009 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008764/0.5014, allocations: 5.959 MB / 0.6067 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.5015, allocations: 76.14 kB / 0.6068 GB, free: 6.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 5.019e-06/0.5015, allocations: 0 / 0.6068 GB, free: 6.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.1678/0.6693, allocations: 11 MB / 0.6175 GB, free: 148.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.6694, allocations: 113 kB / 0.6176 GB, free: 148.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/0.6748, allocations: 4.447 MB / 0.622 GB, free: 147.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004848/0.6753, allocations: 80.86 kB / 0.6221 GB, free: 147.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/0.6776, allocations: 5.626 MB / 0.6276 GB, free: 144.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009238/0.6785, allocations: 1.264 MB / 0.6288 GB, free: 144 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.6798, allocations: 1.383 MB / 0.6301 GB, free: 143.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.6799, allocations: 480.7 kB / 0.6306 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.6814, allocations: 0.8888 MB / 0.6315 GB, free: 143.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.6839, allocations: 5.09 MB / 0.6364 GB, free: 138.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00488/0.6887, allocations: 6.503 MB / 0.6428 GB, free: 132.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.39e-05/0.6888, allocations: 26.06 kB / 0.6428 GB, free: 132.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.007586/0.6964, allocations: 5.852 MB / 0.6485 GB, free: 131.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.6964, allocations: 48.44 kB / 0.6486 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-05/0.6965, allocations: 94.44 kB / 0.6487 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.698, allocations: 0.7968 MB / 0.6494 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.7006, allocations: 1.465 MB / 0.6509 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/0.7066, allocations: 8.923 MB / 0.6596 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.71, allocations: 387.6 kB / 0.66 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/0.7104, allocations: 340 kB / 0.6603 GB, free: 123.8 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.002614/0.713, allocations: 0.5904 MB / 0.6609 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009712/0.714, allocations: 0.6076 MB / 0.6615 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/0.7189, allocations: 3.332 MB / 0.6647 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002059/0.7209, allocations: 1.503 MB / 0.6662 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.721, allocations: 11 kB / 0.6662 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.721, allocations: 16.5 kB / 0.6662 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.7348, allocations: 10.48 MB / 0.6764 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.7348, allocations: 7.031 kB / 0.6765 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.7361, allocations: 0.5741 MB / 0.677 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.7377, allocations: 0.7681 MB / 0.6778 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.7378, allocations: 87.19 kB / 0.6778 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.7446, allocations: 13.06 MB / 0.6906 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7446, allocations: 11.72 kB / 0.6906 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.7503, allocations: 4.317 MB / 0.6948 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.7516, allocations: 0.8507 MB / 0.6957 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/0.752, allocations: 65.11 kB / 0.6957 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.7531, allocations: 188.9 kB / 0.6959 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/0.7536, allocations: 277 kB / 0.6962 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.7537, allocations: 101.5 kB / 0.6963 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002538/0.7563, allocations: 2.142 MB / 0.6984 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7563, allocations: 0 / 0.6984 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004358/0.7606, allocations: 1.768 MB / 0.7001 GB, free: 101.8 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.0004381/0.7611, allocations: 270.2 kB / 0.7003 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.7664, allocations: 4.318 MB / 0.7046 GB, free: 98.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7664, allocations: 1.938 kB / 0.7046 GB, free: 98.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.7686, allocations: 2.506 MB / 0.707 GB, free: 96.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.7713, allocations: 1.085 MB / 0.7081 GB, free: 95.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.7887, allocations: 15.73 MB / 0.7234 GB, free: 81.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.7909, allocations: 2.689 MB / 0.7261 GB, free: 79.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003349/0.7943, allocations: 1.568 MB / 0.7276 GB, free: 78.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/0.795, allocations: 383.9 kB / 0.7279 GB, free: 77.71 MB / 490.7 MB Notification: Performance of SimCode: time 2.244e-06/0.795, allocations: 0 / 0.7279 GB, free: 77.71 MB / 490.7 MB Notification: Performance of Templates: time 0.07247/0.8675, allocations: 61.83 MB / 0.7883 GB, free: 17.84 MB / 490.7 MB " [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.4002474409062415]