Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001677/0.001677, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.242/1.242, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 107.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1841/0.1841, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.015e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.4784, allocations: 74.93 MB / 480.6 MB, free: 18.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4787, allocations: 73.28 kB / 480.7 MB, free: 18.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006353/0.4851, allocations: 2.329 MB / 483 MB, free: 18.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4851, allocations: 0 / 483 MB, free: 18.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4851, allocations: 3.719 kB / 483 MB, free: 18.28 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004153/0.4855, allocations: 399.9 kB / 483.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4856, allocations: 8.781 kB / 483.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4857, allocations: 19.81 kB / 483.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.4859, allocations: 204.7 kB / 483.7 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4859, allocations: 12.53 kB / 483.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.4859, allocations: 13.22 kB / 483.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.4862, allocations: 117.6 kB / 483.8 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4862, allocations: 1.875 kB / 483.8 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4863, allocations: 3.812 kB / 483.8 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4863, allocations: 3.812 kB / 483.8 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4864, allocations: 68.47 kB / 483.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.4871, allocations: 474.1 kB / 484.3 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4873, allocations: 113.9 kB / 484.4 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.4874, allocations: 50.08 kB / 484.5 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4874, allocations: 0 / 484.5 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.4874, allocations: 47.17 kB / 484.5 MB, free: 17.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.4874, allocations: 0 / 484.5 MB, free: 17.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001276/0.4887, allocations: 0.7499 MB / 485.3 MB, free: 16.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4887, allocations: 58.66 kB / 485.3 MB, free: 16.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4889, allocations: 132.3 kB / 485.5 MB, free: 16.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.4889, allocations: 25.7 kB / 485.5 MB, free: 16.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.4889, allocations: 115.4 kB / 485.6 MB, free: 16.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.489, allocations: 73.09 kB / 485.7 MB, free: 16.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.489, allocations: 3.938 kB / 485.7 MB, free: 16.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.4891, allocations: 321.2 kB / 486 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.4891, allocations: 38.22 kB / 486 MB, free: 16.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.4892, allocations: 81.45 kB / 486.1 MB, free: 16.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.642e-05/0.4893, allocations: 49.7 kB / 486.2 MB, free: 16.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4893, allocations: 0 / 486.2 MB, free: 16.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003167/0.4897, allocations: 195.2 kB / 486.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4897, allocations: 9.531 kB / 486.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4897, allocations: 1.438 kB / 486.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.4899, allocations: 40.67 kB / 486.4 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.49, allocations: 32.53 kB / 486.4 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4911, allocations: 1.557 MB / 488 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.4912, allocations: 13.94 kB / 488 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4912, allocations: 3.875 kB / 488 MB, free: 14.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.4913, allocations: 116 kB / 488.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.4913, allocations: 11.66 kB / 488.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.4914, allocations: 29.94 kB / 488.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4914, allocations: 3.969 kB / 488.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4914, allocations: 0 / 488.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4914, allocations: 0 / 488.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.492, allocations: 0.535 MB / 488.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.492, allocations: 4.031 kB / 488.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4922, allocations: 41.36 kB / 488.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.724e-05/0.4923, allocations: 32.42 kB / 488.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4923, allocations: 3.625 kB / 488.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007085/0.493, allocations: 1.357 MB / 490.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.493, allocations: 6.109 kB / 490.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.4934, allocations: 345.1 kB / 490.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.4934, allocations: 104 kB / 490.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4935, allocations: 3.938 kB / 490.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.4936, allocations: 3.875 kB / 490.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.4936, allocations: 22.31 kB / 490.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4936, allocations: 3.812 kB / 490.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.303e-05/0.4937, allocations: 109.2 kB / 490.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4937, allocations: 0 / 490.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.4941, allocations: 38.81 kB / 490.8 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.4942, allocations: 104.2 kB / 490.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.4947, allocations: 247.2 kB / 491.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4947, allocations: 0 / 491.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4949, allocations: 193.3 kB / 491.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4951, allocations: 19.39 kB / 491.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.4957, allocations: 346.9 kB / 491.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.4959, allocations: 0.7235 MB / 492.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.496, allocations: 10.72 kB / 492.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.496, allocations: 16.47 kB / 492.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.496, allocations: 0 / 492.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of Templates: time 0.004243/0.5003, allocations: 1.457 MB / 493.9 MB, free: 11.16 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)