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.0007425/0.0007425, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009666/0.001709, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007136/0.0007136, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001652, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9082/0.9082, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07664/0.9849, allocations: 53.86 MB / 243.9 MB, free: 14.87 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.2415/0.2415, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0224/0.2639, allocations: 13.23 MB / 292.8 MB, free: 6.41 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.372e-06/1.372e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.607e-05, allocations: 3.625 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01725/0.01728, allocations: 23.84 MB / 318 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.02967, allocations: 7.662 MB / 325.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.03326, allocations: 186.9 kB / 325.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.03667, allocations: 1.655 MB / 327.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.04276, allocations: 2.421 MB / 330 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.04585, allocations: 1.5 MB / 331.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008172/0.05402, allocations: 7.603 MB / 339.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004773/0.0588, allocations: 3.111 MB / 342.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008845/0.06764, allocations: 5.577 MB / 347.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.0725, allocations: 3.433 MB / 351.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.074, allocations: 0.8633 MB / 352 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.07672, allocations: 1.28 MB / 353.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.07823, allocations: 1.761 MB / 355.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.08114, allocations: 2.149 MB / 357.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.08815, allocations: 5.693 MB / 362.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.08817, allocations: 4 kB / 362.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.08817, allocations: 0 / 362.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002186/0.08839, allocations: 0 / 362.9 MB, free: 15.88 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.01181/0.1002, allocations: 8.588 MB / 371.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1002, allocations: 11.44 kB / 371.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.1046, allocations: 1.694 MB / 373.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005095/0.1097, allocations: 2.715 MB / 375.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.11, allocations: 427.8 kB / 376.4 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007404/0.1107, allocations: 0.5589 MB / 376.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005265/0.116, allocations: 4.28 MB / 381.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.843e-05/0.1161, allocations: 19.81 kB / 381.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.1164, allocations: 240 kB / 381.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.1166, allocations: 255.3 kB / 381.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.1194, allocations: 1.687 MB / 383.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.1375, allocations: 15.29 MB / 398.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.1401, allocations: 2.423 MB / 401.1 MB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.1413, allocations: 1.059 MB / 402.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.1416, allocations: 126.3 kB / 402.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.1416, allocations: 68.95 kB / 402.3 MB, free: 7.516 MB / 394.7 MB Notification: Performance of pre-optimization done (n=310): time 5.02e-06/0.1416, allocations: 0 / 402.3 MB, free: 7.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=359): time 0.01372/0.1553, allocations: 7.651 MB / 410 MB, free: 15.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1554, allocations: 86.2 kB / 410.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.1575, allocations: 2.201 MB / 412.3 MB, free: 13.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.1577, allocations: 85.69 kB / 412.4 MB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.1585, allocations: 2.195 MB / 414.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006109/0.1591, allocations: 1.266 MB / 415.8 MB, free: 9.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006135/0.1598, allocations: 0.666 MB / 416.5 MB, free: 9.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.1598, allocations: 309.1 kB / 416.8 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.1604, allocations: 461.9 kB / 417.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.1617, allocations: 1.599 MB / 418.8 MB, free: 6.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.1636, allocations: 2.601 MB / 421.4 MB, free: 3.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.1637, allocations: 8 kB / 421.5 MB, free: 3.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.003048/0.1667, allocations: 2.592 MB / 424 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1667, allocations: 20 kB / 424.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.1668, allocations: 36 kB / 424.1 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008062/0.1676, allocations: 461.7 kB / 424.6 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.1698, allocations: 1.034 MB / 425.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.1746, allocations: 7.128 MB / 432.7 MB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.1766, allocations: 155.8 kB / 432.9 MB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.1769, allocations: 152 kB / 433 MB, free: 7.258 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (480): * Single equations (assignments): 470 * 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,15,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001199/0.1781, allocations: 379.3 kB / 433.4 MB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/0.1787, allocations: 343.7 kB / 433.7 MB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.1813, allocations: 2.099 MB / 435.8 MB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/0.1813, allocations: 47.92 kB / 435.9 MB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.1813, allocations: 8 kB / 435.9 MB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.1814, allocations: 19.92 kB / 435.9 MB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1569/0.3383, allocations: 6.299 MB / 442.2 MB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.3383, allocations: 9.938 kB / 442.2 MB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.3398, allocations: 0.6707 MB / 442.9 MB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.3411, allocations: 456.7 kB / 443.3 MB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.3422, allocations: 0.5611 MB / 443.9 MB, free: 91.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.3424, allocations: 83.64 kB / 444 MB, free: 91.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004661/0.347, allocations: 9.857 MB / 453.8 MB, free: 83.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.347, allocations: 13.69 kB / 453.8 MB, free: 83.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.3508, allocations: 3.03 MB / 456.9 MB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/0.3514, allocations: 74.06 kB / 456.9 MB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.3524, allocations: 123.8 kB / 457.1 MB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.3528, allocations: 274 kB / 457.3 MB, free: 82.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.3529, allocations: 80.61 kB / 457.4 MB, free: 82.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.3542, allocations: 1.121 MB / 458.5 MB, free: 82.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3542, allocations: 0 / 458.5 MB, free: 82.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002907/0.3571, allocations: 1.141 MB / 459.7 MB, free: 82.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (312): * Single equations (assignments): 302 * 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.0005136/0.3576, allocations: 303.5 kB / 460 MB, free: 82.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.3606, allocations: 2.626 MB / 462.6 MB, free: 81.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001048/0.3607, allocations: 72.28 kB / 462.7 MB, free: 81.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.3625, allocations: 2.086 MB / 464.7 MB, free: 80.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/0.3662, allocations: 7.377 MB / 472.1 MB, free: 73.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04772/0.4139, allocations: 9.451 MB / 481.6 MB, free: 69.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.4153, allocations: 1.175 MB / 482.7 MB, free: 68.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001945/0.4173, allocations: 0.5322 MB / 483.3 MB, free: 68.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/0.419, allocations: 0.8191 MB / 484.1 MB, free: 67.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/0.419, allocations: 0 / 484.1 MB, free: 67.75 MB / 426.7 MB Notification: Performance of Templates: time 0.06679/0.4857, allocations: 56.96 MB / 0.5284 GB, free: 15.62 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.248748581856489]