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.00133/0.00133, 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.0009539/0.0009539, 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.9702/0.9702, 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.2488/0.2488, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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=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.492e-06/1.492e-06, allocations: 3.938 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.479e-05, allocations: 2.312 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0177/0.01772, allocations: 17.19 MB / 396 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008788/0.02651, allocations: 5.632 MB / 401.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.02792, allocations: 131.2 kB / 401.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.02995, allocations: 1.266 MB / 403.1 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.03241, allocations: 1.688 MB / 404.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.03377, allocations: 1.091 MB / 405.9 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.03715, allocations: 5.432 MB / 411.3 MB, free: 1.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.03919, allocations: 2.231 MB / 413.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.0416, allocations: 3.365 MB / 416.9 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.0434, allocations: 2.412 MB / 419.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.04388, allocations: 0.6133 MB / 419.9 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009099/0.04479, allocations: 0.8472 MB / 420.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.04583, allocations: 1.484 MB / 422.2 MB, free: 6.371 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.04728, allocations: 1.816 MB / 424.1 MB, free: 4.551 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.0504, allocations: 4.299 MB / 428.4 MB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.0504, allocations: 0 / 428.4 MB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0504, allocations: 4 kB / 428.4 MB, free: 240 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.05043, allocations: 0 / 428.4 MB, free: 240 kB / 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.006629/0.05706, allocations: 5.693 MB / 434.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.05709, allocations: 8.031 kB / 434.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.06019, allocations: 1.524 MB / 435.6 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.06356, allocations: 2.862 MB / 438.4 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.0637, allocations: 300.5 kB / 438.7 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.06408, allocations: 408.1 kB / 439.1 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.06813, allocations: 3.198 MB / 442.3 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/0.06819, allocations: 7.938 kB / 442.3 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.06843, allocations: 164 kB / 442.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.06855, allocations: 168 kB / 442.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.0714, allocations: 1.526 MB / 444.2 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1624/0.2338, allocations: 13.49 MB / 457.7 MB, free: 71.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.2367, allocations: 2.425 MB / 460.1 MB, free: 70.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.2384, allocations: 1.318 MB / 461.4 MB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004219/0.2427, allocations: 3.241 MB / 464.7 MB, free: 68.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2427, allocations: 60.5 kB / 464.7 MB, free: 68.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 3.487e-06/0.2427, allocations: 4 kB / 464.7 MB, free: 68.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.005848/0.2485, allocations: 3.743 MB / 468.5 MB, free: 67.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2486, allocations: 70.66 kB / 468.5 MB, free: 67.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.2504, allocations: 1.866 MB / 470.4 MB, free: 66.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.2505, allocations: 51.61 kB / 470.5 MB, free: 66.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.2513, allocations: 2.023 MB / 472.5 MB, free: 64.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.2516, allocations: 0.5845 MB / 473.1 MB, free: 64.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.252, allocations: 425.9 kB / 473.5 MB, free: 64.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.252, allocations: 480.8 kB / 474 MB, free: 63.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.2525, allocations: 306.2 kB / 474.3 MB, free: 63.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.2533, allocations: 1.349 MB / 475.6 MB, free: 62.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.2547, allocations: 1.826 MB / 477.4 MB, free: 60.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.2547, allocations: 6.094 kB / 477.4 MB, free: 60.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002221/0.2569, allocations: 1.862 MB / 479.3 MB, free: 60.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.257, allocations: 15.72 kB / 479.3 MB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.257, allocations: 21.78 kB / 479.3 MB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.2573, allocations: 132.9 kB / 479.5 MB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.2583, allocations: 0.5268 MB / 480 MB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.2595, allocations: 2.418 MB / 482.4 MB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.2604, allocations: 100.4 kB / 482.5 MB, free: 58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.2605, allocations: 101.7 kB / 482.6 MB, free: 57.98 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.0008125/0.2613, allocations: 304.2 kB / 482.9 MB, free: 57.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.2616, allocations: 291.2 kB / 483.2 MB, free: 57.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.2638, allocations: 1.407 MB / 484.6 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.2638, allocations: 20.06 kB / 484.6 MB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2638, allocations: 4.531 kB / 484.6 MB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.2638, allocations: 10.36 kB / 484.6 MB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/0.2697, allocations: 4.061 MB / 488.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2697, allocations: 3.75 kB / 488.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.2704, allocations: 277.1 kB / 489 MB, free: 55.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000645/0.271, allocations: 290.9 kB / 489.2 MB, free: 55.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.2711, allocations: 39.88 kB / 489.3 MB, free: 55.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.2746, allocations: 7.408 MB / 496.7 MB, free: 48.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2746, allocations: 1.094 kB / 496.7 MB, free: 48.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.2772, allocations: 1.931 MB / 498.6 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000638/0.2779, allocations: 403.9 kB / 499 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.2781, allocations: 33.62 kB / 499 MB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.2786, allocations: 71.83 kB / 499.1 MB, free: 47.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.2788, allocations: 122.4 kB / 499.2 MB, free: 47.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.2789, allocations: 56.75 kB / 499.3 MB, free: 47.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.2802, allocations: 1.035 MB / 0.4886 GB, free: 46.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2802, allocations: 0 / 0.4886 GB, free: 46.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002041/0.2822, allocations: 0.6732 MB / 0.4893 GB, free: 46.9 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.0003312/0.2826, allocations: 185.7 kB / 0.4894 GB, free: 46.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.2844, allocations: 1.343 MB / 0.4907 GB, free: 46.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2844, allocations: 0 / 0.4907 GB, free: 46.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.2854, allocations: 1.2 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.001331/0.2867, allocations: 0.5302 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.008412/0.2951, allocations: 6.141 MB / 0.4984 GB, free: 42.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.2962, allocations: 0.9387 MB / 0.4994 GB, free: 41.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.2974, allocations: 460.9 kB / 0.4998 GB, free: 41.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.2978, allocations: 160.1 kB / 0.4999 GB, free: 41.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2978, allocations: 4 kB / 0.4999 GB, free: 41.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03962/0.3374, allocations: 29.95 MB / 0.5292 GB, free: 18.83 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.934650443959981]