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.001161/0.001161, allocations: 91.5 kB / 21.19 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.000928/0.000928, allocations: 156.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.9468/0.9468, allocations: 177 MB / 204.8 MB, free: 5.586 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.3669/0.3669, allocations: 34.86 MB / 296.3 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.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 2.054e-06/2.054e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.14e-05, allocations: 2.312 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01019/0.01022, allocations: 11.84 MB / 390.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.01724, allocations: 3.944 MB / 394.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.01938, allocations: 83.44 kB / 394.7 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.02157, allocations: 0.8505 MB / 395.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.0247, allocations: 1.075 MB / 396.6 MB, free: 164 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.02603, allocations: 0.5303 MB / 397.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.03011, allocations: 3.599 MB / 400.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.03233, allocations: 1.495 MB / 402.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.0369, allocations: 2.573 MB / 404.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.04008, allocations: 1.726 MB / 406.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.04127, allocations: 400 kB / 406.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.04268, allocations: 0.6166 MB / 407.6 MB, free: 5.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.04355, allocations: 1.153 MB / 408.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.04585, allocations: 1.255 MB / 410 MB, free: 2.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.04941, allocations: 3.002 MB / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.04941, allocations: 0 / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04941, allocations: 4 kB / 413 MB, free: 15.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.04954, allocations: 0 / 413 MB, free: 15.71 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.006118/0.05566, allocations: 3.836 MB / 416.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.05571, allocations: 8.031 kB / 416.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.05702, allocations: 0.6861 MB / 417.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.05948, allocations: 1.838 MB / 419.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.0596, allocations: 213.5 kB / 419.5 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.05988, allocations: 271.9 kB / 419.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.06305, allocations: 2.19 MB / 422 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.06311, allocations: 7.984 kB / 422 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.06327, allocations: 116 kB / 422.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.0634, allocations: 121.3 kB / 422.2 MB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.06537, allocations: 1.003 MB / 423.2 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.0759, allocations: 9.036 MB / 432.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.07727, allocations: 0.8813 MB / 433.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.07806, allocations: 0.5422 MB / 433.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.07824, allocations: 61.27 kB / 433.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.07828, allocations: 54.69 kB / 433.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.91e-06/0.07828, allocations: 3.938 kB / 433.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.006501/0.08478, allocations: 3.615 MB / 437.4 MB, free: 6.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.08483, allocations: 72.66 kB / 437.5 MB, free: 6.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.08686, allocations: 1.595 MB / 439.1 MB, free: 4.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.08697, allocations: 49.7 kB / 439.2 MB, free: 4.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/0.08776, allocations: 1.444 MB / 440.6 MB, free: 3.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.08814, allocations: 0.5385 MB / 441.1 MB, free: 2.867 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.08851, allocations: 333.1 kB / 441.5 MB, free: 2.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.08863, allocations: 476.8 kB / 441.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.08913, allocations: 271.8 kB / 442.2 MB, free: 1.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/0.08991, allocations: 0.9557 MB / 443.1 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1769/0.2668, allocations: 1.367 MB / 444.5 MB, free: 90.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.2668, allocations: 5.969 kB / 444.5 MB, free: 90.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0025/0.2693, allocations: 1.629 MB / 446.1 MB, free: 89.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.2693, allocations: 11.75 kB / 446.2 MB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.2693, allocations: 14.41 kB / 446.2 MB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.2701, allocations: 316 kB / 446.5 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.2709, allocations: 409.5 kB / 446.9 MB, free: 89.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.2737, allocations: 5.101 MB / 452 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009231/0.2747, allocations: 104.2 kB / 452.1 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.2748, allocations: 69.75 kB / 452.2 MB, free: 86.04 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.0006637/0.2754, allocations: 265.9 kB / 452.4 MB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.2758, allocations: 254.1 kB / 452.7 MB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.2776, allocations: 1.285 MB / 453.9 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.2777, allocations: 17.47 kB / 454 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2777, allocations: 2.938 kB / 454 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2777, allocations: 9.234 kB / 454 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.2828, allocations: 3.579 MB / 457.6 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.2828, allocations: 3 kB / 457.6 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.2834, allocations: 258.9 kB / 457.8 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008262/0.2842, allocations: 358.3 kB / 458.2 MB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.2843, allocations: 36.91 kB / 458.2 MB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.2876, allocations: 6.829 MB / 465 MB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2876, allocations: 7.281 kB / 465 MB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.29, allocations: 1.859 MB / 466.9 MB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.2906, allocations: 360.3 kB / 467.2 MB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.2907, allocations: 36.28 kB / 467.3 MB, free: 78.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.2912, allocations: 82.61 kB / 467.4 MB, free: 78.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.2914, allocations: 123.1 kB / 467.5 MB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.2915, allocations: 41.81 kB / 467.5 MB, free: 78.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009809/0.2925, allocations: 0.9281 MB / 468.4 MB, free: 78.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2925, allocations: 0 / 468.4 MB, free: 78.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001436/0.2939, allocations: 0.5756 MB / 469 MB, free: 78.04 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.0003739/0.2943, allocations: 220.4 kB / 469.2 MB, free: 77.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.2962, allocations: 1.519 MB / 470.8 MB, free: 77.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.2962, allocations: 8 kB / 470.8 MB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.2973, allocations: 1.187 MB / 472 MB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.2985, allocations: 444.5 kB / 472.4 MB, free: 76.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.3047, allocations: 4.788 MB / 477.2 MB, free: 73.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.3053, allocations: 0.7074 MB / 477.9 MB, free: 73.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008954/0.3062, allocations: 368.9 kB / 478.2 MB, free: 73.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.3065, allocations: 131.9 kB / 478.4 MB, free: 73.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3065, allocations: 0 / 478.4 MB, free: 73.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03973/0.3462, allocations: 29.94 MB / 0.4964 GB, free: 61.97 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.9047923157922924]