Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001614, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001447/0.001447, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.013/0.013, allocations: 1.295 MB / 292.3 MB, free: 13.58 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 55.91 kB / 353.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.257, allocations: 49.73 MB / 402.8 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.00496/0.262, allocations: 4.201 MB / 407 MB, free: 30.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.2657, allocations: 2.624 MB / 409.6 MB, free: 28.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.2664, allocations: 19.88 kB / 409.6 MB, free: 28.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2689, allocations: 1.114 MB / 410.8 MB, free: 27.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008875/0.2698, allocations: 402 kB / 411.2 MB, free: 26.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.2705, allocations: 318.5 kB / 411.5 MB, free: 26.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.2714, allocations: 0.8571 MB / 412.3 MB, free: 25.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.2718, allocations: 242.7 kB / 412.6 MB, free: 25.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.2722, allocations: 366.4 kB / 412.9 MB, free: 25.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.2725, allocations: 462.5 kB / 413.4 MB, free: 24.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.2726, allocations: 60 kB / 413.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.2729, allocations: 108 kB / 413.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.2731, allocations: 348.4 kB / 413.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.2734, allocations: 480.8 kB / 414.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.2742, allocations: 1.172 MB / 415.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2742, allocations: 0 / 415.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2743, allocations: 4 kB / 415.5 MB, free: 22.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2743, allocations: 0 / 415.5 MB, free: 22.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001891/0.2762, allocations: 1.463 MB / 417 MB, free: 20.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2762, allocations: 12.03 kB / 417 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2764, allocations: 134.6 kB / 417.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.2773, allocations: 1.048 MB / 418.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.2774, allocations: 40.94 kB / 418.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.2774, allocations: 43.91 kB / 418.3 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.2782, allocations: 494.3 kB / 418.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2783, allocations: 4 kB / 418.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.2783, allocations: 16 kB / 418.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2783, allocations: 11.94 kB / 418.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.2793, allocations: 419.6 kB / 419.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.2816, allocations: 2.226 MB / 421.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.2825, allocations: 472.5 kB / 421.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.283, allocations: 204.7 kB / 422.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.283, allocations: 7.984 kB / 422.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.283, allocations: 34.56 kB / 422.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.2831, allocations: 0 / 422.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003318/0.2864, allocations: 1.728 MB / 423.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2864, allocations: 81.11 kB / 423.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2882, allocations: 1.949 MB / 425.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2882, allocations: 29.7 kB / 425.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.2885, allocations: 492.2 kB / 426.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.2886, allocations: 154 kB / 426.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.2888, allocations: 282.5 kB / 426.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.2889, allocations: 361.9 kB / 427.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007835/0.2897, allocations: 0.5799 MB / 427.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.2905, allocations: 0.7104 MB / 428.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2918, allocations: 0.9144 MB / 429.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2918, allocations: 0 / 429.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002212/0.2941, allocations: 1.559 MB / 430.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2941, allocations: 8 kB / 430.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2941, allocations: 0 / 430.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.2943, allocations: 48.77 kB / 431 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2954, allocations: 347.6 kB / 431.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.297, allocations: 2.132 MB / 433.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.2976, allocations: 47.97 kB / 433.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.2977, allocations: 39.98 kB / 433.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/0.2989, allocations: 0.9164 MB / 434.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007721/0.2997, allocations: 0.6948 MB / 435.1 MB, free: 2.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/0.3009, allocations: 0.8871 MB / 436 MB, free: 1.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.3009, allocations: 0 / 436 MB, free: 1.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002255/0.3031, allocations: 1.543 MB / 437.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3032, allocations: 10.5 kB / 437.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3032, allocations: 0 / 437.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.3033, allocations: 41.09 kB / 437.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.3042, allocations: 267.5 kB / 437.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/0.3046, allocations: 0.5562 MB / 438.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.3052, allocations: 47.97 kB / 438.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.3052, allocations: 39.98 kB / 438.5 MB, free: 14.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.3055, allocations: 228.5 kB / 438.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3057, allocations: 114.5 kB / 438.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3069, allocations: 0.4896 MB / 439.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3069, allocations: 4 kB / 439.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3069, allocations: 0 / 439.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.307, allocations: 3.984 kB / 439.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.3093, allocations: 1.412 MB / 440.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3093, allocations: 0 / 440.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.3098, allocations: 111.8 kB / 440.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3098, allocations: 0 / 440.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.3099, allocations: 8 kB / 440.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.3099, allocations: 15.98 kB / 440.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3099, allocations: 4 kB / 440.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.3115, allocations: 0.8139 MB / 441.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.3119, allocations: 263.6 kB / 442 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.312, allocations: 11.98 kB / 442 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.3124, allocations: 35.91 kB / 442 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3126, allocations: 31.95 kB / 442.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.3126, allocations: 8 kB / 442.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.3144, allocations: 1.266 MB / 443.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3144, allocations: 0 / 443.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001201/0.3156, allocations: 372 kB / 443.7 MB, free: 9.348 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009919/0.3166, allocations: 369 kB / 444 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.3203, allocations: 1.847 MB / 445.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.3204, allocations: 4 kB / 445.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.3209, allocations: 199.6 kB / 446.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.3222, allocations: 206.3 kB / 446.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.3264, allocations: 2.318 MB / 448.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.3272, allocations: 1.108 MB / 449.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.3275, allocations: 63.42 kB / 449.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3275, allocations: 0 / 449.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of Templates: time 0.02625/0.3538, allocations: 16.84 MB / 466.6 MB, free: 2.488 MB / 334.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1)