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-alpha.1/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/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.001507/0.001507, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001751/0.001751, allocations: 193.7 kB / 16.13 MB, free: 6.57 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008119/0.008119, allocations: 1.282 MB / 291.2 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.88 kB / 351.7 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 49.72 MB / 401.5 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.204/0.3075, allocations: 4.497 MB / 406 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.3128, allocations: 3.468 MB / 409.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.3134, allocations: 17.06 kB / 409.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.3162, allocations: 1.085 MB / 410.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009067/0.3171, allocations: 405.8 kB / 410.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.3181, allocations: 350.7 kB / 411.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009364/0.319, allocations: 0.8739 MB / 412.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.3194, allocations: 247.3 kB / 412.4 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.3199, allocations: 353 kB / 412.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.3204, allocations: 475.4 kB / 413.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.3205, allocations: 33 kB / 413.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.3209, allocations: 139.6 kB / 413.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.3213, allocations: 327 kB / 413.7 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.3216, allocations: 487.7 kB / 414.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.323, allocations: 1.241 MB / 415.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.323, allocations: 4.703 kB / 415.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.323, allocations: 5.188 kB / 415.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.323, allocations: 0 / 415.4 MB, free: 2.508 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.002476/0.3255, allocations: 1.539 MB / 416.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3256, allocations: 9.578 kB / 416.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.3258, allocations: 142.8 kB / 417.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3273, allocations: 1.093 MB / 418.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.3273, allocations: 30.25 kB / 418.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.3274, allocations: 49.53 kB / 418.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.3284, allocations: 475.7 kB / 418.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.3284, allocations: 1.953 kB / 418.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.3284, allocations: 19.97 kB / 418.7 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.3285, allocations: 15.38 kB / 418.8 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.3293, allocations: 341.2 kB / 419.1 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.3328, allocations: 2.145 MB / 421.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.3338, allocations: 449.9 kB / 421.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.3343, allocations: 203.7 kB / 421.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.3344, allocations: 9.25 kB / 421.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.335, allocations: 222.5 kB / 422.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.214e-06/0.335, allocations: 1.156 kB / 422.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003668/0.3387, allocations: 1.707 MB / 423.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.3388, allocations: 115.6 kB / 423.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.3415, allocations: 2.009 MB / 425.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.3416, allocations: 32.86 kB / 426 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.3421, allocations: 490.5 kB / 426.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3422, allocations: 170.4 kB / 426.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.3427, allocations: 277.5 kB / 426.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3428, allocations: 353.8 kB / 427.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/0.3437, allocations: 0.5411 MB / 427.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.3447, allocations: 0.6832 MB / 428.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.3461, allocations: 0.8641 MB / 429.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3461, allocations: 0 / 429.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002623/0.3487, allocations: 1.508 MB / 430.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3488, allocations: 7.5 kB / 430.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3488, allocations: 15.03 kB / 430.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.349, allocations: 35.16 kB / 430.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3503, allocations: 359 kB / 431.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.3529, allocations: 3.342 MB / 434.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.3537, allocations: 55.91 kB / 434.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.3538, allocations: 36 kB / 434.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.3553, allocations: 0.8773 MB / 435.5 MB, free: 4.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008555/0.3561, allocations: 0.6723 MB / 436.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/0.3573, allocations: 0.8314 MB / 437 MB, free: 3.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.816e-06/0.3574, allocations: 0 / 437 MB, free: 3.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002251/0.3596, allocations: 1.481 MB / 438.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3596, allocations: 11.88 kB / 438.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3597, allocations: 4 kB / 438.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.3598, allocations: 37.12 kB / 438.6 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.3607, allocations: 268.5 kB / 438.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.3621, allocations: 1.891 MB / 440.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.3627, allocations: 39.92 kB / 440.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.3628, allocations: 36 kB / 440.8 MB, free: 15.07 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.0003008/0.3631, allocations: 240.2 kB / 441 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.3633, allocations: 122.4 kB / 441.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3644, allocations: 0.4902 MB / 441.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3644, allocations: 8 kB / 441.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3644, allocations: 3.938 kB / 441.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3644, allocations: 4 kB / 441.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.3667, allocations: 1.422 MB / 443.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3667, allocations: 3.984 kB / 443.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3672, allocations: 103.9 kB / 443.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3672, allocations: 0 / 443.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3672, allocations: 15.98 kB / 443.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3672, allocations: 7.938 kB / 443.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3672, allocations: 0 / 443.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3686, allocations: 0.7835 MB / 444 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.3689, allocations: 267.6 kB / 444.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3691, allocations: 8 kB / 444.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.3694, allocations: 19.98 kB / 444.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.3695, allocations: 31.95 kB / 444.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.3696, allocations: 12 kB / 444.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.3712, allocations: 1.311 MB / 445.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3712, allocations: 0 / 445.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001175/0.3724, allocations: 403.9 kB / 446 MB, free: 9.699 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.001696/0.3741, allocations: 0.7171 MB / 446.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.3775, allocations: 1.785 MB / 448.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3775, allocations: 0 / 448.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.3779, allocations: 195.7 kB / 448.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3791, allocations: 186.4 kB / 448.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.3835, allocations: 2.91 MB / 451.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.3844, allocations: 1.198 MB / 453 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009691/0.3854, allocations: 389.2 kB / 453.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3856, allocations: 63.42 kB / 453.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3856, allocations: 0 / 453.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of Templates: time 0.02216/0.4078, allocations: 11.04 MB / 464.5 MB, free: 7.598 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)