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.0009318/0.0009318, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009248/0.0009248, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9145/0.9145, allocations: 177 MB / 204.8 MB, free: 5.578 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.2297/0.2297, allocations: 34.86 MB / 296.3 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.482e-06/1.482e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.6e-05, allocations: 4.844 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01366/0.01367, allocations: 17.19 MB / 396.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008329/0.022, allocations: 5.632 MB / 401.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.02349, allocations: 131.2 kB / 401.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.02552, allocations: 1.262 MB / 403.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.02806, allocations: 1.684 MB / 404.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.02985, allocations: 1.098 MB / 405.9 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.03396, allocations: 5.419 MB / 411.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.03603, allocations: 2.239 MB / 413.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.03914, allocations: 3.72 MB / 417.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.04148, allocations: 2.483 MB / 419.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008139/0.0423, allocations: 0.6055 MB / 420.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.04335, allocations: 0.8393 MB / 421.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000758/0.04411, allocations: 1.472 MB / 422.6 MB, free: 5.945 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.04553, allocations: 1.797 MB / 424.4 MB, free: 4.145 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003246/0.04877, allocations: 4.256 MB / 428.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.04878, allocations: 0 / 428.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04878, allocations: 0 / 428.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.892e-05/0.04887, allocations: 0 / 428.7 MB, free: 15.88 MB / 410.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.00646/0.05533, allocations: 5.595 MB / 434.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.05536, allocations: 8.031 kB / 434.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.05819, allocations: 1.415 MB / 435.7 MB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.06118, allocations: 2.85 MB / 438.6 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.06132, allocations: 304.5 kB / 438.9 MB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/0.06168, allocations: 408 kB / 439.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.06568, allocations: 3.195 MB / 442.4 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.06573, allocations: 3.953 kB / 442.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.06596, allocations: 176 kB / 442.6 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.06607, allocations: 168 kB / 442.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1428/0.2089, allocations: 1.52 MB / 444.3 MB, free: 75.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.2216, allocations: 13.47 MB / 457.8 MB, free: 71.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.2241, allocations: 2.427 MB / 460.2 MB, free: 70.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.2257, allocations: 1.328 MB / 461.5 MB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003603/0.2293, allocations: 3.215 MB / 464.7 MB, free: 68.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2293, allocations: 53.08 kB / 464.8 MB, free: 68.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 2.805e-06/0.2293, allocations: 0 / 464.8 MB, free: 68.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.004575/0.2339, allocations: 3.737 MB / 468.5 MB, free: 67.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.2339, allocations: 72.12 kB / 468.6 MB, free: 67.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.2353, allocations: 1.858 MB / 470.5 MB, free: 66.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.2354, allocations: 52.14 kB / 470.5 MB, free: 66.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006529/0.236, allocations: 2.024 MB / 472.5 MB, free: 64.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.2362, allocations: 0.5874 MB / 473.1 MB, free: 64.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.2366, allocations: 420.7 kB / 473.5 MB, free: 64.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.2366, allocations: 491.1 kB / 474 MB, free: 63.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.237, allocations: 301.2 kB / 474.3 MB, free: 63.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.2377, allocations: 1.355 MB / 475.7 MB, free: 62.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.239, allocations: 1.822 MB / 477.5 MB, free: 60.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.239, allocations: 11.34 kB / 477.5 MB, free: 60.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001922/0.2409, allocations: 1.859 MB / 479.4 MB, free: 60.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2409, allocations: 15.72 kB / 479.4 MB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.2409, allocations: 24.38 kB / 479.4 MB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.2412, allocations: 129.2 kB / 479.5 MB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/0.2421, allocations: 0.5185 MB / 480 MB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.2431, allocations: 2.418 MB / 482.5 MB, free: 58.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.2438, allocations: 102 kB / 482.6 MB, free: 57.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2439, allocations: 95.91 kB / 482.7 MB, free: 57.97 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.0004821/0.2444, allocations: 303.9 kB / 482.9 MB, free: 57.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.2446, allocations: 291.5 kB / 483.2 MB, free: 57.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.2464, allocations: 1.409 MB / 484.6 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2464, allocations: 15.22 kB / 484.7 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2464, allocations: 6.844 kB / 484.7 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2464, allocations: 11.05 kB / 484.7 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.2511, allocations: 4.045 MB / 488.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2511, allocations: 1.281 kB / 488.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.2518, allocations: 268.1 kB / 489 MB, free: 55.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006746/0.2525, allocations: 291.3 kB / 489.3 MB, free: 55.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.2526, allocations: 39.39 kB / 489.3 MB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.256, allocations: 7.415 MB / 496.7 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.256, allocations: 2.594 kB / 496.7 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.2585, allocations: 1.93 MB / 498.7 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.2589, allocations: 402.6 kB / 499 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.2591, allocations: 33.62 kB / 499.1 MB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.2596, allocations: 68.53 kB / 499.1 MB, free: 47.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.2598, allocations: 122.9 kB / 499.3 MB, free: 47.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.2598, allocations: 49.91 kB / 499.3 MB, free: 47.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.2609, allocations: 1.03 MB / 0.4886 GB, free: 46.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 4 kB / 0.4886 GB, free: 46.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001551/0.2624, allocations: 0.6668 MB / 0.4893 GB, free: 46.89 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.0002635/0.2627, allocations: 189.6 kB / 0.4895 GB, free: 46.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2642, allocations: 1.343 MB / 0.4908 GB, free: 46.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2642, allocations: 1.859 kB / 0.4908 GB, free: 46.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.2651, allocations: 1.196 MB / 0.4919 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2662, allocations: 0.5169 MB / 0.4924 GB, free: 45.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.2732, allocations: 6.137 MB / 0.4984 GB, free: 42.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.2741, allocations: 0.9422 MB / 0.4994 GB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009809/0.2751, allocations: 464.2 kB / 0.4998 GB, free: 41.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.2754, allocations: 159.7 kB / 0.4999 GB, free: 41.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2754, allocations: 0 / 0.4999 GB, free: 41.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03302/0.3084, allocations: 31.16 MB / 0.5304 GB, free: 17.77 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.5716178552247584]