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.001421/0.001421, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001715/0.001715, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008217/0.008217, allocations: 1.294 MB / 292.5 MB, free: 13.49 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 404.1 MB, free: 31.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1006, allocations: 49.73 MB / 453.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.006332/0.1069, allocations: 4.514 MB / 458.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.113, allocations: 3.534 MB / 461.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009843/0.114, allocations: 27.81 kB / 461.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.1172, allocations: 1.155 MB / 463 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1185, allocations: 441.8 kB / 463.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1199, allocations: 406.5 kB / 463.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1215, allocations: 0.9199 MB / 464.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.1221, allocations: 275.4 kB / 465 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.1228, allocations: 394.3 kB / 465.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1239, allocations: 0.4905 MB / 465.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1241, allocations: 60 kB / 466 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.1245, allocations: 171.9 kB / 466.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.1249, allocations: 356.3 kB / 466.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.1255, allocations: 0.5005 MB / 467 MB, free: 464 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.1277, allocations: 1.308 MB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1277, allocations: 4 kB / 468.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1277, allocations: 0 / 468.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.927e-05/0.1278, allocations: 3.938 kB / 468.3 MB, free: 15.13 MB / 350.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.003483/0.1313, allocations: 1.541 MB / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1313, allocations: 8.031 kB / 469.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.1316, allocations: 142.5 kB / 470 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.1334, allocations: 1.105 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.1334, allocations: 33 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1335, allocations: 44 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.1345, allocations: 469.5 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1346, allocations: 11.91 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1346, allocations: 20 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1346, allocations: 15.94 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.1354, allocations: 335.7 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.1388, allocations: 2.136 MB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.1397, allocations: 455.8 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.1402, allocations: 201.4 kB / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.1403, allocations: 8.328 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004685/0.1408, allocations: 220 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.444e-06/0.1408, allocations: 0 / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003458/0.1442, allocations: 1.71 MB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.1443, allocations: 114.8 kB / 476.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.1468, allocations: 2.003 MB / 478.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1468, allocations: 33.7 kB / 478.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.1473, allocations: 488.7 kB / 479.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.1474, allocations: 173.7 kB / 479.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.1478, allocations: 278.6 kB / 479.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.148, allocations: 361.9 kB / 480.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/0.1488, allocations: 0.5408 MB / 480.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000959/0.1498, allocations: 0.6801 MB / 481.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.1511, allocations: 0.8665 MB / 482.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1511, allocations: 3.938 kB / 482.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002414/0.1536, allocations: 1.504 MB / 483.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1536, allocations: 8 kB / 483.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1536, allocations: 4.219 kB / 483.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.1538, allocations: 40.83 kB / 483.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.1551, allocations: 359.5 kB / 484.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.1582, allocations: 3.543 MB / 487.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.1588, allocations: 36.2 kB / 487.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.1589, allocations: 44 kB / 487.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/0.1604, allocations: 0.878 MB / 488.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009141/0.1613, allocations: 0.6722 MB / 489.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.1626, allocations: 0.8429 MB / 490.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.782e-06/0.1626, allocations: 3.938 kB / 490.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00233/0.1649, allocations: 1.476 MB / 491.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1649, allocations: 4 kB / 491.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.165, allocations: 7.984 kB / 491.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.1651, allocations: 40.81 kB / 491.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009075/0.166, allocations: 271.9 kB / 491.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.1676, allocations: 1.978 MB / 493.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.1682, allocations: 39.98 kB / 494 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.1683, allocations: 32 kB / 494 MB, free: 4.355 MB / 366.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.0002871/0.1686, allocations: 245.4 kB / 494.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.1688, allocations: 122.4 kB / 494.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1699, allocations: 0.4903 MB / 494.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.17, allocations: 4 kB / 494.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.17, allocations: 0 / 494.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.17, allocations: 4 kB / 494.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.1725, allocations: 1.431 MB / 496.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1725, allocations: 0 / 496.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.173, allocations: 99.88 kB / 496.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.173, allocations: 4.031 kB / 496.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.173, allocations: 11.94 kB / 496.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.173, allocations: 4 kB / 496.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.173, allocations: 7.812 kB / 496.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1745, allocations: 0.7855 MB / 497.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.1749, allocations: 267.5 kB / 497.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.1751, allocations: 15.94 kB / 497.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.1755, allocations: 15.98 kB / 497.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.1756, allocations: 31.95 kB / 497.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.1756, allocations: 12 kB / 497.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.1774, allocations: 1.314 MB / 498.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1775, allocations: 0 / 498.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001265/0.1787, allocations: 396 kB / 499.2 MB, free: 14.99 MB / 382.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.00177/0.1805, allocations: 0.7153 MB / 499.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003525/0.184, allocations: 1.752 MB / 0.4899 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1841, allocations: 0 / 0.4899 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.1845, allocations: 195.5 kB / 0.4901 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.1858, allocations: 209.8 kB / 0.4903 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.1902, allocations: 2.409 MB / 0.4927 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009656/0.1912, allocations: 1.135 MB / 0.4938 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.1915, allocations: 59.42 kB / 0.4938 GB, free: 8.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.495e-06/0.1915, allocations: 0 / 0.4938 GB, free: 8.77 MB / 382.1 MB Notification: Performance of Templates: time 0.253/0.4445, allocations: 20.32 MB / 0.5137 GB, free: 51.12 MB / 382.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)