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.001265/0.001265, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009715/0.0009715, allocations: 162.7 kB / 24.99 MB, free: 8.801 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.9107/0.9107, allocations: 177 MB / 205.2 MB, free: 5.598 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.2528/0.2528, allocations: 34.86 MB / 296.6 MB, free: 480 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 2.264e-06/2.264e-06, allocations: 0 / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.592e-05, allocations: 2.312 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01311/0.01313, allocations: 17.11 MB / 395.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.0201, allocations: 5.616 MB / 401.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.02115, allocations: 135.2 kB / 401.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.02306, allocations: 1.262 MB / 403 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.0254, allocations: 1.677 MB / 404.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.0267, allocations: 1.107 MB / 405.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.03015, allocations: 5.4 MB / 411.1 MB, free: 1.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.03212, allocations: 2.239 MB / 413.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.03703, allocations: 3.368 MB / 416.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.04125, allocations: 2.408 MB / 419.2 MB, free: 9.758 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.04244, allocations: 0.6094 MB / 419.8 MB, free: 9.148 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.0443, allocations: 0.8472 MB / 420.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.04554, allocations: 1.488 MB / 422.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.04835, allocations: 1.812 MB / 423.9 MB, free: 4.992 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.05432, allocations: 4.295 MB / 428.2 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.05432, allocations: 0 / 428.2 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.05433, allocations: 3.984 kB / 428.2 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.731e-05/0.05442, allocations: 4 kB / 428.2 MB, free: 0.6758 MB / 394.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.007738/0.06216, allocations: 5.693 MB / 433.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.0622, allocations: 11.97 kB / 433.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/0.06758, allocations: 1.52 MB / 435.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/0.07234, allocations: 2.862 MB / 438.3 MB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.07257, allocations: 304.5 kB / 438.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/0.07311, allocations: 408.1 kB / 439 MB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.07823, allocations: 3.198 MB / 442.2 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.07829, allocations: 3.953 kB / 442.2 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.07854, allocations: 164 kB / 442.4 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.07867, allocations: 176 kB / 442.5 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.08161, allocations: 1.53 MB / 444.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1435/0.2251, allocations: 13.5 MB / 457.6 MB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.2278, allocations: 2.423 MB / 460 MB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.2294, allocations: 1.314 MB / 461.3 MB, free: 91.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00385/0.2333, allocations: 3.244 MB / 464.5 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2333, allocations: 56.42 kB / 464.6 MB, free: 89.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 3.767e-06/0.2333, allocations: 0 / 464.6 MB, free: 89.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.005313/0.2386, allocations: 3.749 MB / 468.3 MB, free: 87.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2387, allocations: 70.69 kB / 468.4 MB, free: 87.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.2403, allocations: 1.869 MB / 470.3 MB, free: 87.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.2404, allocations: 55.95 kB / 470.3 MB, free: 87.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.2411, allocations: 2.022 MB / 472.4 MB, free: 85.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.2414, allocations: 0.5912 MB / 472.9 MB, free: 85.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.2417, allocations: 416.8 kB / 473.4 MB, free: 85.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.2418, allocations: 479.8 kB / 473.8 MB, free: 84.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.2423, allocations: 304.6 kB / 474.1 MB, free: 84.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.2431, allocations: 1.353 MB / 475.5 MB, free: 83.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.2445, allocations: 1.821 MB / 477.3 MB, free: 81.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.2445, allocations: 7.469 kB / 477.3 MB, free: 81.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002208/0.2467, allocations: 1.87 MB / 479.2 MB, free: 80.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.2467, allocations: 15.22 kB / 479.2 MB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.2468, allocations: 24.22 kB / 479.2 MB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.2471, allocations: 132.3 kB / 479.3 MB, free: 80.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.2481, allocations: 0.5127 MB / 479.9 MB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2492, allocations: 2.418 MB / 482.3 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.2502, allocations: 103.5 kB / 482.4 MB, free: 78.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2503, allocations: 94.28 kB / 482.5 MB, free: 78.54 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.000631/0.2509, allocations: 311.5 kB / 482.8 MB, free: 78.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.2512, allocations: 292 kB / 483.1 MB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.2535, allocations: 1.407 MB / 484.5 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2535, allocations: 15 kB / 484.5 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2535, allocations: 10.09 kB / 484.5 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2535, allocations: 6.469 kB / 484.5 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/0.259, allocations: 4.06 MB / 488.6 MB, free: 75.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.259, allocations: 1.125 kB / 488.6 MB, free: 75.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.2598, allocations: 279.5 kB / 488.8 MB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006656/0.2604, allocations: 294 kB / 489.1 MB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.2605, allocations: 38.47 kB / 489.2 MB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.2642, allocations: 7.42 MB / 496.6 MB, free: 68.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2642, allocations: 6.25 kB / 496.6 MB, free: 68.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.2668, allocations: 1.911 MB / 498.5 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.2674, allocations: 408.6 kB / 498.9 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.2676, allocations: 33.62 kB / 498.9 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.2681, allocations: 75.78 kB / 499 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.2683, allocations: 124 kB / 499.1 MB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.2684, allocations: 46.53 kB / 499.2 MB, free: 67.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.2696, allocations: 1.037 MB / 0.4885 GB, free: 67.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2696, allocations: 0 / 0.4885 GB, free: 67.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001667/0.2712, allocations: 0.6741 MB / 0.4891 GB, free: 67.29 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.0002826/0.2715, allocations: 179.2 kB / 0.4893 GB, free: 67.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.2732, allocations: 1.354 MB / 0.4906 GB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2732, allocations: 0 / 0.4906 GB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009454/0.2741, allocations: 1.198 MB / 0.4918 GB, free: 65.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.2753, allocations: 0.5335 MB / 0.4923 GB, free: 65.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/0.2825, allocations: 6.132 MB / 0.4983 GB, free: 61.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.2833, allocations: 0.9339 MB / 0.4992 GB, free: 60.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.2844, allocations: 467.4 kB / 0.4997 GB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.2847, allocations: 161 kB / 0.4998 GB, free: 60.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2847, allocations: 0 / 0.4998 GB, free: 60.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03468/0.3193, allocations: 29.95 MB / 0.5291 GB, free: 32.71 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.685245452914387]