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-main/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.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.001308/0.001308, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.008318/0.008318, allocations: 1.294 MB / 291.7 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 55.91 kB / 352.4 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 49.71 MB / 402.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003861/0.2166, allocations: 3.219 MB / 405.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2192, allocations: 2.231 MB / 407.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.2194, allocations: 7.906 kB / 407.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.2214, allocations: 1.056 MB / 408.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.2219, allocations: 348.4 kB / 409 MB, free: 6.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.2223, allocations: 137.6 kB / 409.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.2227, allocations: 0.5282 MB / 409.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.2229, allocations: 130.4 kB / 409.8 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.2231, allocations: 240.1 kB / 410 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.2235, allocations: 341 kB / 410.3 MB, free: 5.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.2235, allocations: 35.69 kB / 410.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2237, allocations: 83.88 kB / 410.4 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.2239, allocations: 274.4 kB / 410.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.2242, allocations: 358.2 kB / 411.1 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.2249, allocations: 0.8807 MB / 411.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2249, allocations: 0 / 411.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2249, allocations: 0 / 411.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.225, allocations: 0 / 411.9 MB, free: 5.055 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.001289/0.2263, allocations: 1.166 MB / 413.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2263, allocations: 9.625 kB / 413.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2264, allocations: 99.53 kB / 413.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.2273, allocations: 0.9073 MB / 414.1 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2273, allocations: 17.59 kB / 414.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.2274, allocations: 28.98 kB / 414.2 MB, free: 3.559 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.2277, allocations: 228.4 kB / 414.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2277, allocations: 5.734 kB / 414.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.2278, allocations: 10.09 kB / 414.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2278, allocations: 9.844 kB / 414.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.228, allocations: 137.4 kB / 414.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.2296, allocations: 1.342 MB / 415.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.2299, allocations: 264.1 kB / 416.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2301, allocations: 91.55 kB / 416.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2302, allocations: 2.375 kB / 416.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.2302, allocations: 37.03 kB / 416.3 MB, free: 2.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.2302, allocations: 1.219 kB / 416.3 MB, free: 2.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001375/0.2316, allocations: 1.04 MB / 417.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2316, allocations: 53.53 kB / 417.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.2333, allocations: 1.749 MB / 419.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2334, allocations: 25.7 kB / 419.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.2336, allocations: 367.4 kB / 419.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.2337, allocations: 114.8 kB / 419.6 MB, free: 428 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.2339, allocations: 243.4 kB / 419.9 MB, free: 316 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.234, allocations: 350.8 kB / 420.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.2346, allocations: 457.7 kB / 420.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.2352, allocations: 0.5438 MB / 421.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.236, allocations: 0.6514 MB / 421.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.236, allocations: 3.938 kB / 421.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001777/0.2378, allocations: 1.279 MB / 423.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2379, allocations: 4.938 kB / 423.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2379, allocations: 2.719 kB / 423.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.2382, allocations: 91.05 kB / 423.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.2387, allocations: 183.1 kB / 423.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.2405, allocations: 2.282 MB / 425.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2408, allocations: 22.94 kB / 425.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.2409, allocations: 29.98 kB / 425.7 MB, free: 12.67 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.0004158/0.2413, allocations: 384.9 kB / 426.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2414, allocations: 91.81 kB / 426.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.2418, allocations: 255.7 kB / 426.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2419, allocations: 3.469 kB / 426.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.2419, allocations: 4.844 kB / 426.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2419, allocations: 0.5625 kB / 426.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2431, allocations: 0.9909 MB / 427.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2432, allocations: 1.844 kB / 427.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.2434, allocations: 65.81 kB / 427.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.2434, allocations: 5.062 kB / 427.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2434, allocations: 10.09 kB / 427.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2435, allocations: 1.312 kB / 427.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2435, allocations: 0 / 427.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.2439, allocations: 442 kB / 428 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.2442, allocations: 220 kB / 428.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.2443, allocations: 6.75 kB / 428.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2445, allocations: 9.375 kB / 428.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2445, allocations: 14.84 kB / 428.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2446, allocations: 9.5 kB / 428.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.2458, allocations: 1.132 MB / 429.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2458, allocations: 0 / 429.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.2464, allocations: 167.7 kB / 429.5 MB, free: 10.37 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.00081/0.2472, allocations: 373.7 kB / 429.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.2483, allocations: 0.823 MB / 430.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2483, allocations: 1.5 kB / 430.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2485, allocations: 84.97 kB / 430.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.2492, allocations: 121 kB / 430.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2517, allocations: 1.927 MB / 432.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.2523, allocations: 1.07 MB / 433.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.2525, allocations: 84.34 kB / 434 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2526, allocations: 39.42 kB / 434 MB, free: 6.617 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2526, allocations: 0 / 434 MB, free: 6.617 MB / 302.1 MB Notification: Performance of Templates: time 0.01259/0.2652, allocations: 6.499 MB / 440.5 MB, free: 164 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)