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.001186/0.001186, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.001085/0.001085, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.00802/0.00802, allocations: 1.279 MB / 292.4 MB, free: 13.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 353.8 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2041, allocations: 49.71 MB / 403.6 MB, free: 35.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003622/0.2078, allocations: 3.219 MB / 406.8 MB, free: 31.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.2101, allocations: 2.228 MB / 409 MB, free: 29.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.2103, allocations: 11.94 kB / 409 MB, free: 29.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.2119, allocations: 1.043 MB / 410.1 MB, free: 28.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.2123, allocations: 357.2 kB / 410.4 MB, free: 28.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2126, allocations: 139.6 kB / 410.5 MB, free: 28.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.213, allocations: 0.5331 MB / 411.1 MB, free: 27.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.2132, allocations: 140 kB / 411.2 MB, free: 27.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2134, allocations: 235.1 kB / 411.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2137, allocations: 339.1 kB / 411.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.2137, allocations: 32 kB / 411.8 MB, free: 26.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2139, allocations: 83.97 kB / 411.9 MB, free: 26.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.2141, allocations: 276.7 kB / 412.2 MB, free: 26.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.2143, allocations: 357.5 kB / 412.5 MB, free: 26.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.215, allocations: 0.8837 MB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.215, allocations: 4 kB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.215, allocations: 3.938 kB / 413.4 MB, free: 25.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.215, allocations: 4 kB / 413.4 MB, free: 25.2 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.001431/0.2165, allocations: 1.16 MB / 414.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2165, allocations: 12.03 kB / 414.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2166, allocations: 99.09 kB / 414.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009577/0.2176, allocations: 0.9093 MB / 415.6 MB, free: 22.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2176, allocations: 20.56 kB / 415.6 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2177, allocations: 27.91 kB / 415.6 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.218, allocations: 223.7 kB / 415.8 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.218, allocations: 0 / 415.8 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.218, allocations: 12 kB / 415.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.218, allocations: 7.938 kB / 415.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.2182, allocations: 146.1 kB / 416 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.2196, allocations: 1.337 MB / 417.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.2199, allocations: 251.9 kB / 417.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2201, allocations: 96.81 kB / 417.7 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2201, allocations: 7.984 kB / 417.7 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.2201, allocations: 34.88 kB / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.2201, allocations: 0 / 417.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001287/0.2214, allocations: 1.05 MB / 418.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2215, allocations: 55.34 kB / 418.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2228, allocations: 1.744 MB / 420.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2228, allocations: 29.7 kB / 420.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.2231, allocations: 373 kB / 421 MB, free: 17.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.2231, allocations: 102.6 kB / 421.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2233, allocations: 246.2 kB / 421.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.2234, allocations: 353.9 kB / 421.7 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.2238, allocations: 457.8 kB / 422.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.2243, allocations: 0.5506 MB / 422.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.2249, allocations: 0.6474 MB / 423.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2249, allocations: 4 kB / 423.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001301/0.2262, allocations: 1.283 MB / 424.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2262, allocations: 8.156 kB / 424.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2262, allocations: 4 kB / 424.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.2265, allocations: 73.67 kB / 424.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.227, allocations: 183.7 kB / 424.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2282, allocations: 2.281 MB / 427.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.2285, allocations: 28.03 kB / 427.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.2286, allocations: 28 kB / 427.2 MB, free: 10.8 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.0002994/0.2289, allocations: 385.4 kB / 427.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.229, allocations: 94.78 kB / 427.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.2293, allocations: 255.5 kB / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2293, allocations: 4 kB / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.2293, allocations: 0 / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2293, allocations: 0 / 427.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.2303, allocations: 0.9841 MB / 428.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2303, allocations: 0 / 428.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2305, allocations: 59.91 kB / 429 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2306, allocations: 32 / 429 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2306, allocations: 15.94 kB / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2306, allocations: 0 / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2306, allocations: 0 / 429 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.231, allocations: 440.9 kB / 429.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.2312, allocations: 220 kB / 429.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.2313, allocations: 7.938 kB / 429.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2315, allocations: 8.094 kB / 429.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.2315, allocations: 23.91 kB / 429.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2316, allocations: 8 kB / 429.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009118/0.2325, allocations: 1.138 MB / 430.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2325, allocations: 0 / 430.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.233, allocations: 164 kB / 431 MB, free: 6.887 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.0007355/0.2337, allocations: 373.3 kB / 431.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.2346, allocations: 0.8087 MB / 432.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2346, allocations: 0 / 432.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.2347, allocations: 88.16 kB / 432.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.2354, allocations: 120.6 kB / 432.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2372, allocations: 1.892 MB / 434.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2377, allocations: 1.074 MB / 435.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.2378, allocations: 76.36 kB / 435.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.2379, allocations: 39.42 kB / 435.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2379, allocations: 0 / 435.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of Templates: time 0.01171/0.2496, allocations: 6.506 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 gbode -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1)