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.0008791/0.0008791, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.0009499/0.0009499, allocations: 162.9 kB / 24.82 MB, free: 9.27 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.9017/0.9017, allocations: 177 MB / 205.1 MB, free: 5.465 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.2549/0.2549, allocations: 34.87 MB / 296.6 MB, free: 452 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.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 8.92e-07/8.92e-07, allocations: 0 / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.71e-05, allocations: 2.312 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01764/0.01765, allocations: 23.61 MB / 403 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.03122, allocations: 7.304 MB / 410.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.03526, allocations: 179 kB / 410.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.03809, allocations: 1.603 MB / 412 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.04256, allocations: 2.441 MB / 414.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.04459, allocations: 1.484 MB / 416 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006216/0.05081, allocations: 7.577 MB / 423.5 MB, free: 5.293 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.05391, allocations: 3.04 MB / 426.6 MB, free: 2.168 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.05859, allocations: 5.138 MB / 431.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.06174, allocations: 3.453 MB / 435.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007438/0.06249, allocations: 0.8555 MB / 436 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.06397, allocations: 1.272 MB / 437.3 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.06509, allocations: 2.177 MB / 439.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.06717, allocations: 2.58 MB / 442.1 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1506/0.2177, allocations: 6.052 MB / 448.1 MB, free: 64.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2178, allocations: 2.656 kB / 448.1 MB, free: 64.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2178, allocations: 0 / 448.1 MB, free: 64.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001645/0.2179, allocations: 3.719 kB / 448.1 MB, free: 64.77 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.007605/0.2255, allocations: 7.565 MB / 455.7 MB, free: 62.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2256, allocations: 8.375 kB / 455.7 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.2287, allocations: 1.836 MB / 457.5 MB, free: 61.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.2327, allocations: 3.826 MB / 461.3 MB, free: 60.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.2329, allocations: 432.6 kB / 461.8 MB, free: 60.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/0.2334, allocations: 0.5584 MB / 462.3 MB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003885/0.2373, allocations: 4.2 MB / 466.5 MB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-05/0.2374, allocations: 10.98 kB / 466.5 MB, free: 59.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.2377, allocations: 228.7 kB / 466.8 MB, free: 59.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.2378, allocations: 260.6 kB / 467 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.24, allocations: 1.716 MB / 468.7 MB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.2559, allocations: 18.86 MB / 487.6 MB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.2588, allocations: 2.666 MB / 490.3 MB, free: 49.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.2603, allocations: 1.147 MB / 491.4 MB, free: 49.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/0.267, allocations: 4.071 MB / 495.5 MB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.267, allocations: 64.39 kB / 495.5 MB, free: 47.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.729e-06/0.267, allocations: 4 kB / 495.5 MB, free: 47.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01179/0.2788, allocations: 6.367 MB / 0.4902 GB, free: 45.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2789, allocations: 85.36 kB / 0.4902 GB, free: 45.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.2814, allocations: 2.62 MB / 0.4928 GB, free: 44.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.2815, allocations: 73.39 kB / 0.4929 GB, free: 44.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.2828, allocations: 2.923 MB / 0.4957 GB, free: 42.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004996/0.2833, allocations: 1.035 MB / 0.4967 GB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007506/0.284, allocations: 0.6853 MB / 0.4974 GB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.284, allocations: 480.7 kB / 0.4979 GB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.2847, allocations: 416.5 kB / 0.4983 GB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.2859, allocations: 2.188 MB / 0.5004 GB, free: 38.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.2881, allocations: 2.926 MB / 0.5032 GB, free: 36.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.2881, allocations: 11.53 kB / 0.5033 GB, free: 36.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.003854/0.292, allocations: 3.019 MB / 0.5062 GB, free: 35.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.292, allocations: 29.2 kB / 0.5062 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.292, allocations: 38.28 kB / 0.5063 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/0.2929, allocations: 467.5 kB / 0.5067 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.2948, allocations: 0.78 MB / 0.5075 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.2992, allocations: 9.541 MB / 0.5168 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.3006, allocations: 154.9 kB / 0.5169 GB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.3008, allocations: 135.9 kB / 0.5171 GB, free: 25.59 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.0009469/0.3018, allocations: 404.8 kB / 0.5175 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.3023, allocations: 461.7 kB / 0.5179 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.3052, allocations: 2.186 MB / 0.52 GB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.3052, allocations: 35.89 kB / 0.5201 GB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3052, allocations: 8 kB / 0.5201 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.3052, allocations: 17.86 kB / 0.5201 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/0.312, allocations: 6.232 MB / 0.5262 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.312, allocations: 8 kB / 0.5262 GB, free: 18.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.3129, allocations: 448.5 kB / 0.5266 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008103/0.3137, allocations: 0.4983 MB / 0.5271 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.3138, allocations: 73.23 kB / 0.5272 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004407/0.3182, allocations: 13.5 MB / 0.5404 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3182, allocations: 7.656 kB / 0.5404 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.3212, allocations: 3.006 MB / 0.5433 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.3219, allocations: 0.6028 MB / 0.5439 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.3221, allocations: 63.98 kB / 0.544 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/0.3228, allocations: 107.9 kB / 0.5441 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.3231, allocations: 209.3 kB / 0.5443 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.3232, allocations: 67.97 kB / 0.5443 GB, free: 15.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.3244, allocations: 1.353 MB / 0.5456 GB, free: 14.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3244, allocations: 0 / 0.5456 GB, free: 14.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002627/0.327, allocations: 1.078 MB / 0.5467 GB, free: 13.54 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.0004228/0.3274, allocations: 291.4 kB / 0.547 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.3304, allocations: 2.763 MB / 0.5497 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3304, allocations: 4 kB / 0.5497 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.3321, allocations: 2.145 MB / 0.5518 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.3338, allocations: 0.7747 MB / 0.5525 GB, free: 7.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3438, allocations: 9.071 MB / 0.5614 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3449, allocations: 1.319 MB / 0.5627 GB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001355/0.3462, allocations: 494.3 kB / 0.5631 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.3475, allocations: 0.861 MB / 0.564 GB, free: 11.78 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3475, allocations: 0 / 0.564 GB, free: 11.78 MB / 442.7 MB Notification: Performance of Templates: time 0.1803/0.5278, allocations: 48.76 MB / 0.6116 GB, free: 119.8 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.424689466133714]