Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001756/0.001756, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008436/0.008436, allocations: 1.293 MB / 291.4 MB, free: 1.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 72.11 kB / 351.9 MB, free: 1.945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09691, allocations: 49.72 MB / 401.6 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.1783/0.2752, allocations: 3.243 MB / 404.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.2782, allocations: 2.183 MB / 407 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.2785, allocations: 6.719 kB / 407.1 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2808, allocations: 1.033 MB / 408.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.2814, allocations: 318.2 kB / 408.4 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.2818, allocations: 120.5 kB / 408.5 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.2823, allocations: 0.5282 MB / 409 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.2825, allocations: 128.2 kB / 409.2 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.2828, allocations: 247.3 kB / 409.4 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.2832, allocations: 345.8 kB / 409.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.2832, allocations: 31.19 kB / 409.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.2834, allocations: 84.28 kB / 409.9 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.2837, allocations: 281.7 kB / 410.1 MB, free: 6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.2839, allocations: 356.8 kB / 410.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.2848, allocations: 0.8814 MB / 411.4 MB, free: 5.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2848, allocations: 0 / 411.4 MB, free: 5.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2849, allocations: 1.281 kB / 411.4 MB, free: 5.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.2849, allocations: 0 / 411.4 MB, free: 5.359 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00152/0.2864, allocations: 1.162 MB / 412.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2865, allocations: 9.906 kB / 412.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2866, allocations: 101.2 kB / 412.6 MB, free: 4.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2877, allocations: 0.9104 MB / 413.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2877, allocations: 18.08 kB / 413.6 MB, free: 3.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.2878, allocations: 27.09 kB / 413.6 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.2882, allocations: 233.9 kB / 413.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2882, allocations: 2.25 kB / 413.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2882, allocations: 9.469 kB / 413.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2882, allocations: 9.781 kB / 413.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2885, allocations: 137.8 kB / 414 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2902, allocations: 1.339 MB / 415.3 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.2906, allocations: 268.3 kB / 415.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2908, allocations: 92.66 kB / 415.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.2908, allocations: 2.375 kB / 415.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.2908, allocations: 32.75 kB / 415.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.2908, allocations: 3.984 kB / 415.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001607/0.2924, allocations: 1.042 MB / 416.7 MB, free: 1.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2925, allocations: 55.03 kB / 416.8 MB, free: 1.777 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.2947, allocations: 1.745 MB / 418.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2947, allocations: 31.23 kB / 418.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.295, allocations: 366 kB / 418.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.2951, allocations: 110.2 kB / 419 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.2955, allocations: 247.1 kB / 419.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2956, allocations: 351.8 kB / 419.6 MB, free: 292 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.2963, allocations: 458 kB / 420.1 MB, free: 164 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.2971, allocations: 0.5529 MB / 420.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000936/0.298, allocations: 0.6496 MB / 421.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.298, allocations: 0.9375 kB / 421.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002354/0.3004, allocations: 1.283 MB / 422.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.3004, allocations: 6.047 kB / 422.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3005, allocations: 5.156 kB / 422.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.3009, allocations: 87.95 kB / 422.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.3015, allocations: 182.1 kB / 422.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.3036, allocations: 2.275 MB / 425.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.304, allocations: 26.02 kB / 425.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.3041, allocations: 29.66 kB / 425.2 MB, free: 12.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (115): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006305/0.3048, allocations: 385.2 kB / 425.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3049, allocations: 92.95 kB / 425.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.3054, allocations: 251.4 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3054, allocations: 7.812 kB / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3054, allocations: 0 / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3054, allocations: 2.422 kB / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.3069, allocations: 0.9931 MB / 426.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.3069, allocations: 1.812 kB / 426.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3072, allocations: 60.53 kB / 426.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.3072, allocations: 5.219 kB / 426.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3072, allocations: 6.406 kB / 427 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3072, allocations: 1.281 kB / 427 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3072, allocations: 1.312 kB / 427 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.308, allocations: 447.5 kB / 427.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3083, allocations: 216.7 kB / 427.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.3084, allocations: 14.58 kB / 427.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3086, allocations: 6 kB / 427.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3087, allocations: 15.58 kB / 427.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3087, allocations: 4.281 kB / 427.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.3105, allocations: 1.14 MB / 428.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3106, allocations: 0 / 428.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000808/0.3114, allocations: 167 kB / 428.9 MB, free: 10.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.phi) * 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 (25): * Single equations (assignments): 25 * 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.0009437/0.3123, allocations: 371.1 kB / 429.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.3137, allocations: 0.817 MB / 430.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3137, allocations: 4 kB / 430.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3138, allocations: 80.44 kB / 430.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.3147, allocations: 121.3 kB / 430.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.3177, allocations: 2.183 MB / 432.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.3184, allocations: 1.074 MB / 433.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.3186, allocations: 76.34 kB / 433.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3187, allocations: 39.42 kB / 433.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3188, allocations: 0 / 433.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of Templates: time 0.01369/0.3324, allocations: 6.478 MB / 440.2 MB, free: 340 kB / 302.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1)