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.001308/0.001308, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001396/0.001396, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9343/0.9343, allocations: 177 MB / 205.1 MB, free: 5.477 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.2248/0.2248, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.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.443e-06/1.443e-06, allocations: 0 / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.167e-05, allocations: 3.297 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009058/0.00908, allocations: 11.48 MB / 390.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.0151, allocations: 3.917 MB / 394.7 MB, free: 2.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.0165, allocations: 83.44 kB / 394.8 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.01823, allocations: 0.8544 MB / 395.6 MB, free: 1.324 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.02059, allocations: 1.071 MB / 396.7 MB, free: 252 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.02159, allocations: 0.5421 MB / 397.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.02494, allocations: 3.587 MB / 400.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.02666, allocations: 1.502 MB / 402.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.0301, allocations: 2.573 MB / 404.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.03239, allocations: 1.734 MB / 406.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005917/0.03298, allocations: 396 kB / 407 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.03406, allocations: 0.6088 MB / 407.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007712/0.03483, allocations: 1.161 MB / 408.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.03603, allocations: 1.255 MB / 410.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.03899, allocations: 3.002 MB / 413.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.039, allocations: 0 / 413.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.039, allocations: 0 / 413.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.03906, allocations: 0 / 413.1 MB, free: 15.79 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004306/0.04337, allocations: 3.753 MB / 416.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.04341, allocations: 8.031 kB / 416.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.04451, allocations: 0.69 MB / 417.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.04642, allocations: 1.74 MB / 419.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.04653, allocations: 205.5 kB / 419.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.04678, allocations: 271.9 kB / 419.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.04919, allocations: 2.025 MB / 421.7 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.04925, allocations: 11.97 kB / 421.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.0494, allocations: 112 kB / 421.9 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.04951, allocations: 121.3 kB / 422 MB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.05074, allocations: 0.7825 MB / 422.8 MB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/0.05958, allocations: 8.945 MB / 431.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.06053, allocations: 0.7992 MB / 432.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.06113, allocations: 499.2 kB / 433 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.06128, allocations: 61.22 kB / 433.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.06131, allocations: 50.7 kB / 433.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.369e-06/0.06132, allocations: 0 / 433.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.004523/0.06584, allocations: 2.895 MB / 436 MB, free: 8.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.06587, allocations: 72.66 kB / 436.1 MB, free: 8.121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.0671, allocations: 1.543 MB / 437.6 MB, free: 6.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.06716, allocations: 49.7 kB / 437.7 MB, free: 6.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.06784, allocations: 1.463 MB / 439.1 MB, free: 5.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.06812, allocations: 0.5345 MB / 439.7 MB, free: 4.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.06845, allocations: 340.9 kB / 440 MB, free: 4.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.06855, allocations: 480.7 kB / 440.5 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.06883, allocations: 207.8 kB / 440.7 MB, free: 3.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.06941, allocations: 0.9008 MB / 441.6 MB, free: 2.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.07049, allocations: 1.258 MB / 442.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.0705, allocations: 4 kB / 442.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.149/0.2195, allocations: 1.473 MB / 444.3 MB, free: 90.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2195, allocations: 13.91 kB / 444.3 MB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.2195, allocations: 16.09 kB / 444.3 MB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/0.2202, allocations: 316.9 kB / 444.6 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.221, allocations: 373 kB / 445 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.2234, allocations: 4.935 MB / 449.9 MB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.2243, allocations: 68.27 kB / 450 MB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.2244, allocations: 61.3 kB / 450.1 MB, free: 86.96 MB / 410.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.0005782/0.2249, allocations: 273.7 kB / 450.3 MB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.2252, allocations: 259.8 kB / 450.6 MB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2266, allocations: 1.154 MB / 451.7 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.2266, allocations: 17.28 kB / 451.8 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.2266, allocations: 13.84 kB / 451.8 MB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2266, allocations: 6.516 kB / 451.8 MB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.2306, allocations: 3.435 MB / 455.2 MB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2306, allocations: 2.906 kB / 455.2 MB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.2311, allocations: 236.3 kB / 455.5 MB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006996/0.2318, allocations: 338.6 kB / 455.8 MB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.2319, allocations: 39.41 kB / 455.8 MB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.2347, allocations: 6.669 MB / 462.5 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2347, allocations: 3.094 kB / 462.5 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.2366, allocations: 1.688 MB / 464.2 MB, free: 79.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.2371, allocations: 328.5 kB / 464.5 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.2372, allocations: 38.41 kB / 464.5 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.2377, allocations: 74.59 kB / 464.6 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.2378, allocations: 115.7 kB / 464.7 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.2379, allocations: 36.28 kB / 464.8 MB, free: 79.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006892/0.2386, allocations: 0.8438 MB / 465.6 MB, free: 79.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2386, allocations: 0 / 465.6 MB, free: 79.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001388/0.2399, allocations: 0.57 MB / 466.2 MB, free: 79.64 MB / 410.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.0003208/0.2403, allocations: 226.8 kB / 466.4 MB, free: 79.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.2417, allocations: 1.396 MB / 467.8 MB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2417, allocations: 5.344 kB / 467.8 MB, free: 79.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.2426, allocations: 1.115 MB / 468.9 MB, free: 78.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2436, allocations: 438.3 kB / 469.3 MB, free: 78.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.2492, allocations: 4.74 MB / 474.1 MB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.2498, allocations: 0.711 MB / 474.8 MB, free: 75.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007003/0.2505, allocations: 254 kB / 475 MB, free: 75.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/0.2512, allocations: 0.5043 MB / 475.5 MB, free: 75.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2512, allocations: 0 / 475.5 MB, free: 75.52 MB / 410.7 MB Notification: Performance of Templates: time 0.04039/0.2916, allocations: 30.49 MB / 0.4942 GB, free: 64.89 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.664236541837454]