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.001897/0.001897, allocations: 84.34 kB / 20.67 MB, free: 3.891 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.002092/0.002092, allocations: 164.8 kB / 23.95 MB, free: 0.6094 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 1.66/1.66, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.3589/0.3589, allocations: 34.86 MB / 295.4 MB, free: 0.5469 MB / 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=20499,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=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 443.6 MB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.537e-05, allocations: 2.281 kB / 443.6 MB, free: 428 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2048/0.2048, allocations: 15.14 MB / 458.8 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.2129, allocations: 5.407 MB / 464.2 MB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.2149, allocations: 130.7 kB / 464.3 MB, free: 30.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2178, allocations: 1.258 MB / 465.5 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.2222, allocations: 1.679 MB / 467.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.2246, allocations: 1.086 MB / 468.3 MB, free: 28.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.23, allocations: 5.413 MB / 473.7 MB, free: 25.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.2328, allocations: 2.223 MB / 475.9 MB, free: 24.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.2373, allocations: 3.326 MB / 479.3 MB, free: 22.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.2405, allocations: 2.197 MB / 481.5 MB, free: 21.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.2414, allocations: 0.6132 MB / 482.1 MB, free: 21.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.2431, allocations: 0.846 MB / 482.9 MB, free: 21.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.244, allocations: 1.461 MB / 484.4 MB, free: 20.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.246, allocations: 1.795 MB / 486.2 MB, free: 19.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.2548, allocations: 8.225 MB / 494.4 MB, free: 16.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2548, allocations: 1.031 kB / 494.4 MB, free: 16.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2548, allocations: 5.094 kB / 494.4 MB, free: 16.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002208/0.255, allocations: 0 / 494.4 MB, free: 16.76 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.01407/0.269, allocations: 5.401 MB / 499.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2691, allocations: 9.25 kB / 499.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.2741, allocations: 1.026 MB / 0.4891 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.2802, allocations: 2.938 MB / 0.492 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.2804, allocations: 303.2 kB / 0.4923 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007193/0.2812, allocations: 406.2 kB / 0.4927 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.2921, allocations: 5.373 MB / 0.4979 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.2922, allocations: 1.031 kB / 0.4979 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/0.2926, allocations: 162 kB / 0.4981 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001979/0.2928, allocations: 174.9 kB / 0.4982 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009078/0.3019, allocations: 4.454 MB / 0.5026 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.3287, allocations: 14.36 MB / 0.5166 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.3357, allocations: 3.24 MB / 0.5198 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/0.3405, allocations: 1.988 MB / 0.5217 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3507, allocations: 4.161 MB / 0.5258 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.3507, allocations: 43.88 kB / 0.5258 GB, free: 132 kB / 426.7 MB Notification: Performance of pre-optimization done (n=157): time 3.466e-06/0.3507, allocations: 4 kB / 0.5258 GB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.01462/0.3653, allocations: 5.877 MB / 0.5316 GB, free: 10.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3654, allocations: 72.66 kB / 0.5316 GB, free: 10.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.3694, allocations: 2.113 MB / 0.5337 GB, free: 7.973 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.3697, allocations: 49.7 kB / 0.5337 GB, free: 7.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.3715, allocations: 1.923 MB / 0.5356 GB, free: 5.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007273/0.3722, allocations: 0.5616 MB / 0.5362 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/0.3729, allocations: 407.8 kB / 0.5366 GB, free: 5.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3731, allocations: 305.1 kB / 0.5368 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3748, allocations: 0.8592 MB / 0.5377 GB, free: 3.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.3775, allocations: 1.592 MB / 0.5392 GB, free: 1.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.382, allocations: 2.593 MB / 0.5418 GB, free: 15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.382, allocations: 7.938 kB / 0.5418 GB, free: 15 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005876/0.3879, allocations: 2.881 MB / 0.5446 GB, free: 12.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.3879, allocations: 16 kB / 0.5446 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/0.388, allocations: 27.25 kB / 0.5446 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.3885, allocations: 178 kB / 0.5448 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.3906, allocations: 0.5304 MB / 0.5453 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.3938, allocations: 2.28 MB / 0.5475 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.3957, allocations: 107.8 kB / 0.5476 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.3959, allocations: 104 kB / 0.5477 GB, free: 8.754 MB / 458.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.002396/0.3983, allocations: 1.2 MB / 0.5489 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.3988, allocations: 238.5 kB / 0.5491 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.4039, allocations: 2.344 MB / 0.5514 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4039, allocations: 16 kB / 0.5515 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4039, allocations: 4 kB / 0.5515 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.4039, allocations: 11.95 kB / 0.5515 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.4146, allocations: 4.888 MB / 0.5562 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4146, allocations: 4 kB / 0.5562 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.416, allocations: 287.8 kB / 0.5565 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.4171, allocations: 364.2 kB / 0.5569 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.4172, allocations: 39.98 kB / 0.5569 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009351/0.4266, allocations: 6.932 MB / 0.5637 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.4266, allocations: 7.984 kB / 0.5637 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009465/0.4361, allocations: 3.49 MB / 0.5671 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/0.4379, allocations: 414.3 kB / 0.5675 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.4383, allocations: 35.94 kB / 0.5675 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.4399, allocations: 83.92 kB / 0.5676 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.4403, allocations: 129 kB / 0.5677 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.4405, allocations: 43.98 kB / 0.5678 GB, free: 3.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003448/0.4439, allocations: 1.396 MB / 0.5691 GB, free: 2.375 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4439, allocations: 0 / 0.5691 GB, free: 2.375 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003488/0.4474, allocations: 0.6718 MB / 0.5698 GB, free: 1.703 MB / 474.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.0005016/0.4479, allocations: 175 kB / 0.57 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006043/0.454, allocations: 2.159 MB / 0.5721 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.454, allocations: 192 / 0.5721 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003722/0.4577, allocations: 1.418 MB / 0.5734 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.4611, allocations: 0.507 MB / 0.5739 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.4791, allocations: 6.867 MB / 0.5806 GB, free: 6.488 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004112/0.4833, allocations: 2.134 MB / 0.5827 GB, free: 4.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002642/0.4859, allocations: 0.5224 MB / 0.5832 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/0.4865, allocations: 164.5 kB / 0.5834 GB, free: 3.633 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4865, allocations: 0 / 0.5834 GB, free: 3.633 MB / 490.7 MB Notification: Performance of Templates: time 0.07113/0.5577, allocations: 29.8 MB / 0.6125 GB, free: 6.227 MB / 0.5105 GB " [Timeout remaining time 659] 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: 6.553898625075817]