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.001089/0.001089, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001278/0.001278, allocations: 160.5 kB / 24.55 MB, free: 16 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 1.106/1.106, allocations: 177 MB / 204.8 MB, free: 5.574 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.2876/0.2876, allocations: 34.87 MB / 296.3 MB, free: 0.4922 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.823e-06/1.823e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.403e-05, allocations: 10.31 kB / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01528/0.01532, allocations: 11.83 MB / 390.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02571, allocations: 3.936 MB / 394.6 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.02902, allocations: 91.44 kB / 394.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.03242, allocations: 0.8505 MB / 395.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.03725, allocations: 1.071 MB / 396.6 MB, free: 136 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.0396, allocations: 0.5381 MB / 397.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005456/0.04506, allocations: 3.587 MB / 400.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.04818, allocations: 1.498 MB / 402.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005757/0.05393, allocations: 2.327 MB / 404.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.05808, allocations: 1.82 MB / 406.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.05957, allocations: 408 kB / 406.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.06238, allocations: 0.6283 MB / 407.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.06422, allocations: 1.215 MB / 408.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.06764, allocations: 1.278 MB / 409.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.07411, allocations: 3.053 MB / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.07412, allocations: 0 / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.07412, allocations: 0 / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.07428, allocations: 0 / 413 MB, free: 15.68 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.008549/0.08283, allocations: 3.914 MB / 416.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.08289, allocations: 8.031 kB / 416.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.0847, allocations: 0.69 MB / 417.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/0.09163, allocations: 1.823 MB / 419.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.09188, allocations: 209.5 kB / 419.6 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007849/0.09267, allocations: 271.9 kB / 419.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005443/0.09811, allocations: 2.206 MB / 422.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/0.09819, allocations: 4 kB / 422.1 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.09844, allocations: 108 kB / 422.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.09859, allocations: 117.3 kB / 422.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.102, allocations: 1.01 MB / 423.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.1207, allocations: 9.184 MB / 432.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1221, allocations: 0.8271 MB / 433.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.1229, allocations: 0.5471 MB / 433.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.1231, allocations: 57.22 kB / 433.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1232, allocations: 58.69 kB / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.447e-06/0.1232, allocations: 0 / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.006282/0.1295, allocations: 3.692 MB / 437.7 MB, free: 6.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1295, allocations: 68.66 kB / 437.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.1312, allocations: 1.611 MB / 439.4 MB, free: 4.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.1312, allocations: 53.64 kB / 439.4 MB, free: 4.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/0.132, allocations: 1.447 MB / 440.9 MB, free: 3.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.1323, allocations: 0.5385 MB / 441.4 MB, free: 2.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.1326, allocations: 333.1 kB / 441.7 MB, free: 2.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1328, allocations: 476.8 kB / 442.2 MB, free: 1.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.1332, allocations: 275.8 kB / 442.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/0.134, allocations: 0.9518 MB / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1694/0.3034, allocations: 1.38 MB / 444.8 MB, free: 89.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3034, allocations: 6.219 kB / 444.8 MB, free: 89.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002454/0.3058, allocations: 1.632 MB / 446.4 MB, free: 89.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3059, allocations: 11.12 kB / 446.4 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.3059, allocations: 14.5 kB / 446.4 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.3067, allocations: 321.9 kB / 446.8 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.3075, allocations: 416.4 kB / 447.2 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.3102, allocations: 5.101 MB / 452.3 MB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.311, allocations: 116.7 kB / 452.4 MB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/0.3111, allocations: 74.14 kB / 452.5 MB, free: 85.87 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.000543/0.3116, allocations: 264.4 kB / 452.7 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3119, allocations: 262 kB / 453 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3135, allocations: 1.29 MB / 454.3 MB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.3135, allocations: 24.8 kB / 454.3 MB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3135, allocations: 2.875 kB / 454.3 MB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3135, allocations: 6.375 kB / 454.3 MB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.3176, allocations: 3.628 MB / 457.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3176, allocations: 3.156 kB / 457.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.3182, allocations: 271.6 kB / 458.2 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.319, allocations: 363.5 kB / 458.5 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.3191, allocations: 36.42 kB / 458.6 MB, free: 84.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.322, allocations: 6.917 MB / 465.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.322, allocations: 3.094 kB / 465.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3242, allocations: 1.883 MB / 467.4 MB, free: 78.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.3247, allocations: 371.8 kB / 467.7 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.3248, allocations: 39.98 kB / 467.8 MB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3253, allocations: 83.42 kB / 467.9 MB, free: 78.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.3255, allocations: 126.4 kB / 468 MB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.3256, allocations: 46.69 kB / 468 MB, free: 78.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008522/0.3264, allocations: 0.9391 MB / 469 MB, free: 77.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 2.781 kB / 469 MB, free: 77.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/0.3277, allocations: 0.577 MB / 469.6 MB, free: 77.79 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003777/0.3281, allocations: 230.7 kB / 469.8 MB, free: 77.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3298, allocations: 1.519 MB / 471.3 MB, free: 77.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3298, allocations: 0 / 471.3 MB, free: 77.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3308, allocations: 1.211 MB / 472.5 MB, free: 76.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.332, allocations: 460.2 kB / 473 MB, free: 76.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.3374, allocations: 4.811 MB / 477.8 MB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.3379, allocations: 0.7088 MB / 478.5 MB, free: 73.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000635/0.3385, allocations: 368.2 kB / 478.8 MB, free: 73.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.3388, allocations: 137.5 kB / 479 MB, free: 73.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3388, allocations: 0 / 479 MB, free: 73.33 MB / 410.7 MB Notification: Performance of Templates: time 0.03498/0.3738, allocations: 29.67 MB / 0.4967 GB, free: 61.55 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: 4.19229914015159]