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.005353/0.005353, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001334/0.001334, allocations: 193.1 kB / 16.79 MB, free: 6.254 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008029/0.008029, allocations: 1.294 MB / 291.9 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.91 kB / 352.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07811/0.07932, allocations: 49.73 MB / 402.1 MB, free: 300 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.1345/0.2139, allocations: 3.24 MB / 405.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.2168, allocations: 2.187 MB / 407.5 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.2172, allocations: 11.44 kB / 407.5 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.2194, allocations: 0.9905 MB / 408.5 MB, free: 6.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006132/0.22, allocations: 318 kB / 408.8 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.2204, allocations: 127.1 kB / 409 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.2209, allocations: 0.508 MB / 409.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2211, allocations: 108.2 kB / 409.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.2214, allocations: 218.1 kB / 409.8 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.2217, allocations: 322 kB / 410.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.2217, allocations: 18.22 kB / 410.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.2219, allocations: 66.31 kB / 410.2 MB, free: 6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.2222, allocations: 264.8 kB / 410.5 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.2224, allocations: 340.7 kB / 410.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.223, allocations: 0.7046 MB / 411.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.223, allocations: 1.219 kB / 411.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.223, allocations: 4 kB / 411.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.223, allocations: 0 / 411.5 MB, free: 5.406 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.001309/0.2243, allocations: 1.164 MB / 412.7 MB, free: 4.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2244, allocations: 9.625 kB / 412.7 MB, free: 4.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2245, allocations: 99.66 kB / 412.8 MB, free: 4.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.2254, allocations: 0.9124 MB / 413.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2254, allocations: 17.59 kB / 413.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.2254, allocations: 31.69 kB / 413.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2258, allocations: 221.7 kB / 413.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2258, allocations: 6.172 kB / 414 MB, free: 3.789 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2258, allocations: 5.031 kB / 414 MB, free: 3.785 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2258, allocations: 10.41 kB / 414 MB, free: 3.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.2261, allocations: 145.7 kB / 414.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2276, allocations: 1.336 MB / 415.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.228, allocations: 269.2 kB / 415.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.2282, allocations: 93.94 kB / 415.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2282, allocations: 2.953 kB / 415.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.2282, allocations: 37.12 kB / 415.8 MB, free: 2.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.2282, allocations: 4 kB / 415.8 MB, free: 2.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001376/0.2296, allocations: 1.035 MB / 416.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2297, allocations: 55.8 kB / 416.9 MB, free: 1.832 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.2314, allocations: 1.743 MB / 418.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2315, allocations: 35.44 kB / 418.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.2317, allocations: 365.4 kB / 419.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2318, allocations: 103.2 kB / 419.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.232, allocations: 246.8 kB / 419.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.2321, allocations: 351.8 kB / 419.8 MB, free: 352 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.2326, allocations: 462.3 kB / 420.2 MB, free: 220 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.2332, allocations: 0.5516 MB / 420.8 MB, free: 12 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.2341, allocations: 0.6464 MB / 421.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2341, allocations: 0 / 421.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001835/0.2359, allocations: 1.284 MB / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.236, allocations: 9.375 kB / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.236, allocations: 2.406 kB / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.2363, allocations: 81.64 kB / 422.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.2368, allocations: 181 kB / 423 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2385, allocations: 2.11 MB / 425.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.2388, allocations: 26.56 kB / 425.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.2389, allocations: 30.19 kB / 425.1 MB, free: 13.2 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.0004547/0.2394, allocations: 381.9 kB / 425.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2395, allocations: 91.8 kB / 425.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.2399, allocations: 258.9 kB / 425.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2399, allocations: 2.781 kB / 425.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2399, allocations: 2.156 kB / 425.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2399, allocations: 1.172 kB / 425.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2412, allocations: 0.9943 MB / 426.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2413, allocations: 1.859 kB / 426.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.2415, allocations: 52.52 kB / 426.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2415, allocations: 1.5 kB / 426.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2416, allocations: 7.688 kB / 426.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2416, allocations: 5.406 kB / 426.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2416, allocations: 0 / 426.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.2421, allocations: 444.3 kB / 427.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.2423, allocations: 221.5 kB / 427.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.2424, allocations: 1.969 kB / 427.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2426, allocations: 9.344 kB / 427.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.2427, allocations: 15.33 kB / 427.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2427, allocations: 6.094 kB / 427.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001259/0.2439, allocations: 1.138 MB / 428.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.244, allocations: 4 kB / 428.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006057/0.2446, allocations: 168.7 kB / 428.9 MB, free: 11.07 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.000789/0.2454, allocations: 362.9 kB / 429.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2465, allocations: 0.8128 MB / 430.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2465, allocations: 3.938 kB / 430.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2466, allocations: 80.62 kB / 430.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.2474, allocations: 115.2 kB / 430.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.2498, allocations: 2.024 MB / 432.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.2504, allocations: 1.019 MB / 433.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2506, allocations: 39.42 kB / 433.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2506, allocations: 7.938 kB / 433.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of Templates: time 0.01509/0.2657, allocations: 12.62 MB / 446 MB, free: 11.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 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1)