Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001909/0.001909, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008081/0.008081, allocations: 1.294 MB / 292.5 MB, free: 13.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.84 kB / 353.9 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2026, allocations: 49.72 MB / 403.6 MB, free: 35.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.00457/0.2072, allocations: 4.509 MB / 408.1 MB, free: 30.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.2109, allocations: 3.535 MB / 411.6 MB, free: 26.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.2113, allocations: 19.88 kB / 411.6 MB, free: 26.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.2131, allocations: 1.149 MB / 412.8 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.2138, allocations: 444.8 kB / 413.2 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.2145, allocations: 410.3 kB / 413.6 MB, free: 24.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.2151, allocations: 0.9277 MB / 414.5 MB, free: 24.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.2154, allocations: 267.4 kB / 414.8 MB, free: 23.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.2157, allocations: 398.3 kB / 415.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2161, allocations: 498.3 kB / 415.7 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.2162, allocations: 64 kB / 415.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.2165, allocations: 167.9 kB / 415.9 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.2167, allocations: 356.4 kB / 416.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.2169, allocations: 0.5044 MB / 416.8 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.2177, allocations: 1.3 MB / 418.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2177, allocations: 0 / 418.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2177, allocations: 0 / 418.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2177, allocations: 0 / 418.1 MB, free: 20.52 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001732/0.2195, allocations: 1.545 MB / 419.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2195, allocations: 8.031 kB / 419.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.2197, allocations: 146.5 kB / 419.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2208, allocations: 1.101 MB / 420.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2209, allocations: 33 kB / 420.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.2209, allocations: 51.91 kB / 420.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.2216, allocations: 473.5 kB / 421.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2217, allocations: 4 kB / 421.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.2217, allocations: 16 kB / 421.4 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2217, allocations: 15.94 kB / 421.4 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.2224, allocations: 339.7 kB / 421.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.2247, allocations: 2.136 MB / 423.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.2255, allocations: 453.6 kB / 424.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.2258, allocations: 195.3 kB / 424.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.2259, allocations: 12.27 kB / 424.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.2263, allocations: 219.8 kB / 424.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.2263, allocations: 3.938 kB / 424.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002657/0.229, allocations: 1.71 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.229, allocations: 114.8 kB / 426.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.2307, allocations: 2.007 MB / 428.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2307, allocations: 33.7 kB / 428.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.231, allocations: 488.7 kB / 429.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.2311, allocations: 173.7 kB / 429.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.2314, allocations: 274.6 kB / 429.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.2314, allocations: 357.9 kB / 429.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.2322, allocations: 0.5448 MB / 430.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.2329, allocations: 0.6801 MB / 431.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.234, allocations: 0.8662 MB / 432 MB, free: 6.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.234, allocations: 0 / 432 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00193/0.2359, allocations: 1.508 MB / 433.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2359, allocations: 8 kB / 433.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.236, allocations: 3.938 kB / 433.5 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.2361, allocations: 41.12 kB / 433.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.2373, allocations: 347.5 kB / 433.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.2391, allocations: 3.55 MB / 437.4 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.2396, allocations: 39.98 kB / 437.5 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.2397, allocations: 32 kB / 437.5 MB, free: 256 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.2408, allocations: 0.8814 MB / 438.4 MB, free: 15.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008271/0.2416, allocations: 0.6684 MB / 439.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001148/0.2428, allocations: 0.8392 MB / 439.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.2428, allocations: 3.938 kB / 439.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00199/0.2448, allocations: 1.488 MB / 441.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2448, allocations: 11.94 kB / 441.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2448, allocations: 0 / 441.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.245, allocations: 40.81 kB / 441.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.2459, allocations: 263.6 kB / 441.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2471, allocations: 1.986 MB / 443.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.2476, allocations: 40.02 kB / 443.7 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.2477, allocations: 36 kB / 443.8 MB, free: 9.746 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.measurementsTable.nextTimeEvent,$whenCondition1,measurementsTable.nextTimeEventScaled,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEvent,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.2479, allocations: 236.5 kB / 444 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.248, allocations: 130.5 kB / 444.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.249, allocations: 498 kB / 444.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.249, allocations: 4 kB / 444.6 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.249, allocations: 0 / 444.6 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2491, allocations: 3.984 kB / 444.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.2511, allocations: 1.427 MB / 446 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2511, allocations: 0 / 446 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.2516, allocations: 99.88 kB / 446.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2516, allocations: 7.938 kB / 446.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2516, allocations: 15.94 kB / 446.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2516, allocations: 8.031 kB / 446.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2517, allocations: 0 / 446.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.2529, allocations: 0.7817 MB / 447 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.2533, allocations: 271.5 kB / 447.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2534, allocations: 19.88 kB / 447.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.2538, allocations: 19.98 kB / 447.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2539, allocations: 27.95 kB / 447.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2539, allocations: 12 kB / 447.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.2553, allocations: 1.311 MB / 448.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2554, allocations: 0 / 448.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009895/0.2563, allocations: 396 kB / 449 MB, free: 4.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,torqueLoad.phi,sine.phi) * Number of discrete variables: 3 ($whenCondition1,measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of discrete states: 2 (measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001581/0.2579, allocations: 0.7079 MB / 449.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.2611, allocations: 1.791 MB / 451.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2611, allocations: 0 / 451.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.2615, allocations: 196.2 kB / 451.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.2625, allocations: 209.6 kB / 451.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.2659, allocations: 2.515 MB / 454.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.2666, allocations: 1.197 MB / 455.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007924/0.2674, allocations: 389.1 kB / 456 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.2676, allocations: 63.42 kB / 456 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2676, allocations: 0 / 456 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.02368/0.2913, allocations: 11.55 MB / 467.6 MB, free: 2.145 MB / 334.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1)