Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.0006459/0.0006459, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008715/0.001517, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007104/0.0007104, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009122/0.001623, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9712/0.9712, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09226/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2826/0.2826, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02454/0.3071, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 293.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.857e-05, allocations: 3.516 kB / 293.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009009/0.009027, allocations: 11.61 MB / 305.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006912/0.01594, allocations: 4.073 MB / 309.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.01746, allocations: 83.44 kB / 309.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.01904, allocations: 0.8712 MB / 310.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.02124, allocations: 1.079 MB / 311.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.02213, allocations: 0.5304 MB / 312.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.02536, allocations: 3.61 MB / 315.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.02697, allocations: 1.534 MB / 317.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.03024, allocations: 2.784 MB / 320.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.03242, allocations: 1.726 MB / 321.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006973/0.03312, allocations: 400 kB / 322.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.03407, allocations: 0.6089 MB / 322.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006286/0.0347, allocations: 0.9429 MB / 323.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009768/0.03568, allocations: 1.029 MB / 324.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.03816, allocations: 2.807 MB / 327.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.03817, allocations: 0 / 327.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.03817, allocations: 0 / 327.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.029e-05/0.03823, allocations: 0 / 327.6 MB, free: 3.238 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004169/0.0424, allocations: 4.126 MB / 331.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.04243, allocations: 8.031 kB / 331.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.04342, allocations: 0.6576 MB / 332.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.04498, allocations: 1.328 MB / 333.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/0.04508, allocations: 201.5 kB / 333.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.04531, allocations: 272 kB / 334.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.04757, allocations: 2.057 MB / 336.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.04761, allocations: 11.88 kB / 336.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.04775, allocations: 108 kB / 336.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.644e-05/0.04784, allocations: 117.3 kB / 336.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.04888, allocations: 0.7901 MB / 337.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007586/0.05646, allocations: 7.232 MB / 344.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.05734, allocations: 0.7959 MB / 345.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.05788, allocations: 452.4 kB / 345.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.05805, allocations: 65.27 kB / 345.8 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.05808, allocations: 51.86 kB / 345.9 MB, free: 400 kB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 3.887e-06/0.05808, allocations: 0 / 345.9 MB, free: 400 kB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.004628/0.06271, allocations: 2.855 MB / 348.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.06274, allocations: 68.72 kB / 348.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.0639, allocations: 1.308 MB / 350.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.06396, allocations: 45.7 kB / 350.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.06439, allocations: 1.114 MB / 351.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.06463, allocations: 0.5267 MB / 351.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.06491, allocations: 307.3 kB / 352.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.06497, allocations: 305.1 kB / 352.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.06524, allocations: 202.7 kB / 352.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.06569, allocations: 0.6651 MB / 353.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008497/0.06654, allocations: 1.074 MB / 354.3 MB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.06655, allocations: 4 kB / 354.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001729/0.06828, allocations: 1.184 MB / 355.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.06831, allocations: 16.03 kB / 355.5 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.06834, allocations: 16 kB / 355.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/0.06914, allocations: 301.7 kB / 355.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.07036, allocations: 439.4 kB / 356.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.07306, allocations: 3.751 MB / 360 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.07389, allocations: 71.94 kB / 360.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.07398, allocations: 55.98 kB / 360.1 MB, free: 1.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005636/0.07454, allocations: 228 kB / 360.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.07479, allocations: 171.8 kB / 360.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.07603, allocations: 0.99 MB / 361.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.07605, allocations: 16 kB / 361.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.07606, allocations: 11.94 kB / 361.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.07607, allocations: 7.969 kB / 361.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.07963, allocations: 2.827 MB / 364.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.07964, allocations: 4 kB / 364.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.08038, allocations: 345.4 kB / 364.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.08079, allocations: 250.6 kB / 364.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006861/0.08147, allocations: 333.7 kB / 365.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.08154, allocations: 39.98 kB / 365.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.08441, allocations: 4.951 MB / 370.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.08442, allocations: 7.938 kB / 370.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.08634, allocations: 1.428 MB / 371.7 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.08655, allocations: 35.98 kB / 371.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.08701, allocations: 63.91 kB / 371.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.08718, allocations: 117 kB / 371.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.08723, allocations: 31.98 kB / 371.9 MB, free: 5.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006224/0.08786, allocations: 0.6663 MB / 372.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.08786, allocations: 0 / 372.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001319/0.08918, allocations: 0.5703 MB / 373.2 MB, free: 3.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (124): * Single equations (assignments): 119 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/0.08949, allocations: 204 kB / 373.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.0909, allocations: 1.2 MB / 374.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.921e-05/0.09095, allocations: 48.34 kB / 374.6 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.09182, allocations: 0.9125 MB / 375.5 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.09296, allocations: 0.5948 MB / 376.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.1102, allocations: 4.724 MB / 380.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.1108, allocations: 0.6361 MB / 381.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008571/0.1116, allocations: 239.8 kB / 381.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000753/0.1124, allocations: 455.1 kB / 382.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/0.1124, allocations: 4 kB / 382.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Templates: time 0.04233/0.1547, allocations: 31.59 MB / 413.8 MB, free: 11.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3527119513601065]