Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.0009564/0.0009564, 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.0009503/0.0009503, allocations: 160.5 kB / 24.56 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.919/0.919, allocations: 177 MB / 204.8 MB, free: 5.582 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.2858/0.2858, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.127e-05, allocations: 2.312 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02775/0.02777, allocations: 24.59 MB / 403.5 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.04556, allocations: 7.331 MB / 410.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/0.05029, allocations: 182.9 kB / 411 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.0545, allocations: 1.611 MB / 412.6 MB, free: 132 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.06154, allocations: 2.433 MB / 415 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.06471, allocations: 1.489 MB / 416.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008614/0.07333, allocations: 7.577 MB / 424.1 MB, free: 4.578 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.0781, allocations: 3.044 MB / 427.1 MB, free: 1.449 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.08515, allocations: 4.889 MB / 432 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005313/0.09046, allocations: 3.519 MB / 435.5 MB, free: 9.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.09248, allocations: 0.8711 MB / 436.4 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.09535, allocations: 1.284 MB / 437.7 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.09762, allocations: 2.228 MB / 439.9 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.101, allocations: 2.619 MB / 442.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1683/0.2693, allocations: 6.108 MB / 448.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2693, allocations: 2.875 kB / 448.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2693, allocations: 0 / 448.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003673/0.2697, allocations: 2.594 kB / 448.7 MB, free: 64.41 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01284/0.2825, allocations: 7.811 MB / 456.5 MB, free: 61.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2826, allocations: 10.66 kB / 456.5 MB, free: 61.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.2869, allocations: 1.896 MB / 458.4 MB, free: 61.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.2929, allocations: 3.972 MB / 462.3 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.2932, allocations: 428.8 kB / 462.8 MB, free: 60.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000726/0.2939, allocations: 0.5656 MB / 463.3 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008846/0.3027, allocations: 4.574 MB / 467.9 MB, free: 59.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.303, allocations: 6.516 kB / 467.9 MB, free: 59.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000566/0.3035, allocations: 239.2 kB / 468.1 MB, free: 59.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002904/0.3038, allocations: 258.9 kB / 468.4 MB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004869/0.3087, allocations: 2.168 MB / 470.6 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02383/0.3325, allocations: 19.1 MB / 489.7 MB, free: 48.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.3365, allocations: 2.843 MB / 492.5 MB, free: 47.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.3385, allocations: 1.295 MB / 493.8 MB, free: 47.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007464/0.346, allocations: 4.291 MB / 498.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3461, allocations: 62.25 kB / 498.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.799e-06/0.3461, allocations: 0 / 498.2 MB, free: 45.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01365/0.3597, allocations: 7.634 MB / 0.4939 GB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3597, allocations: 82.81 kB / 0.494 GB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.3631, allocations: 2.703 MB / 0.4966 GB, free: 41.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3633, allocations: 72.02 kB / 0.4967 GB, free: 41.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.3645, allocations: 2.892 MB / 0.4995 GB, free: 38.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/0.365, allocations: 1.026 MB / 0.5005 GB, free: 38.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007638/0.3658, allocations: 0.6623 MB / 0.5012 GB, free: 37.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.3658, allocations: 476.8 kB / 0.5016 GB, free: 37.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3671, allocations: 0.5356 MB / 0.5022 GB, free: 37.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.3688, allocations: 2.297 MB / 0.5044 GB, free: 34.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/0.3722, allocations: 3.146 MB / 0.5075 GB, free: 32.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.313e-05/0.3722, allocations: 11 kB / 0.5075 GB, free: 32.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.005638/0.3778, allocations: 3.336 MB / 0.5108 GB, free: 30.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.3779, allocations: 20 kB / 0.5108 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-05/0.3779, allocations: 43.94 kB / 0.5108 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.3791, allocations: 480.8 kB / 0.5113 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.3813, allocations: 0.8372 MB / 0.5121 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.387, allocations: 9.753 MB / 0.5216 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.3894, allocations: 202.3 kB / 0.5218 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.3896, allocations: 179.8 kB / 0.522 GB, free: 19.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00149/0.3911, allocations: 394.5 kB / 0.5224 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/0.3918, allocations: 473.4 kB / 0.5228 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.396, allocations: 2.412 MB / 0.5252 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-05/0.396, allocations: 36 kB / 0.5252 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/0.396, allocations: 11.66 kB / 0.5252 GB, free: 16.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.396, allocations: 14.34 kB / 0.5252 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.4069, allocations: 6.49 MB / 0.5316 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.407, allocations: 4 kB / 0.5316 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.4084, allocations: 488.9 kB / 0.532 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.4098, allocations: 0.532 MB / 0.5325 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.41, allocations: 75.88 kB / 0.5326 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/0.4181, allocations: 13.85 MB / 0.5461 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4181, allocations: 7.562 kB / 0.5462 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/0.4243, allocations: 3.35 MB / 0.5494 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.426, allocations: 0.6419 MB / 0.55 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/0.4265, allocations: 63.98 kB / 0.5501 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.4277, allocations: 151.8 kB / 0.5503 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.4281, allocations: 217.2 kB / 0.5505 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.4282, allocations: 87.97 kB / 0.5505 GB, free: 6.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002202/0.4304, allocations: 1.481 MB / 0.552 GB, free: 5.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4304, allocations: 0 / 0.552 GB, free: 5.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003016/0.4334, allocations: 1.094 MB / 0.5531 GB, free: 4.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005306/0.434, allocations: 297.3 kB / 0.5533 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.438, allocations: 2.971 MB / 0.5562 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.438, allocations: 0 / 0.5562 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.4404, allocations: 2.295 MB / 0.5585 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.4428, allocations: 0.7705 MB / 0.5592 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.4562, allocations: 9.19 MB / 0.5682 GB, free: 4.414 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.4576, allocations: 1.327 MB / 0.5695 GB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001934/0.4595, allocations: 0.6855 MB / 0.5702 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.4601, allocations: 252.4 kB / 0.5704 GB, free: 2.125 MB / 442.7 MB Notification: Performance of SimCode: time 2.355e-06/0.4601, allocations: 0 / 0.5704 GB, free: 2.125 MB / 442.7 MB Notification: Performance of Templates: time 0.2121/0.6722, allocations: 45.98 MB / 0.6153 GB, free: 119.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.970232873223722]