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.00104/0.00104, 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.001046/0.001046, 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.918/0.918, 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.2379/0.2379, 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.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.433e-06/1.433e-06, allocations: 0 / 378.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.718e-05, allocations: 2.312 kB / 378.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01845/0.01847, allocations: 24.46 MB / 403.3 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02957, allocations: 7.308 MB / 410.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.03172, allocations: 186.9 kB / 410.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.03417, allocations: 1.611 MB / 412.4 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.03767, allocations: 2.433 MB / 414.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.03981, allocations: 1.493 MB / 416.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.04519, allocations: 7.578 MB / 423.9 MB, free: 5.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.04812, allocations: 3.044 MB / 427 MB, free: 1.914 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/0.05246, allocations: 4.893 MB / 431.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.05519, allocations: 3.511 MB / 435.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.05587, allocations: 0.8711 MB / 436.2 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.0572, allocations: 1.28 MB / 437.5 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.05862, allocations: 2.228 MB / 439.8 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.06041, allocations: 2.619 MB / 442.4 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1481/0.2085, allocations: 6.113 MB / 448.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2085, allocations: 0 / 448.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2085, allocations: 0 / 448.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.2087, allocations: 0 / 448.5 MB, free: 64.27 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.009146/0.2179, allocations: 7.809 MB / 456.3 MB, free: 61.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2179, allocations: 11.5 kB / 456.3 MB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.2219, allocations: 1.895 MB / 458.2 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.226, allocations: 3.984 MB / 462.2 MB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.2262, allocations: 426.4 kB / 462.6 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004797/0.2267, allocations: 0.5576 MB / 463.2 MB, free: 60.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005705/0.2324, allocations: 4.572 MB / 467.7 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.2325, allocations: 3.312 kB / 467.7 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.2328, allocations: 241.8 kB / 468 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.233, allocations: 262 kB / 468.2 MB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.2373, allocations: 2.167 MB / 470.4 MB, free: 59.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.256, allocations: 19.1 MB / 489.5 MB, free: 48.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.2596, allocations: 2.842 MB / 492.3 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.2615, allocations: 1.289 MB / 493.6 MB, free: 47.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005876/0.2674, allocations: 4.29 MB / 497.9 MB, free: 45.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.2674, allocations: 66.38 kB / 498 MB, free: 44.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 3.888e-06/0.2674, allocations: 0 / 498 MB, free: 44.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01192/0.2794, allocations: 7.634 MB / 0.4938 GB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2794, allocations: 83.17 kB / 0.4938 GB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.2818, allocations: 2.692 MB / 0.4965 GB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.2819, allocations: 76 kB / 0.4965 GB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009724/0.2829, allocations: 2.891 MB / 0.4994 GB, free: 38.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.2833, allocations: 1.026 MB / 0.5004 GB, free: 37.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.2839, allocations: 0.662 MB / 0.501 GB, free: 37.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.2839, allocations: 480.8 kB / 0.5015 GB, free: 37.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.2848, allocations: 0.5358 MB / 0.502 GB, free: 37.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.2862, allocations: 2.298 MB / 0.5042 GB, free: 34.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.2889, allocations: 3.144 MB / 0.5073 GB, free: 32.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.2889, allocations: 17.75 kB / 0.5073 GB, free: 32.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.004227/0.2932, allocations: 3.326 MB / 0.5106 GB, free: 30.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.2932, allocations: 20 kB / 0.5106 GB, free: 30.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.2932, allocations: 48 kB / 0.5106 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.2942, allocations: 475.3 kB / 0.5111 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.2958, allocations: 0.8422 MB / 0.5119 GB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.3003, allocations: 9.755 MB / 0.5214 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.3018, allocations: 212.2 kB / 0.5216 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.302, allocations: 163.7 kB / 0.5218 GB, free: 19.21 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.001237/0.3032, allocations: 408 kB / 0.5222 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.3037, allocations: 472.4 kB / 0.5226 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.3068, allocations: 2.418 MB / 0.525 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.3068, allocations: 28 kB / 0.525 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3068, allocations: 11.84 kB / 0.525 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.3068, allocations: 18.19 kB / 0.5251 GB, free: 16.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007374/0.3142, allocations: 6.481 MB / 0.5314 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3142, allocations: 4 kB / 0.5314 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.3152, allocations: 483 kB / 0.5318 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3162, allocations: 0.5278 MB / 0.5324 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.3164, allocations: 75.02 kB / 0.5324 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.3222, allocations: 13.87 MB / 0.546 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3222, allocations: 11.78 kB / 0.546 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.3267, allocations: 3.356 MB / 0.5493 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/0.3276, allocations: 0.638 MB / 0.5499 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.3279, allocations: 63.11 kB / 0.5499 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/0.3288, allocations: 143.9 kB / 0.5501 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.3291, allocations: 228.6 kB / 0.5503 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.3293, allocations: 83.95 kB / 0.5504 GB, free: 6.695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001628/0.3309, allocations: 1.481 MB / 0.5518 GB, free: 5.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3309, allocations: 0 / 0.5518 GB, free: 5.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002462/0.3334, allocations: 1.094 MB / 0.5529 GB, free: 4.129 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.0004649/0.3338, allocations: 293 kB / 0.5532 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.3373, allocations: 2.976 MB / 0.5561 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3373, allocations: 4 kB / 0.5561 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.3395, allocations: 2.284 MB / 0.5583 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.3416, allocations: 0.7704 MB / 0.5591 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.3526, allocations: 9.183 MB / 0.568 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3537, allocations: 1.323 MB / 0.5693 GB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001473/0.3552, allocations: 0.701 MB / 0.57 GB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.3557, allocations: 248.5 kB / 0.5703 GB, free: 2.184 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3557, allocations: 0 / 0.5703 GB, free: 2.184 MB / 442.7 MB Notification: Performance of Templates: time 0.1773/0.533, allocations: 45.98 MB / 0.6152 GB, free: 149.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.449090210022405]