Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006805/0.006805, allocations: 98.67 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 196.7 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3415/0.3415, allocations: 39.95 MB / 309.8 MB, free: 9.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.89 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3867, allocations: 56.87 MB / 492.6 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00331/0.3901, allocations: 1.902 MB / 494.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.391, allocations: 0.5334 MB / 495.1 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.3911, allocations: 6.156 kB / 495.1 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.3913, allocations: 19.52 kB / 495.1 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3914, allocations: 42.44 kB / 495.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.3916, allocations: 31.28 kB / 495.2 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3918, allocations: 155.8 kB / 495.3 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.392, allocations: 62.83 kB / 495.4 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3921, allocations: 62.48 kB / 495.4 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3922, allocations: 67.23 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.3922, allocations: 11.91 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.3923, allocations: 11.94 kB / 495.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.3923, allocations: 28.22 kB / 495.6 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.3924, allocations: 67.66 kB / 495.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3926, allocations: 149.1 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3926, allocations: 0 / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3926, allocations: 0 / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3927, allocations: 1.125 kB / 495.8 MB, free: 17.34 MB / 382.1 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.0005246/0.3932, allocations: 442 kB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3932, allocations: 13.47 kB / 496.2 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.3933, allocations: 16.44 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3935, allocations: 209.6 kB / 496.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3935, allocations: 9.594 kB / 496.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3936, allocations: 18.34 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3938, allocations: 129 kB / 496.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3939, allocations: 5.562 kB / 496.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3939, allocations: 5.625 kB / 496.6 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3939, allocations: 2.719 kB / 496.6 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3941, allocations: 81.22 kB / 496.7 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.3948, allocations: 469.6 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.395, allocations: 122.5 kB / 497.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3951, allocations: 60.5 kB / 497.3 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3951, allocations: 2.156 kB / 497.3 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3951, allocations: 31.88 kB / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.3952, allocations: 0 / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001519/0.3967, allocations: 0.8092 MB / 498.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.3967, allocations: 53.47 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3969, allocations: 138.2 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3969, allocations: 30.77 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.3969, allocations: 114 kB / 498.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.397, allocations: 67.94 kB / 498.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.3971, allocations: 33.84 kB / 498.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.3971, allocations: 325 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.3972, allocations: 45.7 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3973, allocations: 77.17 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3976, allocations: 134.9 kB / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3976, allocations: 0 / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003574/0.3979, allocations: 211.7 kB / 499.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.398, allocations: 10.28 kB / 499.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.398, allocations: 1.219 kB / 499.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.3981, allocations: 48.69 kB / 499.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3983, allocations: 32.64 kB / 499.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3995, allocations: 1.737 MB / 0.4894 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.3995, allocations: 7.172 kB / 0.4895 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3996, allocations: 5.609 kB / 0.4895 GB, free: 12.79 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/0.3997, allocations: 134.3 kB / 0.4896 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3997, allocations: 14.39 kB / 0.4896 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.3997, allocations: 21.31 kB / 0.4896 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3997, allocations: 5.844 kB / 0.4896 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3998, allocations: 1.562 kB / 0.4896 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3998, allocations: 1.219 kB / 0.4896 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.4004, allocations: 0.5537 MB / 0.4902 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4005, allocations: 4 kB / 0.4902 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.4006, allocations: 37.78 kB / 0.4902 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.4007, allocations: 33.38 kB / 0.4902 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4008, allocations: 5.562 kB / 0.4903 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008058/0.4016, allocations: 1.48 MB / 0.4917 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4016, allocations: 0.6094 kB / 0.4917 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.402, allocations: 359.5 kB / 0.492 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.4021, allocations: 86.69 kB / 0.4921 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.4021, allocations: 5.781 kB / 0.4921 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.4022, allocations: 7.219 kB / 0.4921 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4022, allocations: 15.72 kB / 0.4921 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4023, allocations: 8.312 kB / 0.4922 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.4023, allocations: 110 kB / 0.4923 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4023, allocations: 0 / 0.4923 GB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.4027, allocations: 42.28 kB / 0.4923 GB, free: 10.26 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.998e-05/0.4027, allocations: 97.39 kB / 0.4924 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4032, allocations: 266.9 kB / 0.4926 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4032, allocations: 4.062 kB / 0.4927 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.4035, allocations: 193.1 kB / 0.4928 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4038, allocations: 23.03 kB / 0.4929 GB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.4046, allocations: 443.1 kB / 0.4933 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.4047, allocations: 0.7173 MB / 0.494 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.986e-05/0.4048, allocations: 10.25 kB / 0.494 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.4048, allocations: 15.55 kB / 0.494 GB, free: 8.832 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4048, allocations: 4 kB / 0.494 GB, free: 8.828 MB / 382.1 MB Notification: Performance of Templates: time 0.005283/0.4101, allocations: 1.679 MB / 0.4957 GB, free: 8.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)