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.005373/0.005373, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001321/0.001321, allocations: 194 kB / 16.79 MB, free: 5.809 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.267/1.267, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.00795/0.00795, allocations: 1.297 MB / 291.9 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.91 kB / 352.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07444/0.07564, allocations: 49.74 MB / 402.1 MB, free: 292 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.1386/0.2142, allocations: 4.496 MB / 406.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.2191, allocations: 3.469 MB / 410.1 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.2199, allocations: 16.91 kB / 410.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.2225, allocations: 1.074 MB / 411.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.2236, allocations: 408 kB / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.2246, allocations: 354.8 kB / 411.9 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2256, allocations: 0.8681 MB / 412.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.226, allocations: 256 kB / 413 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.2263, allocations: 348.5 kB / 413.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.2268, allocations: 475.4 kB / 413.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.2269, allocations: 37 kB / 413.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2273, allocations: 141.1 kB / 414 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.2275, allocations: 328.7 kB / 414.3 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2278, allocations: 484.5 kB / 414.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.2287, allocations: 1.001 MB / 415.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2288, allocations: 0.6094 kB / 415.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2288, allocations: 1.469 kB / 415.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.2288, allocations: 0 / 415.8 MB, free: 2.648 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002112/0.2309, allocations: 1.547 MB / 417.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2309, allocations: 10.42 kB / 417.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2311, allocations: 142.5 kB / 417.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.2323, allocations: 1.092 MB / 418.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2324, allocations: 31 kB / 418.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.2324, allocations: 49.52 kB / 418.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.2332, allocations: 467.2 kB / 419.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2333, allocations: 9.406 kB / 419.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.2333, allocations: 16.89 kB / 419.2 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2333, allocations: 13.88 kB / 419.2 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.2341, allocations: 338.2 kB / 419.5 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.2371, allocations: 2.149 MB / 421.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.238, allocations: 453.1 kB / 422.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.2384, allocations: 198.4 kB / 422.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.2384, allocations: 9.188 kB / 422.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.239, allocations: 222.6 kB / 422.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.239, allocations: 0 / 422.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003361/0.2424, allocations: 1.718 MB / 424.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.2424, allocations: 112.3 kB / 424.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.2447, allocations: 2.004 MB / 426.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.2448, allocations: 32.45 kB / 426.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.2452, allocations: 494.5 kB / 426.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.2453, allocations: 170.8 kB / 427 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.2457, allocations: 278 kB / 427.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2458, allocations: 352.7 kB / 427.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000786/0.2466, allocations: 0.5426 MB / 428.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008696/0.2475, allocations: 0.6853 MB / 428.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.2487, allocations: 0.8713 MB / 429.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2487, allocations: 1.25 kB / 429.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002281/0.251, allocations: 1.508 MB / 431.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.251, allocations: 7.281 kB / 431.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2511, allocations: 6.5 kB / 431.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.2512, allocations: 38.62 kB / 431.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.2525, allocations: 354.4 kB / 431.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.255, allocations: 3.349 MB / 435 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.2556, allocations: 39.98 kB / 435 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.2557, allocations: 36 kB / 435.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/0.2569, allocations: 0.8775 MB / 435.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008084/0.2577, allocations: 0.6683 MB / 436.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001101/0.2588, allocations: 0.8431 MB / 437.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.2588, allocations: 0 / 437.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002035/0.2608, allocations: 1.477 MB / 438.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2609, allocations: 11.94 kB / 438.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2609, allocations: 3.938 kB / 439 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.261, allocations: 51.08 kB / 439 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/0.2619, allocations: 255.7 kB / 439.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.263, allocations: 1.887 MB / 441.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.2636, allocations: 43.95 kB / 441.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.2636, allocations: 36 kB / 441.2 MB, free: 15.3 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.000216/0.2639, allocations: 232 kB / 441.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.264, allocations: 122.4 kB / 441.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.265, allocations: 0.4904 MB / 442.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2651, allocations: 4.625 kB / 442.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2651, allocations: 3.938 kB / 442.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.2651, allocations: 7.969 kB / 442.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.2671, allocations: 1.43 MB / 443.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2671, allocations: 8 kB / 443.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.2676, allocations: 99.81 kB / 443.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2676, allocations: 4 kB / 443.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.2676, allocations: 8 kB / 443.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.2676, allocations: 4.031 kB / 443.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2676, allocations: 0 / 443.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.2689, allocations: 0.7951 MB / 444.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.2692, allocations: 259.6 kB / 444.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2693, allocations: 12 kB / 444.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2697, allocations: 27.97 kB / 444.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.2698, allocations: 19.97 kB / 444.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.2698, allocations: 19.98 kB / 444.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.2712, allocations: 1.307 MB / 446.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2712, allocations: 0 / 446.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001038/0.2723, allocations: 399.9 kB / 446.4 MB, free: 9.934 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.001588/0.2739, allocations: 0.7119 MB / 447.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.2769, allocations: 1.757 MB / 448.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2769, allocations: 0 / 448.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.2773, allocations: 191.8 kB / 449.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2784, allocations: 195.3 kB / 449.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.282, allocations: 2.729 MB / 452 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.2826, allocations: 1.146 MB / 453.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.2829, allocations: 63.42 kB / 453.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2829, allocations: 0 / 453.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of Templates: time 0.0233/0.3062, allocations: 20.23 MB / 473.5 MB, free: 15.22 MB / 350.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 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1)