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.001086/0.001086, allocations: 117.5 kB / 16.42 MB, free: 6.492 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.001272/0.001272, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.321/1.321, 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.2.0-alpha.1/package.mo): time 0.008681/0.008682, allocations: 1.294 MB / 292.5 MB, free: 13.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.89 kB / 404.1 MB, free: 31.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07504/0.07625, allocations: 49.72 MB / 453.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.005899/0.08218, allocations: 4.518 MB / 458.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.08718, allocations: 3.538 MB / 461.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.0876, allocations: 15.94 kB / 461.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.08978, allocations: 1.179 MB / 463.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.09052, allocations: 461.5 kB / 463.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.0914, allocations: 394.8 kB / 463.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008865/0.0923, allocations: 0.9316 MB / 464.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.09274, allocations: 267.4 kB / 465.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.09322, allocations: 398.3 kB / 465.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.09404, allocations: 0.4944 MB / 466 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.09414, allocations: 60 kB / 466 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.09445, allocations: 171.9 kB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.09478, allocations: 356.4 kB / 466.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.0952, allocations: 0.5044 MB / 467 MB, free: 304 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.09656, allocations: 1.307 MB / 468.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.09657, allocations: 4 kB / 468.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09658, allocations: 0 / 468.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.0966, allocations: 0 / 468.4 MB, free: 14.98 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.002181/0.09879, allocations: 1.596 MB / 470 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.09884, allocations: 12.03 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.09907, allocations: 147.4 kB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1005, allocations: 1.122 MB / 471.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.1005, allocations: 29 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.1006, allocations: 44 kB / 471.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/0.1015, allocations: 477.5 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1015, allocations: 3.953 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1015, allocations: 20 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1016, allocations: 15.94 kB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.1023, allocations: 339.7 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.1051, allocations: 2.141 MB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.106, allocations: 459.8 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.1065, allocations: 197.4 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.1065, allocations: 4.328 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.107, allocations: 224.1 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.107, allocations: 0 / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003222/0.1102, allocations: 1.724 MB / 476.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1103, allocations: 110.8 kB / 477 MB, free: 5.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.1124, allocations: 2.011 MB / 479 MB, free: 3.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1124, allocations: 37.64 kB / 479 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1128, allocations: 497.2 kB / 479.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1129, allocations: 178.6 kB / 479.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.1133, allocations: 278.8 kB / 480 MB, free: 2.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1134, allocations: 357.9 kB / 480.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.1142, allocations: 0.5408 MB / 480.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.1151, allocations: 0.6878 MB / 481.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1164, allocations: 0.8626 MB / 482.4 MB, free: 452 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1164, allocations: 0 / 482.4 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002175/0.1186, allocations: 1.508 MB / 483.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1186, allocations: 8 kB / 483.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.1186, allocations: 4 kB / 483.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.1188, allocations: 36.78 kB / 484 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.1202, allocations: 355.7 kB / 484.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.1231, allocations: 3.555 MB / 487.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.1235, allocations: 39.94 kB / 487.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.1236, allocations: 39.98 kB / 487.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.1247, allocations: 0.8779 MB / 488.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008212/0.1256, allocations: 0.6724 MB / 489.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001172/0.1268, allocations: 0.8468 MB / 490.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.1268, allocations: 0 / 490.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002097/0.1289, allocations: 1.485 MB / 491.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1289, allocations: 12.22 kB / 491.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1289, allocations: 7.984 kB / 491.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.129, allocations: 32.84 kB / 491.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/0.13, allocations: 267.6 kB / 492.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.1313, allocations: 1.982 MB / 494.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.1318, allocations: 36.02 kB / 494.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.1319, allocations: 40 kB / 494.2 MB, free: 4.082 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.0002526/0.1322, allocations: 233.4 kB / 494.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.1324, allocations: 131.1 kB / 494.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1335, allocations: 0.4942 MB / 495 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1335, allocations: 0 / 495 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1335, allocations: 0 / 495 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.1339, allocations: 272.2 kB / 495.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.1341, allocations: 12 kB / 495.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.1344, allocations: 23.92 kB / 495.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.1345, allocations: 31.95 kB / 495.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001265/0.1358, allocations: 0.528 MB / 495.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001446/0.1372, allocations: 0.8811 MB / 496.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003769/0.1376, allocations: 183.8 kB / 497 MB, free: 1.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.1396, allocations: 1.314 MB / 498.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Backend: time 7.12e-07/0.1396, allocations: 0 / 498.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005366/0.1449, allocations: 2.491 MB / 0.489 GB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 0.004079/0.149, allocations: 3.04 MB / 0.492 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.2226/0.3717, allocations: 15.02 MB / 0.5067 GB, free: 56.42 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)