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.007034/0.007034, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.001315/0.001315, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.467/1.467, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.4172/0.4172, allocations: 39.93 MB / 309.8 MB, free: 9.484 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.001491/0.001491, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3759, allocations: 56.87 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00383/0.3798, allocations: 1.904 MB / 494.5 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.3808, allocations: 0.5381 MB / 495.1 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3809, allocations: 3.062 kB / 495.1 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3811, allocations: 23.41 kB / 495.1 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.3812, allocations: 38.39 kB / 495.1 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3815, allocations: 34.45 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3817, allocations: 157 kB / 495.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.3819, allocations: 61.12 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.382, allocations: 55.27 kB / 495.4 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3822, allocations: 66.03 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3822, allocations: 15.56 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.913e-05/0.3822, allocations: 12.75 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.3823, allocations: 28.53 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.3824, allocations: 65.95 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.3827, allocations: 146 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3827, allocations: 1 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3827, allocations: 4 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3827, allocations: 0 / 495.8 MB, free: 17.42 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.0006172/0.3833, allocations: 434.5 kB / 496.2 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3834, allocations: 14.33 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.3834, allocations: 15.66 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3837, allocations: 213.9 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3837, allocations: 9.938 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.3837, allocations: 12.78 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.384, allocations: 133.5 kB / 496.6 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.384, allocations: 1.25 kB / 496.6 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3841, allocations: 13.14 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3841, allocations: 4.719 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3843, allocations: 79.91 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.385, allocations: 466.9 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3853, allocations: 121.4 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3854, allocations: 60.98 kB / 497.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3854, allocations: 2 kB / 497.3 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.3854, allocations: 32.56 kB / 497.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3854, allocations: 0 / 497.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001605/0.3871, allocations: 0.8149 MB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.3871, allocations: 54 kB / 498.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3873, allocations: 136.4 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3873, allocations: 34.77 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.3873, allocations: 110.4 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.3874, allocations: 64.05 kB / 498.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3875, allocations: 37.52 kB / 498.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.3876, allocations: 324.8 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3877, allocations: 41.88 kB / 499 MB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3878, allocations: 80.47 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.388, allocations: 135.4 kB / 499.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3881, allocations: 0 / 499.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003964/0.3885, allocations: 212.5 kB / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3885, allocations: 13.06 kB / 499.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3885, allocations: 1.125 kB / 499.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.3887, allocations: 41.16 kB / 499.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3889, allocations: 36.42 kB / 499.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3903, allocations: 1.737 MB / 0.4895 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.3904, allocations: 9.141 kB / 0.4895 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3904, allocations: 4.844 kB / 0.4895 GB, free: 12.86 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 0.0001013/0.3905, allocations: 129.8 kB / 0.4896 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3905, allocations: 11.05 kB / 0.4896 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.3906, allocations: 15.67 kB / 0.4896 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3906, allocations: 6.469 kB / 0.4896 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3906, allocations: 1.219 kB / 0.4896 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3906, allocations: 1.172 kB / 0.4896 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.3914, allocations: 0.5617 MB / 0.4902 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3914, allocations: 1.281 kB / 0.4902 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3916, allocations: 36.81 kB / 0.4902 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.3917, allocations: 34.08 kB / 0.4902 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3917, allocations: 6.25 kB / 0.4902 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/0.3926, allocations: 1.483 MB / 0.4917 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3926, allocations: 1 kB / 0.4917 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3931, allocations: 355.1 kB / 0.492 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3932, allocations: 89.94 kB / 0.4921 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3932, allocations: 2.906 kB / 0.4921 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3933, allocations: 7 kB / 0.4921 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3933, allocations: 14.86 kB / 0.4921 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3934, allocations: 17.11 kB / 0.4922 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.3934, allocations: 105.6 kB / 0.4923 GB, free: 10.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3934, allocations: 0 / 0.4923 GB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.3938, allocations: 38.53 kB / 0.4923 GB, free: 10.34 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 0.0001199/0.3939, allocations: 103.8 kB / 0.4924 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.3944, allocations: 264.6 kB / 0.4926 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3945, allocations: 1.375 kB / 0.4927 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.3947, allocations: 195.4 kB / 0.4928 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3951, allocations: 18.16 kB / 0.4929 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.3959, allocations: 448.3 kB / 0.4933 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3961, allocations: 0.7174 MB / 0.494 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.3962, allocations: 18.84 kB / 0.494 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.3962, allocations: 14.44 kB / 0.494 GB, free: 8.902 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3963, allocations: 0 / 0.494 GB, free: 8.902 MB / 382.1 MB Notification: Performance of Templates: time 0.005682/0.4019, allocations: 1.628 MB / 0.4956 GB, free: 8.75 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)