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: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002416, 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.0006972/0.0006972, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001605, 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.9663/0.9663, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.068, allocations: 53.87 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.295/0.295, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02481/0.3198, allocations: 13.24 MB / 292.8 MB, free: 6.406 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.683e-06/1.683e-06, allocations: 0 / 294.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.258e-05, allocations: 2.969 kB / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01942/0.01944, allocations: 16.72 MB / 310.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.033, allocations: 5.854 MB / 316.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/0.03614, allocations: 131.2 kB / 316.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003133/0.03927, allocations: 1.31 MB / 318.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.04393, allocations: 1.677 MB / 319.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.04611, allocations: 1.09 MB / 320.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005963/0.05207, allocations: 5.463 MB / 326.4 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.05464, allocations: 2.294 MB / 328.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005043/0.05968, allocations: 4.064 MB / 332.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.06273, allocations: 2.518 MB / 335.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008976/0.06363, allocations: 0.6016 MB / 335.9 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.06543, allocations: 0.8472 MB / 336.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008031/0.06624, allocations: 1.173 MB / 337.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.06804, allocations: 1.497 MB / 339.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.07249, allocations: 4.022 MB / 343.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.0725, allocations: 0 / 343.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.07251, allocations: 0 / 343.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.908e-05/0.07261, allocations: 0 / 343.4 MB, free: 3.441 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.006969/0.07957, allocations: 6.202 MB / 349.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.07961, allocations: 15.44 kB / 349.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.08235, allocations: 1.308 MB / 351 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.08512, allocations: 1.879 MB / 352.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.08529, allocations: 312.4 kB / 353.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/0.08567, allocations: 408.1 kB / 353.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.08879, allocations: 3 MB / 356.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/0.08884, allocations: 0 / 356.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.08906, allocations: 168 kB / 356.7 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.08916, allocations: 168 kB / 356.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.09092, allocations: 1.198 MB / 358.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.103, allocations: 10.67 MB / 368.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.1051, allocations: 2.002 MB / 370.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.1064, allocations: 1.143 MB / 371.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.1066, allocations: 93.92 kB / 372 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1066, allocations: 56.56 kB / 372 MB, free: 6.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=219): time 3.537e-06/0.1066, allocations: 0 / 372 MB, free: 6.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.006229/0.1128, allocations: 3.717 MB / 375.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1129, allocations: 77.41 kB / 375.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.114, allocations: 1.502 MB / 377.3 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.114, allocations: 61.7 kB / 377.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.1146, allocations: 1.526 MB / 378.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.115, allocations: 0.7822 MB / 379.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.1154, allocations: 437 kB / 380.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.1155, allocations: 301.1 kB / 380.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.1159, allocations: 288.4 kB / 380.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.1165, allocations: 0.9624 MB / 381.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.1178, allocations: 1.558 MB / 383.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.1178, allocations: 8 kB / 383.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=325) (initialization): time 0.00172/0.1195, allocations: 1.504 MB / 384.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1195, allocations: 12 kB / 384.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.1195, allocations: 24 kB / 384.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.1198, allocations: 125.8 kB / 384.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.1213, allocations: 0.7707 MB / 385.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1225, allocations: 1.794 MB / 387.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.1234, allocations: 92 kB / 387.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.1235, allocations: 87.97 kB / 387.6 MB, free: 5.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (315): * Single equations (assignments): 313 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006851/0.1242, allocations: 275.8 kB / 387.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.1244, allocations: 223.8 kB / 388.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.126, allocations: 1.324 MB / 389.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.126, allocations: 20 kB / 389.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.126, allocations: 4 kB / 389.5 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.126, allocations: 11.95 kB / 389.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.1307, allocations: 3.67 MB / 393.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1307, allocations: 4 kB / 393.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/0.1317, allocations: 490.2 kB / 393.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.1322, allocations: 282.2 kB / 393.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.1327, allocations: 280 kB / 394.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.1328, allocations: 47.98 kB / 394.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.1359, allocations: 5.29 MB / 399.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1359, allocations: 4 kB / 399.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.1377, allocations: 1.824 MB / 401.3 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.1379, allocations: 51.98 kB / 401.4 MB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/0.1385, allocations: 67.97 kB / 401.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.1387, allocations: 165.6 kB / 401.6 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.1387, allocations: 47.97 kB / 401.7 MB, free: 7.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006229/0.1393, allocations: 0.7458 MB / 402.4 MB, free: 6.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1393, allocations: 0 / 402.4 MB, free: 6.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001617/0.141, allocations: 0.7187 MB / 403.1 MB, free: 5.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (192): * Single equations (assignments): 189 * 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.0003025/0.1413, allocations: 184 kB / 403.3 MB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.1428, allocations: 1.288 MB / 404.6 MB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.215e-05/0.1428, allocations: 42.77 kB / 404.6 MB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.144, allocations: 1.184 MB / 405.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.1468, allocations: 5.293 MB / 411.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.1717, allocations: 6.48 MB / 417.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.1724, allocations: 0.808 MB / 418.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.1735, allocations: 365.1 kB / 418.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/0.1745, allocations: 0.5733 MB / 419.3 MB, free: 4.172 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1745, allocations: 0 / 419.3 MB, free: 4.172 MB / 410.7 MB Notification: Performance of Templates: time 0.1669/0.3413, allocations: 36.49 MB / 455.8 MB, free: 100.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.633972119539976]