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.01096/0.01096, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001969/0.001969, allocations: 189 kB / 16.67 MB, free: 6.367 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.008128/0.008129, allocations: 1.287 MB / 291.8 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.91 kB / 403.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3557, allocations: 49.73 MB / 453.1 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.00672/0.3625, allocations: 4.507 MB / 457.6 MB, free: 19.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.3683, allocations: 3.544 MB / 461.2 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.3692, allocations: 19.16 kB / 461.2 MB, free: 16.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.3722, allocations: 1.151 MB / 462.3 MB, free: 16.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000966/0.3731, allocations: 449.9 kB / 462.8 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3742, allocations: 404.4 kB / 463.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.3754, allocations: 0.9274 MB / 464.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.3758, allocations: 265.3 kB / 464.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.3762, allocations: 392.5 kB / 464.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008863/0.3851, allocations: 498.1 kB / 465.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.3855, allocations: 60.75 kB / 465.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.3862, allocations: 176 kB / 465.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004892/0.3868, allocations: 349.4 kB / 465.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.3875, allocations: 0.5074 MB / 466.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.3907, allocations: 1.32 MB / 467.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3908, allocations: 0 / 467.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3908, allocations: 4 kB / 467.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.3908, allocations: 1.031 kB / 467.6 MB, free: 13.75 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.003974/0.3948, allocations: 1.598 MB / 469.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.3949, allocations: 8.312 kB / 469.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.3953, allocations: 147.9 kB / 469.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.3978, allocations: 1.108 MB / 470.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.3979, allocations: 35.31 kB / 470.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.398, allocations: 45.47 kB / 470.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3993, allocations: 470.2 kB / 471 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3994, allocations: 5.328 kB / 471 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.3995, allocations: 22.25 kB / 471.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3995, allocations: 17.56 kB / 471.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.4006, allocations: 337.1 kB / 471.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005124/0.4057, allocations: 2.13 MB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.407, allocations: 456.5 kB / 474 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.4077, allocations: 194.9 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.4077, allocations: 14.48 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006808/0.4084, allocations: 219.5 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 4.218e-06/0.4084, allocations: 0 / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.005143/0.4136, allocations: 1.741 MB / 476.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.4137, allocations: 113.3 kB / 476.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.419, allocations: 1.997 MB / 478.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.4191, allocations: 35.89 kB / 478.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.4197, allocations: 0.4889 MB / 478.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.4199, allocations: 177.2 kB / 478.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/0.4205, allocations: 279.5 kB / 479.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4206, allocations: 360.8 kB / 479.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4219, allocations: 0.5471 MB / 480.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.4233, allocations: 0.6827 MB / 480.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.4253, allocations: 0.86 MB / 481.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4253, allocations: 5.438 kB / 481.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004173/0.4295, allocations: 1.512 MB / 483.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.4296, allocations: 6.438 kB / 483.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.4296, allocations: 6.719 kB / 483.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.43, allocations: 42.45 kB / 483.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.4322, allocations: 353.7 kB / 483.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.4363, allocations: 3.54 MB / 487.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4379, allocations: 47.94 kB / 487.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.438, allocations: 35.83 kB / 487.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002693/0.4407, allocations: 0.8812 MB / 488.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001624/0.4424, allocations: 0.6687 MB / 488.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002232/0.4446, allocations: 0.8459 MB / 489.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.246e-06/0.4446, allocations: 5.125 kB / 489.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.003982/0.4486, allocations: 1.488 MB / 491.1 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4487, allocations: 5.625 kB / 491.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4487, allocations: 7.297 kB / 491.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.4489, allocations: 36.78 kB / 491.1 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.4503, allocations: 258.4 kB / 491.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.4522, allocations: 1.976 MB / 493.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.4532, allocations: 37.7 kB / 493.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4534, allocations: 39.67 kB / 493.4 MB, free: 14.21 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.0004481/0.4538, allocations: 236.8 kB / 493.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.4541, allocations: 132.1 kB / 493.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.4558, allocations: 0.4939 MB / 494.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.4558, allocations: 8 kB / 494.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4558, allocations: 3.984 kB / 494.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4558, allocations: 11.92 kB / 494.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.4589, allocations: 1.431 MB / 495.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4589, allocations: 3.938 kB / 495.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.4596, allocations: 95.89 kB / 495.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4596, allocations: 0 / 495.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.4596, allocations: 19.95 kB / 495.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.4597, allocations: 4 kB / 495.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4597, allocations: 0 / 495.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.4615, allocations: 0.7979 MB / 496.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.462, allocations: 268.2 kB / 496.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4622, allocations: 15.94 kB / 496.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.4627, allocations: 23.97 kB / 497 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4628, allocations: 27.97 kB / 497 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.4629, allocations: 8 kB / 497 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002517/0.4654, allocations: 1.311 MB / 498.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4654, allocations: 4 kB / 498.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001876/0.4673, allocations: 395.9 kB / 498.7 MB, free: 9.004 MB / 366.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.002551/0.4699, allocations: 0.7061 MB / 499.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004732/0.4746, allocations: 1.776 MB / 0.4894 GB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4746, allocations: 0.6875 kB / 0.4894 GB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.4752, allocations: 199.5 kB / 0.4896 GB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.4767, allocations: 212.7 kB / 0.4898 GB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.4825, allocations: 2.57 MB / 0.4923 GB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.4837, allocations: 1.197 MB / 0.4935 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001348/0.4851, allocations: 381.2 kB / 0.4939 GB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.4854, allocations: 63.42 kB / 0.4939 GB, free: 2.164 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4854, allocations: 0 / 0.4939 GB, free: 2.164 MB / 366.1 MB Notification: Performance of Templates: time 0.025/0.5104, allocations: 11.68 MB / 0.5053 GB, free: 6.562 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)