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.001476/0.001476, allocations: 157.7 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001605/0.001605, allocations: 102.1 kB / 218 MB, free: 15.33 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.2081/0.2081, allocations: 37.97 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.424e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 48.69 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4215, allocations: 74.29 MB / 473 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4219, allocations: 71.95 kB / 473.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006738/0.4286, allocations: 2.308 MB / 475.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4287, allocations: 0 / 475.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4287, allocations: 4 kB / 475.4 MB, free: 6.48 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.0005456/0.4293, allocations: 402.9 kB / 475.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.4293, allocations: 8.031 kB / 475.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.4294, allocations: 15.81 kB / 475.8 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4297, allocations: 206.7 kB / 476 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4297, allocations: 4 kB / 476 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.4297, allocations: 8 kB / 476 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001899/0.4299, allocations: 59.98 kB / 476.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4301, allocations: 101.7 kB / 476.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4302, allocations: 0 / 476.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4302, allocations: 0 / 476.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4302, allocations: 8 kB / 476.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.431, allocations: 425.6 kB / 476.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.4312, allocations: 103.5 kB / 476.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.4313, allocations: 48.86 kB / 476.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4314, allocations: 0 / 476.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4314, allocations: 38.5 kB / 476.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.4314, allocations: 3.5 kB / 476.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001395/0.4328, allocations: 0.7106 MB / 477.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4329, allocations: 51.41 kB / 477.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.433, allocations: 116.1 kB / 477.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.433, allocations: 25.7 kB / 477.7 MB, free: 3.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.4331, allocations: 116.4 kB / 477.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.4332, allocations: 63.02 kB / 477.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.4332, allocations: 0 / 477.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4333, allocations: 326.8 kB / 478.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.4334, allocations: 36.38 kB / 478.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.4335, allocations: 67.92 kB / 478.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.4336, allocations: 43.92 kB / 478.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4336, allocations: 0 / 478.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003376/0.4339, allocations: 189.4 kB / 478.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.434, allocations: 4 kB / 478.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.434, allocations: 7.984 kB / 478.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.4341, allocations: 36.84 kB / 478.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.4343, allocations: 35.92 kB / 478.6 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.4358, allocations: 1.486 MB / 480.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.4359, allocations: 7.953 kB / 480.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.436, allocations: 4 kB / 480.1 MB, free: 1.359 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 9.969e-05/0.4361, allocations: 109 kB / 480.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.4361, allocations: 11.91 kB / 480.2 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.4361, allocations: 12.75 kB / 480.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4362, allocations: 4 kB / 480.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4362, allocations: 256 / 480.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4362, allocations: 0 / 480.2 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.4369, allocations: 0.5073 MB / 480.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4369, allocations: 0 / 480.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.4371, allocations: 39.91 kB / 480.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.4372, allocations: 32.88 kB / 480.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4372, allocations: 0 / 480.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.4383, allocations: 1.307 MB / 482.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4383, allocations: 0 / 482.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.4388, allocations: 327.1 kB / 482.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.4389, allocations: 93.03 kB / 482.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4389, allocations: 4 kB / 482.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.439, allocations: 7.922 kB / 482.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.4391, allocations: 15.98 kB / 482.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4391, allocations: 11.89 kB / 482.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.158e-05/0.4392, allocations: 99.33 kB / 482.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4392, allocations: 0 / 482.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000366/0.4396, allocations: 35.94 kB / 482.7 MB, free: 14.54 MB / 346.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.0001523/0.4397, allocations: 91.25 kB / 482.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.4402, allocations: 233 kB / 483 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4402, allocations: 8.062 kB / 483 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.4405, allocations: 173.7 kB / 483.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4408, allocations: 11.98 kB / 483.2 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.4415, allocations: 323.2 kB / 483.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.442, allocations: 0.7204 MB / 484.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.313e-05/0.4421, allocations: 21.19 kB / 484.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.4421, allocations: 15.38 kB / 484.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4421, allocations: 3.938 kB / 484.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of Templates: time 0.004503/0.4466, allocations: 1.328 MB / 485.6 MB, free: 11.55 MB / 346.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)