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.0006782/0.0006782, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001606, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006906/0.0006906, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009295/0.00162, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8908/0.8908, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07528/0.9661, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2549/0.2549, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02262/0.2775, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.292e-06/1.292e-06, allocations: 0 / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.463e-05, allocations: 2.312 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01644/0.01646, allocations: 23.84 MB / 317.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02852, allocations: 7.67 MB / 325.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.03115, allocations: 182.9 kB / 325.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.03381, allocations: 1.655 MB / 327.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.03815, allocations: 2.422 MB / 329.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.04021, allocations: 1.495 MB / 331.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005854/0.04606, allocations: 7.61 MB / 338.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.04907, allocations: 3.107 MB / 341.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.05441, allocations: 5.566 MB / 347.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.05714, allocations: 3.445 MB / 350.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000788/0.05792, allocations: 0.8594 MB / 351.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.05937, allocations: 1.284 MB / 353.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.06045, allocations: 1.742 MB / 354.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.06221, allocations: 2.153 MB / 357 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004745/0.06696, allocations: 5.708 MB / 362.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.06697, allocations: 4 kB / 362.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06697, allocations: 0 / 362.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.792e-05/0.06704, allocations: 0 / 362.7 MB, free: 15.96 MB / 362.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.008564/0.0756, allocations: 8.588 MB / 371.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.07564, allocations: 12.86 kB / 371.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.0789, allocations: 1.702 MB / 373 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.0828, allocations: 2.711 MB / 375.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.083, allocations: 419.8 kB / 376.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.08349, allocations: 0.5628 MB / 376.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/0.08765, allocations: 4.296 MB / 381 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.772e-05/0.08774, allocations: 11.89 kB / 381 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.08805, allocations: 236 kB / 381.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.08822, allocations: 267.3 kB / 381.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.09083, allocations: 1.672 MB / 383.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.1089, allocations: 15.29 MB / 398.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.1121, allocations: 2.428 MB / 400.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.1136, allocations: 1.047 MB / 401.9 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006177/0.1198, allocations: 3.342 MB / 405.3 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1198, allocations: 60.5 kB / 405.3 MB, free: 4.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 4.699e-06/0.1198, allocations: 4 kB / 405.3 MB, free: 4.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=282): time 0.01241/0.1323, allocations: 6.403 MB / 411.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1323, allocations: 81.59 kB / 411.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.1343, allocations: 2.271 MB / 414.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.1344, allocations: 69.7 kB / 414.1 MB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.1355, allocations: 2.33 MB / 416.5 MB, free: 9.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005913/0.1361, allocations: 1.003 MB / 417.5 MB, free: 8.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.1369, allocations: 0.6177 MB / 418.1 MB, free: 7.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.1369, allocations: 305.1 kB / 418.4 MB, free: 7.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/0.1378, allocations: 408.4 kB / 418.8 MB, free: 6.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.1391, allocations: 1.605 MB / 420.4 MB, free: 4.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.1414, allocations: 2.429 MB / 422.8 MB, free: 1.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.1414, allocations: 8 kB / 422.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.003668/0.1451, allocations: 2.441 MB / 425.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.1451, allocations: 24 kB / 425.3 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.1452, allocations: 39.94 kB / 425.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/0.1461, allocations: 449.7 kB / 425.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.1484, allocations: 0.9205 MB / 426.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/0.1535, allocations: 6.987 MB / 433.7 MB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.1549, allocations: 151.8 kB / 433.8 MB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.1551, allocations: 132 kB / 434 MB, free: 6.043 MB / 426.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.0008324/0.1559, allocations: 363.4 kB / 434.3 MB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.1564, allocations: 307.7 kB / 434.6 MB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.1592, allocations: 1.84 MB / 436.5 MB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.1592, allocations: 31.98 kB / 436.5 MB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1592, allocations: 8 kB / 436.5 MB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.1592, allocations: 11.95 kB / 436.5 MB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1474/0.3066, allocations: 5.053 MB / 441.6 MB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3066, allocations: 6 kB / 441.6 MB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.3078, allocations: 0.5331 MB / 442.1 MB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.309, allocations: 423.2 kB / 442.5 MB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.3104, allocations: 0.5535 MB / 443.1 MB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.3106, allocations: 65.19 kB / 443.1 MB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.3165, allocations: 9.85 MB / 453 MB, free: 84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.3165, allocations: 7.188 kB / 453 MB, free: 84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.3195, allocations: 2.535 MB / 455.5 MB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/0.32, allocations: 59.14 kB / 455.6 MB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.3208, allocations: 116.3 kB / 455.7 MB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.321, allocations: 209.3 kB / 455.9 MB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/0.3211, allocations: 63.7 kB / 456 MB, free: 83.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.3222, allocations: 1.147 MB / 457.1 MB, free: 83.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3222, allocations: 0 / 457.1 MB, free: 83.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002393/0.3246, allocations: 1.083 MB / 458.2 MB, free: 83.2 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.325, allocations: 276.9 kB / 458.5 MB, free: 83.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.3275, allocations: 2.367 MB / 460.8 MB, free: 82.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.386e-05/0.3275, allocations: 73.75 kB / 460.9 MB, free: 82.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.3289, allocations: 1.735 MB / 462.6 MB, free: 81.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.3307, allocations: 1.042 MB / 463.7 MB, free: 81.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/0.3667, allocations: 9.118 MB / 472.8 MB, free: 77.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.3681, allocations: 1.141 MB / 473.9 MB, free: 77.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001607/0.3697, allocations: 496.3 kB / 474.4 MB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.371, allocations: 0.7732 MB / 475.2 MB, free: 77.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.994e-06/0.371, allocations: 0 / 475.2 MB, free: 77.43 MB / 426.7 MB Notification: Performance of Templates: time 0.0601/0.4311, allocations: 50.85 MB / 0.5137 GB, free: 31.28 MB / 426.7 MB " [Timeout remaining time 660] 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.397367864847183]