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.1.0-main/package.mo", uses=false) Using package Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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.001198/0.001197, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001424/0.001424, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008446/0.008446, allocations: 1.294 MB / 292.4 MB, free: 13.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 353.8 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2839, allocations: 49.72 MB / 403.6 MB, free: 35.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004174/0.2881, allocations: 3.221 MB / 406.8 MB, free: 31.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2911, allocations: 2.22 MB / 409 MB, free: 29.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.2913, allocations: 8 kB / 409 MB, free: 29.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.2936, allocations: 1.049 MB / 410.1 MB, free: 28.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.2941, allocations: 353.5 kB / 410.4 MB, free: 28.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2945, allocations: 131.7 kB / 410.5 MB, free: 28.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.295, allocations: 0.5408 MB / 411.1 MB, free: 27.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2952, allocations: 136 kB / 411.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2954, allocations: 239.1 kB / 411.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.2957, allocations: 335.2 kB / 411.8 MB, free: 26.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.2958, allocations: 32 kB / 411.8 MB, free: 26.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2959, allocations: 87.91 kB / 411.9 MB, free: 26.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2961, allocations: 272.7 kB / 412.1 MB, free: 26.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2963, allocations: 361.5 kB / 412.5 MB, free: 26.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.2969, allocations: 0.8837 MB / 413.4 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2969, allocations: 0 / 413.4 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2969, allocations: 4 kB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2969, allocations: 0 / 413.4 MB, free: 25.21 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001409/0.2984, allocations: 1.164 MB / 414.6 MB, free: 24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2984, allocations: 11.97 kB / 414.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2985, allocations: 99.09 kB / 414.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2996, allocations: 0.9171 MB / 415.6 MB, free: 22.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2996, allocations: 20.56 kB / 415.6 MB, free: 22.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.2997, allocations: 27.91 kB / 415.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.3, allocations: 219.7 kB / 415.8 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3, allocations: 11.97 kB / 415.9 MB, free: 22.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3001, allocations: 8 kB / 415.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3001, allocations: 11.94 kB / 415.9 MB, free: 22.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3003, allocations: 138.1 kB / 416 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.3017, allocations: 1.333 MB / 417.3 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.302, allocations: 263.9 kB / 417.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3022, allocations: 95.83 kB / 417.7 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3022, allocations: 4 kB / 417.7 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3023, allocations: 34.92 kB / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.3023, allocations: 0 / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001329/0.3036, allocations: 1.046 MB / 418.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.3036, allocations: 59.41 kB / 418.8 MB, free: 19.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.305, allocations: 1.744 MB / 420.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.305, allocations: 29.7 kB / 420.6 MB, free: 17.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3052, allocations: 361 kB / 421 MB, free: 17.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.3053, allocations: 106.6 kB / 421.1 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3055, allocations: 246.2 kB / 421.3 MB, free: 16.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.3056, allocations: 357.9 kB / 421.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.306, allocations: 453.8 kB / 422.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.3065, allocations: 0.5584 MB / 422.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.307, allocations: 0.6435 MB / 423.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.307, allocations: 0 / 423.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001344/0.3084, allocations: 1.287 MB / 424.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3084, allocations: 8.031 kB / 424.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3084, allocations: 4 kB / 424.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.3087, allocations: 77.67 kB / 424.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.3092, allocations: 187.7 kB / 424.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3105, allocations: 2.281 MB / 427.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3108, allocations: 20 kB / 427.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.3109, allocations: 32 kB / 427.2 MB, free: 10.81 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.0003419/0.3113, allocations: 381.4 kB / 427.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.3114, allocations: 90.97 kB / 427.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3117, allocations: 259.4 kB / 427.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3118, allocations: 0 / 427.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3118, allocations: 8 kB / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3118, allocations: 0 / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3128, allocations: 0.9919 MB / 428.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3128, allocations: 0 / 428.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3131, allocations: 51.97 kB / 429 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3131, allocations: 8.031 kB / 429 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3131, allocations: 7.938 kB / 429 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3131, allocations: 4 kB / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3131, allocations: 0 / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.3135, allocations: 440.8 kB / 429.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.3138, allocations: 220 kB / 429.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.3138, allocations: 11.94 kB / 429.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.314, allocations: 8 kB / 429.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.3141, allocations: 11.98 kB / 429.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3141, allocations: 8 kB / 429.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009739/0.3151, allocations: 1.138 MB / 430.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3151, allocations: 0 / 430.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005124/0.3156, allocations: 164 kB / 431 MB, free: 6.895 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.0007801/0.3164, allocations: 378 kB / 431.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000894/0.3173, allocations: 0.8048 MB / 432.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3173, allocations: 4.312 kB / 432.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.772e-05/0.3174, allocations: 83.91 kB / 432.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.3181, allocations: 121.2 kB / 432.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3202, allocations: 1.899 MB / 434.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3206, allocations: 1.074 MB / 435.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.3208, allocations: 76.34 kB / 435.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.3209, allocations: 43.36 kB / 435.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3209, allocations: 0 / 435.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.3327, allocations: 6.5 MB / 441.9 MB, free: 12.04 MB / 318.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 -s cvode -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1)