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.001003/0.001003, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001102/0.001102, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007496/0.007496, allocations: 1.272 MB / 292.3 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 8 kB / 353.4 MB, free: 2.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 50.69 MB / 404.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.005908/0.3485, allocations: 3.796 MB / 407.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.3538, allocations: 3.288 MB / 411.2 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000573/0.3544, allocations: 17.03 kB / 411.2 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.3569, allocations: 0.9905 MB / 412.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.358, allocations: 442 kB / 412.6 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3591, allocations: 331 kB / 413 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3602, allocations: 0.5919 MB / 413.6 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.3606, allocations: 203.7 kB / 413.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.3611, allocations: 316.1 kB / 414.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.3617, allocations: 384.1 kB / 414.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.3618, allocations: 27.31 kB / 414.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.3621, allocations: 94.84 kB / 414.6 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.3625, allocations: 322.3 kB / 414.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3626, allocations: 227.4 kB / 415.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3643, allocations: 1.137 MB / 416.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3643, allocations: 0 / 416.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3644, allocations: 0 / 416.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.502e-05/0.3644, allocations: 0 / 416.2 MB, free: 3.922 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.00317/0.3676, allocations: 1.535 MB / 417.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3676, allocations: 9.875 kB / 417.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.3678, allocations: 152.3 kB / 417.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.3793, allocations: 10.67 MB / 428.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.3794, allocations: 34.91 kB / 428.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/0.3795, allocations: 45.3 kB / 428.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3806, allocations: 476.1 kB / 429.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3806, allocations: 9.203 kB / 429.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.3807, allocations: 17.41 kB / 429.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.3807, allocations: 17.58 kB / 429.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.3814, allocations: 358.5 kB / 429.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.3868, allocations: 4.502 MB / 434 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009188/0.3877, allocations: 461.3 kB / 434.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.3878, allocations: 20.3 kB / 434.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005393/0.3884, allocations: 220.1 kB / 434.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.276e-06/0.3884, allocations: 0 / 434.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.004118/0.3925, allocations: 1.8 MB / 436.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.3926, allocations: 110.8 kB / 436.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/0.4068, allocations: 14.14 MB / 450.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.4071, allocations: 33.7 kB / 450.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.4078, allocations: 0.5769 MB / 451.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.408, allocations: 161.7 kB / 451.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.408, allocations: 12 kB / 451.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4082, allocations: 330 kB / 451.9 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.4086, allocations: 145 kB / 452 MB, free: 6.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.409, allocations: 256.2 kB / 452.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.4094, allocations: 180.8 kB / 452.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4095, allocations: 0 / 452.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001529/0.411, allocations: 0.605 MB / 453 MB, free: 5.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004333/0.4114, allocations: 0.9003 MB / 453.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4115, allocations: 7.953 kB / 454 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.4117, allocations: 32.83 kB / 454 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.4127, allocations: 267.7 kB / 454.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.4158, allocations: 3.439 MB / 457.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.4166, allocations: 48.17 kB / 457.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4166, allocations: 16 kB / 457.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4167, allocations: 4 kB / 457.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008732/0.4175, allocations: 435 kB / 458.2 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4176, allocations: 4 kB / 458.2 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.4177, allocations: 28.84 kB / 458.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4182, allocations: 131.8 kB / 458.3 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4195, allocations: 1.891 MB / 460.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.4201, allocations: 31.98 kB / 460.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4202, allocations: 27.94 kB / 460.3 MB, free: 13.91 MB / 334.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 ($whenCondition1,$PRE.measurementsTable.nextTimeEvent,measurementsTable.nextTimeEvent,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEventScaled,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009664/0.4212, allocations: 490.6 kB / 460.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.4214, allocations: 138.2 kB / 460.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.4224, allocations: 0.5542 MB / 461.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4224, allocations: 4 kB / 461.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4224, allocations: 0 / 461.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4224, allocations: 3.984 kB / 461.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.4248, allocations: 1.592 MB / 463.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4248, allocations: 0 / 463.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.4252, allocations: 103.9 kB / 463.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.4252, allocations: 4 kB / 463.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4253, allocations: 8 kB / 463.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/0.4253, allocations: 3.953 kB / 463.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4253, allocations: 4 kB / 463.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4266, allocations: 0.8432 MB / 464 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.4272, allocations: 323.3 kB / 464.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4273, allocations: 15.95 kB / 464.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.4277, allocations: 35.98 kB / 464.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.4278, allocations: 31.95 kB / 464.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.4278, allocations: 12 kB / 464.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00981/0.4376, allocations: 11.28 MB / 475.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4377, allocations: 0 / 475.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001475/0.4392, allocations: 284 kB / 476 MB, free: 14.05 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/0.4409, allocations: 0.7196 MB / 476.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.4433, allocations: 0.8321 MB / 477.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4433, allocations: 0 / 477.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.4438, allocations: 195.8 kB / 477.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4448, allocations: 189.1 kB / 477.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.4497, allocations: 2.838 MB / 480.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.4507, allocations: 1.22 MB / 482 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.4512, allocations: 174.3 kB / 482.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.4515, allocations: 79.41 kB / 482.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4515, allocations: 0 / 482.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Templates: time 0.02728/0.4787, allocations: 14.75 MB / 497 MB, free: 9.453 MB / 366.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: