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.0008792/0.0008791, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009385/0.0009385, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007568/0.007568, allocations: 1.267 MB / 292.4 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002744, allocations: 8 kB / 353.5 MB, free: 2.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 50.7 MB / 404.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003171/0.2137, allocations: 2.748 MB / 407 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2158, allocations: 1.991 MB / 409 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2159, allocations: 6.906 kB / 409 MB, free: 7.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2175, allocations: 0.927 MB / 409.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.2179, allocations: 301.3 kB / 410.2 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2182, allocations: 108.3 kB / 410.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.2186, allocations: 481 kB / 410.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2187, allocations: 103.4 kB / 410.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.2189, allocations: 203.2 kB / 411.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.2192, allocations: 277.4 kB / 411.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.2193, allocations: 14.78 kB / 411.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.2194, allocations: 67.08 kB / 411.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2196, allocations: 260.6 kB / 411.7 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.2197, allocations: 160.8 kB / 411.8 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.2203, allocations: 0.6813 MB / 412.5 MB, free: 6.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2204, allocations: 1 kB / 412.5 MB, free: 6.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2204, allocations: 0 / 412.5 MB, free: 6.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2204, allocations: 0 / 412.5 MB, free: 6.266 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.001177/0.2216, allocations: 1.057 MB / 413.6 MB, free: 5.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2216, allocations: 8.781 kB / 413.6 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2217, allocations: 99.39 kB / 413.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.2226, allocations: 0.8614 MB / 414.5 MB, free: 4.902 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2227, allocations: 22.95 kB / 414.6 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.2227, allocations: 27.03 kB / 414.6 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.223, allocations: 221.7 kB / 414.8 MB, free: 4.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.223, allocations: 5.891 kB / 414.8 MB, free: 4.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2231, allocations: 6.75 kB / 414.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2231, allocations: 10.3 kB / 414.8 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2233, allocations: 144.9 kB / 415 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.2247, allocations: 1.338 MB / 416.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2251, allocations: 267.3 kB / 416.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2253, allocations: 91.45 kB / 416.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2253, allocations: 3.312 kB / 416.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.2253, allocations: 35.97 kB / 416.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.2253, allocations: 0 / 416.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001275/0.2266, allocations: 1.036 MB / 417.7 MB, free: 2.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.2266, allocations: 54.62 kB / 417.8 MB, free: 2.809 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.2284, allocations: 1.743 MB / 419.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2284, allocations: 30.7 kB / 419.5 MB, free: 2.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.2287, allocations: 370.6 kB / 419.9 MB, free: 1.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.2287, allocations: 106.5 kB / 420 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.2288, allocations: 19.34 kB / 420 MB, free: 1.738 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.2288, allocations: 349.3 kB / 420.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.2294, allocations: 453.4 kB / 420.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.23, allocations: 0.5442 MB / 421.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.2306, allocations: 0.4967 MB / 421.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2306, allocations: 5.281 kB / 421.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001566/0.2322, allocations: 1.271 MB / 423.1 MB, free: 488 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2322, allocations: 6.438 kB / 423.1 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2322, allocations: 5.406 kB / 423.1 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.2325, allocations: 79.22 kB / 423.2 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.233, allocations: 187.6 kB / 423.4 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.2345, allocations: 2.107 MB / 425.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.2348, allocations: 23.83 kB / 425.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.2348, allocations: 29.25 kB / 425.6 MB, free: 14.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.2352, allocations: 377.3 kB / 425.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2353, allocations: 91.62 kB / 426 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.2357, allocations: 259.7 kB / 426.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2357, allocations: 6 kB / 426.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2357, allocations: 1.656 kB / 426.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2357, allocations: 1.922 kB / 426.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.237, allocations: 0.9907 MB / 427.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.237, allocations: 0 / 427.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2373, allocations: 65.44 kB / 427.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2373, allocations: 1.25 kB / 427.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2373, allocations: 6.094 kB / 427.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2373, allocations: 2 kB / 427.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2373, allocations: 0 / 427.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.2378, allocations: 442.6 kB / 427.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.238, allocations: 224.8 kB / 428 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.2381, allocations: 10.47 kB / 428 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2383, allocations: 5.219 kB / 428 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2383, allocations: 11.08 kB / 428 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2384, allocations: 9.094 kB / 428 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.2396, allocations: 1.139 MB / 429.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2396, allocations: 0 / 429.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000541/0.2401, allocations: 164.4 kB / 429.3 MB, free: 12.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007579/0.2409, allocations: 370.1 kB / 429.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2419, allocations: 0.8013 MB / 430.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2419, allocations: 0 / 430.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2421, allocations: 80.03 kB / 430.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.2427, allocations: 106.5 kB / 430.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2452, allocations: 2.153 MB / 432.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.2459, allocations: 1.071 MB / 433.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.246, allocations: 72.36 kB / 434 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.2461, allocations: 35.44 kB / 434 MB, free: 8.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2462, allocations: 0 / 434 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Templates: time 0.01047/0.2566, allocations: 5.971 MB / 440 MB, free: 2.746 MB / 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)