Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.001001/0.001001, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001098/0.001098, allocations: 169.5 kB / 25.61 MB, free: 8.914 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.9241/0.9241, allocations: 177 MB / 205.9 MB, free: 4.445 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.1439/0.1439, allocations: 34.88 MB / 297.4 MB, free: 13.32 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.984e-05, allocations: 5.625 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.009899/0.009919, allocations: 16.53 MB / 396.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007174/0.01709, allocations: 5.583 MB / 402.2 MB, free: 448 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.0192, allocations: 135.2 kB / 402.4 MB, free: 312 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.02175, allocations: 1.262 MB / 403.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.02568, allocations: 1.688 MB / 405.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.02757, allocations: 1.083 MB / 406.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006397/0.03396, allocations: 5.428 MB / 411.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.03692, allocations: 2.235 MB / 414 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.04122, allocations: 3.724 MB / 417.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.04424, allocations: 2.494 MB / 420.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009939/0.04523, allocations: 0.6055 MB / 420.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.04649, allocations: 0.8394 MB / 421.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.04736, allocations: 1.464 MB / 423.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.04958, allocations: 1.805 MB / 425 MB, free: 9.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.05425, allocations: 4.264 MB / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.05426, allocations: 0 / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05426, allocations: 0 / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.05438, allocations: 0 / 429.2 MB, free: 5.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.007502/0.06188, allocations: 5.506 MB / 434.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.06193, allocations: 15.95 kB / 434.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.06503, allocations: 1.387 MB / 436.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.06893, allocations: 2.729 MB / 438.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.06911, allocations: 300.5 kB / 439.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/0.06951, allocations: 406.4 kB / 439.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/0.07352, allocations: 2.94 MB / 442.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.07359, allocations: 4 kB / 442.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.07383, allocations: 164 kB / 442.7 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.07395, allocations: 176 kB / 442.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.07583, allocations: 1.195 MB / 444 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.09144, allocations: 13.42 MB / 457.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.09399, allocations: 2.244 MB / 459.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.09559, allocations: 1.218 MB / 460.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004826/0.1004, allocations: 3.124 MB / 464.1 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.1005, allocations: 54.7 kB / 464.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 2.786e-06/0.1005, allocations: 0 / 464.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.005375/0.1058, allocations: 3.012 MB / 467.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1059, allocations: 68.72 kB / 467.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.1078, allocations: 1.826 MB / 469 MB, free: 12.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.1079, allocations: 53.7 kB / 469.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009635/0.1089, allocations: 2.037 MB / 471.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.1092, allocations: 0.5966 MB / 471.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.1097, allocations: 433.5 kB / 472.1 MB, free: 9.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1098, allocations: 476.8 kB / 472.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.1101, allocations: 232.1 kB / 472.8 MB, free: 8.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.1109, allocations: 1.289 MB / 474.1 MB, free: 7.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.1125, allocations: 1.706 MB / 475.8 MB, free: 5.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.1125, allocations: 4 kB / 475.8 MB, free: 5.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002251/0.1148, allocations: 1.715 MB / 477.5 MB, free: 3.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.1148, allocations: 20.09 kB / 477.5 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.1148, allocations: 27.98 kB / 477.6 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.1151, allocations: 123.3 kB / 477.7 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1161, allocations: 0.4992 MB / 478.2 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.1176, allocations: 2.363 MB / 480.6 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.1187, allocations: 87.89 kB / 480.6 MB, free: 68 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.1188, allocations: 80.03 kB / 480.7 MB, free: 15.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008441/0.1197, allocations: 311.8 kB / 481 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.12, allocations: 286.5 kB / 481.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.122, allocations: 1.278 MB / 482.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.122, allocations: 16 kB / 482.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.122, allocations: 4 kB / 482.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.122, allocations: 11.97 kB / 482.6 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.1264, allocations: 3.262 MB / 485.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1264, allocations: 0 / 485.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.127, allocations: 263.8 kB / 486.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.1276, allocations: 284 kB / 486.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.1277, allocations: 39.98 kB / 486.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.1318, allocations: 7.248 MB / 493.7 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1318, allocations: 4.062 kB / 493.7 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.1341, allocations: 1.742 MB / 495.4 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.1348, allocations: 374.3 kB / 495.8 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.1349, allocations: 32 kB / 495.8 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.1354, allocations: 67.95 kB / 495.9 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.1356, allocations: 117 kB / 496 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.1357, allocations: 39.97 kB / 496.1 MB, free: 112 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1518/0.2875, allocations: 0.9336 MB / 497 MB, free: 89.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2875, allocations: 3.75 kB / 497 MB, free: 89.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002505/0.29, allocations: 0.6663 MB / 497.7 MB, free: 89.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004652/0.2904, allocations: 179.4 kB / 497.8 MB, free: 89.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2922, allocations: 1.221 MB / 499.1 MB, free: 89.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2922, allocations: 3.344 kB / 499.1 MB, free: 89.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.2931, allocations: 1.138 MB / 0.4885 GB, free: 88.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.2948, allocations: 0.531 MB / 0.489 GB, free: 88.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/0.3026, allocations: 6.091 MB / 0.4949 GB, free: 86.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/0.3035, allocations: 0.9452 MB / 0.4959 GB, free: 86.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.3045, allocations: 317.1 kB / 0.4962 GB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008903/0.3054, allocations: 0.5948 MB / 0.4968 GB, free: 85.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3054, allocations: 0 / 0.4968 GB, free: 85.85 MB / 410.7 MB Notification: Performance of Templates: time 0.04042/0.3458, allocations: 32.38 MB / 0.5284 GB, free: 62.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0513919978402555]