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.001073/0.001073, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001252/0.001252, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.8996/0.8996, allocations: 177 MB / 205.2 MB, free: 5.055 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.2426/0.2426, allocations: 34.86 MB / 296.6 MB, free: 484 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_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.443e-06/1.443e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.538e-05, allocations: 6.172 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01241/0.01243, allocations: 16.56 MB / 342.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00836/0.02079, allocations: 5.814 MB / 348.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.02209, allocations: 135.2 kB / 348.5 MB, free: 492 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.02412, allocations: 1.283 MB / 349.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.0265, allocations: 1.696 MB / 351.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.02791, allocations: 1.099 MB / 352.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.03166, allocations: 5.447 MB / 358 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.03353, allocations: 2.297 MB / 360.3 MB, free: 4.504 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.03664, allocations: 3.727 MB / 364.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.03863, allocations: 2.506 MB / 366.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005011/0.03914, allocations: 0.6055 MB / 367.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009244/0.04006, allocations: 0.8393 MB / 368 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009/0.04096, allocations: 1.468 MB / 369.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.04227, allocations: 1.797 MB / 371.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.0454, allocations: 4.268 MB / 375.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.04541, allocations: 0 / 375.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04541, allocations: 0 / 375.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.04545, allocations: 0 / 375.5 MB, free: 5.258 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.005604/0.05105, allocations: 5.213 MB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.05108, allocations: 8.031 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.05372, allocations: 1.308 MB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.05617, allocations: 1.887 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.05631, allocations: 304.5 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.05667, allocations: 408 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.05955, allocations: 3 MB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/0.0596, allocations: 0 / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.05983, allocations: 168 kB / 387.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.05994, allocations: 176 kB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.06163, allocations: 1.19 MB / 389.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.07203, allocations: 10.61 MB / 399.8 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.07411, allocations: 1.99 MB / 401.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.07548, allocations: 1.151 MB / 402.9 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003374/0.07886, allocations: 2.519 MB / 405.5 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.07889, allocations: 51.81 kB / 405.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 2.775e-06/0.07889, allocations: 0 / 405.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.003771/0.08266, allocations: 2.738 MB / 408.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.0827, allocations: 68.72 kB / 408.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.08376, allocations: 1.539 MB / 409.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.08383, allocations: 57.7 kB / 409.9 MB, free: 2.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.08445, allocations: 1.633 MB / 411.5 MB, free: 380 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.0848, allocations: 0.5655 MB / 412.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.08514, allocations: 387.7 kB / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.0852, allocations: 305.1 kB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.08552, allocations: 235.3 kB / 413 MB, free: 14.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.08611, allocations: 0.9474 MB / 414 MB, free: 13.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.08771, allocations: 1.415 MB / 415.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.08772, allocations: 8 kB / 415.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00218/0.0899, allocations: 1.361 MB / 416.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.08993, allocations: 16 kB / 416.8 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.08995, allocations: 24 kB / 416.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.09026, allocations: 129.2 kB / 416.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.09174, allocations: 0.4914 MB / 417.4 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.09326, allocations: 1.71 MB / 419.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.09428, allocations: 83.94 kB / 419.2 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.09442, allocations: 79.98 kB / 419.3 MB, free: 7.844 MB / 394.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.0006311/0.09505, allocations: 255.9 kB / 419.5 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.09536, allocations: 191.8 kB / 419.7 MB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.0973, allocations: 1.082 MB / 420.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.09732, allocations: 27.88 kB / 420.8 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.09732, allocations: 4 kB / 420.8 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.09734, allocations: 7.969 kB / 420.8 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.1019, allocations: 2.615 MB / 423.4 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.1019, allocations: 3.984 kB / 423.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/0.1028, allocations: 267.8 kB / 423.7 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/0.1035, allocations: 250.2 kB / 424 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.1036, allocations: 43.98 kB / 424 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.1081, allocations: 5.324 MB / 429.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1082, allocations: 3.984 kB / 429.3 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.1105, allocations: 1.453 MB / 430.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.111, allocations: 246.4 kB / 431 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.1113, allocations: 36 kB / 431.1 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.112, allocations: 67.86 kB / 431.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.1122, allocations: 125 kB / 431.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.1123, allocations: 31.98 kB / 431.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009153/0.1132, allocations: 0.7553 MB / 432 MB, free: 10.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1132, allocations: 4 kB / 432 MB, free: 10.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002049/0.1152, allocations: 0.6679 MB / 432.7 MB, free: 9.957 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.0003212/0.1156, allocations: 156.3 kB / 432.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.1173, allocations: 1.067 MB / 433.9 MB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.892e-05/0.1174, allocations: 30.19 kB / 434 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.1186, allocations: 0.9196 MB / 434.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.1203, allocations: 0.5213 MB / 435.4 MB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.1294, allocations: 5.918 MB / 441.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.1303, allocations: 0.7704 MB / 442.1 MB, free: 432 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.1314, allocations: 323.2 kB / 442.4 MB, free: 104 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1268/0.2582, allocations: 0.5263 MB / 442.9 MB, free: 93.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.2582, allocations: 3.5 kB / 442.9 MB, free: 93.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04838/0.3066, allocations: 31.67 MB / 474.6 MB, free: 76.48 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: 3.601136635057628]