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.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.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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001453/0.001453, allocations: 192.4 kB / 16.14 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.008289/0.008289, allocations: 1.286 MB / 291.3 MB, free: 1.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 55.91 kB / 351.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 49.73 MB / 401.5 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.2708/0.4103, allocations: 4.505 MB / 406 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007292/0.4177, allocations: 3.46 MB / 409.4 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.419, allocations: 17.66 kB / 409.4 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.4226, allocations: 1.087 MB / 410.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.4243, allocations: 403.5 kB / 410.9 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.4257, allocations: 353.1 kB / 411.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.4275, allocations: 0.8678 MB / 412.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.4281, allocations: 251.5 kB / 412.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.4289, allocations: 353 kB / 412.7 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.4296, allocations: 477.4 kB / 413.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.4297, allocations: 33 kB / 413.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.4302, allocations: 144.5 kB / 413.4 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.4306, allocations: 333.3 kB / 413.7 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.4311, allocations: 479.9 kB / 414.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.4328, allocations: 1.245 MB / 415.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.4328, allocations: 0.6562 kB / 415.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.45e-06/0.4328, allocations: 1.344 kB / 415.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.4329, allocations: 0 / 415.4 MB, free: 2.523 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.002886/0.4358, allocations: 1.543 MB / 417 MB, free: 1.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4358, allocations: 10.25 kB / 417 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.436, allocations: 142.4 kB / 417.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.4383, allocations: 1.088 MB / 418.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.4384, allocations: 33.97 kB / 418.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.4385, allocations: 50.25 kB / 418.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4401, allocations: 469.8 kB / 418.7 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.4401, allocations: 2.484 kB / 418.7 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.4402, allocations: 24.98 kB / 418.8 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.4402, allocations: 14.09 kB / 418.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4413, allocations: 337.9 kB / 419.1 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.4464, allocations: 2.145 MB / 421.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.4474, allocations: 456.9 kB / 421.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.448, allocations: 195.9 kB / 421.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.448, allocations: 9.594 kB / 421.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006797/0.4487, allocations: 219 kB / 422.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/0.4487, allocations: 0 / 422.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.004218/0.4529, allocations: 1.707 MB / 423.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.453, allocations: 119.6 kB / 423.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.4564, allocations: 2.001 MB / 425.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.4565, allocations: 35.7 kB / 426 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007976/0.4574, allocations: 486.7 kB / 426.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.4576, allocations: 174.9 kB / 426.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005692/0.4582, allocations: 276.9 kB / 426.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4584, allocations: 365.1 kB / 427.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4595, allocations: 0.5417 MB / 427.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4608, allocations: 0.6825 MB / 428.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.4626, allocations: 0.8683 MB / 429.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4626, allocations: 0 / 429.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003127/0.4657, allocations: 1.504 MB / 430.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4658, allocations: 5.656 kB / 430.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4658, allocations: 6.312 kB / 430.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.466, allocations: 40.7 kB / 430.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4673, allocations: 355.5 kB / 431.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/0.4706, allocations: 3.357 MB / 434.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.4715, allocations: 39.98 kB / 434.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.4715, allocations: 32 kB / 434.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0016/0.4732, allocations: 0.8773 MB / 435.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009643/0.4741, allocations: 0.6724 MB / 436.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001322/0.4755, allocations: 0.843 MB / 437.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.4755, allocations: 0 / 437.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002859/0.4783, allocations: 1.477 MB / 438.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4784, allocations: 13.94 kB / 438.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4784, allocations: 4 kB / 438.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.4786, allocations: 36.83 kB / 438.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/0.4796, allocations: 263.6 kB / 438.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.4813, allocations: 1.88 MB / 440.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.4822, allocations: 52.22 kB / 440.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4823, allocations: 39.94 kB / 440.8 MB, free: 15.11 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.0004572/0.4828, allocations: 232.8 kB / 441 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.4832, allocations: 126.4 kB / 441.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.4846, allocations: 498 kB / 441.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4846, allocations: 4 kB / 441.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4846, allocations: 3.938 kB / 441.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.4846, allocations: 7.969 kB / 441.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.4884, allocations: 1.43 MB / 443.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4884, allocations: 0 / 443.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.4889, allocations: 103.9 kB / 443.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.489, allocations: 4 kB / 443.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.489, allocations: 12 kB / 443.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.489, allocations: 0 / 443.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.489, allocations: 0 / 443.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4906, allocations: 0.7912 MB / 444 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.4911, allocations: 263.6 kB / 444.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.4912, allocations: 8 kB / 444.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.4916, allocations: 31.97 kB / 444.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.4917, allocations: 27.91 kB / 444.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.4917, allocations: 19.98 kB / 444.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.4936, allocations: 1.303 MB / 445.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4936, allocations: 0 / 445.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001535/0.4951, allocations: 399.9 kB / 446 MB, free: 9.738 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.001765/0.4969, allocations: 0.7097 MB / 446.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003647/0.5006, allocations: 1.781 MB / 448.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5006, allocations: 0 / 448.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.501, allocations: 191.8 kB / 448.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.5024, allocations: 195 kB / 448.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.5075, allocations: 2.902 MB / 451.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.5087, allocations: 1.205 MB / 453 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.51, allocations: 377.2 kB / 453.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.5103, allocations: 63.42 kB / 453.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5103, allocations: 0 / 453.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Templates: time 0.02519/0.5355, allocations: 11.06 MB / 464.5 MB, free: 7.633 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 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1)