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.0008294/0.0008294, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.001936, 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.0008646/0.0008646, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002846/0.003711, 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.9553/0.9553, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07693/1.032, 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.2225/0.2225, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02118/0.2436, 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_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.332e-06/1.332e-06, allocations: 0 / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.829e-05, allocations: 3.078 kB / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0157/0.01571, allocations: 16.72 MB / 310.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008901/0.02461, allocations: 5.854 MB / 316.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.02619, allocations: 127.2 kB / 316.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.02872, allocations: 1.306 MB / 317.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.03166, allocations: 1.673 MB / 319.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.03332, allocations: 1.1 MB / 320.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004699/0.03802, allocations: 5.464 MB / 326.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.0405, allocations: 2.297 MB / 328.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.04479, allocations: 4.06 MB / 332.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.04743, allocations: 2.502 MB / 335 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006558/0.04808, allocations: 0.6055 MB / 335.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.04924, allocations: 0.8433 MB / 336.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009187/0.05016, allocations: 1.181 MB / 337.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.05198, allocations: 1.494 MB / 339.2 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.05584, allocations: 4.038 MB / 343.2 MB, free: 3.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.05586, allocations: 4 kB / 343.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05586, allocations: 0 / 343.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.111e-05/0.05592, allocations: 3.984 kB / 343.2 MB, free: 3.527 MB / 330.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.008106/0.06403, allocations: 6.202 MB / 349.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.06406, allocations: 12.92 kB / 349.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.06797, allocations: 1.304 MB / 350.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.07102, allocations: 1.883 MB / 352.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/0.07147, allocations: 308.5 kB / 352.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.07195, allocations: 404.1 kB / 353.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.07583, allocations: 3.005 MB / 356.3 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.218e-05/0.0759, allocations: 3.984 kB / 356.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.07619, allocations: 164 kB / 356.5 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.07634, allocations: 172 kB / 356.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.07858, allocations: 1.198 MB / 357.8 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.09425, allocations: 10.67 MB / 368.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.09756, allocations: 1.983 MB / 370.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.09977, allocations: 1.155 MB / 371.6 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005565/0.1053, allocations: 2.512 MB / 374.2 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.1056, allocations: 47.88 kB / 374.2 MB, free: 3.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=157): time 4.448e-06/0.1056, allocations: 4 kB / 374.2 MB, free: 3.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=160): time 0.006631/0.1123, allocations: 2.742 MB / 377 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1123, allocations: 68.72 kB / 377 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.114, allocations: 1.539 MB / 378.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.279e-05/0.1141, allocations: 57.7 kB / 378.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.1151, allocations: 1.626 MB / 380.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.1155, allocations: 0.5654 MB / 380.8 MB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/0.1161, allocations: 387.7 kB / 381.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1163, allocations: 305.1 kB / 381.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.1168, allocations: 239.3 kB / 381.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000898/0.1177, allocations: 0.9474 MB / 382.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.1193, allocations: 1.419 MB / 384.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.1194, allocations: 4 kB / 384.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002196/0.1215, allocations: 1.361 MB / 385.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1216, allocations: 20.03 kB / 385.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.1216, allocations: 20 kB / 385.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.1219, allocations: 128.3 kB / 385.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.1235, allocations: 0.6046 MB / 386.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.1246, allocations: 1.711 MB / 387.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.1252, allocations: 84 kB / 388 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/0.1253, allocations: 79.98 kB / 388.1 MB, free: 4.934 MB / 378.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.0005037/0.1258, allocations: 248 kB / 388.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.126, allocations: 191.7 kB / 388.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1273, allocations: 1.101 MB / 389.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.1273, allocations: 16 kB / 389.6 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1273, allocations: 4 kB / 389.6 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1273, allocations: 7.969 kB / 389.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.1303, allocations: 2.622 MB / 392.3 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1303, allocations: 4 kB / 392.3 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.1311, allocations: 382.2 kB / 392.6 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.1317, allocations: 250.4 kB / 392.9 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.1321, allocations: 258.3 kB / 393.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.1322, allocations: 39.92 kB / 393.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/0.135, allocations: 5.288 MB / 398.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.135, allocations: 4 kB / 398.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.1365, allocations: 1.445 MB / 399.9 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.1367, allocations: 32 kB / 400 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.1373, allocations: 63.97 kB / 400 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.1375, allocations: 113.1 kB / 400.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.1375, allocations: 31.98 kB / 400.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.1381, allocations: 0.7631 MB / 400.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1381, allocations: 0 / 400.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001205/0.1393, allocations: 0.6679 MB / 401.6 MB, free: 6.98 MB / 394.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.0002245/0.1396, allocations: 164 kB / 401.7 MB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1406, allocations: 1.067 MB / 402.8 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.954e-05/0.1407, allocations: 40.42 kB / 402.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.1415, allocations: 0.9253 MB / 403.8 MB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.1426, allocations: 0.692 MB / 404.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.1662, allocations: 6.223 MB / 410.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.1669, allocations: 0.793 MB / 411.5 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008351/0.1678, allocations: 319.4 kB / 411.8 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.1686, allocations: 0.5264 MB / 412.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1686, allocations: 0 / 412.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of Templates: time 0.1568/0.3254, allocations: 33.39 MB / 445.7 MB, free: 106.7 MB / 426.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: 3.704719180241227]