Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001133/0.001132, allocations: 187 kB / 17.34 MB, free: 5.742 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01371/0.01371, allocations: 1.301 MB / 292.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 404.1 MB, free: 31.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.0998, allocations: 49.72 MB / 453.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006057/0.1059, allocations: 4.215 MB / 458 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.1105, allocations: 2.608 MB / 460.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000503/0.111, allocations: 23.88 kB / 460.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.1135, allocations: 1.117 MB / 461.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.1143, allocations: 405.8 kB / 462.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.1151, allocations: 315.3 kB / 462.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000977/0.1161, allocations: 0.8572 MB / 463.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.1165, allocations: 246.6 kB / 463.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.117, allocations: 366.5 kB / 463.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.1175, allocations: 474.5 kB / 464.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-05/0.1176, allocations: 56 kB / 464.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1179, allocations: 116 kB / 464.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.1182, allocations: 340.4 kB / 464.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.1185, allocations: 480.9 kB / 465.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1198, allocations: 1.187 MB / 466.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1198, allocations: 4 kB / 466.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1198, allocations: 0 / 466.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.1198, allocations: 0 / 466.5 MB, free: 0.7383 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002324/0.1222, allocations: 1.475 MB / 468 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1222, allocations: 12.03 kB / 468 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1224, allocations: 134.7 kB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1238, allocations: 1.052 MB / 469.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.1239, allocations: 37 kB / 469.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.1239, allocations: 47.89 kB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.1249, allocations: 494.3 kB / 469.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.125, allocations: 3.984 kB / 469.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.125, allocations: 19.98 kB / 469.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.125, allocations: 15.94 kB / 469.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1261, allocations: 419.6 kB / 470.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.129, allocations: 2.203 MB / 472.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1301, allocations: 472.4 kB / 472.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.1306, allocations: 204.7 kB / 473.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.1307, allocations: 12.52 kB / 473.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1307, allocations: 38.56 kB / 473.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/0.1307, allocations: 0 / 473.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003808/0.1345, allocations: 1.727 MB / 474.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.1346, allocations: 81.11 kB / 474.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.1368, allocations: 1.949 MB / 476.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1368, allocations: 29.7 kB / 476.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.1372, allocations: 488.3 kB / 477.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1373, allocations: 153.9 kB / 477.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.1377, allocations: 290.5 kB / 477.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1378, allocations: 361.9 kB / 478.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.1388, allocations: 0.576 MB / 478.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1398, allocations: 0.7144 MB / 479.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1413, allocations: 0.9144 MB / 480.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1413, allocations: 4 kB / 480.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002575/0.1439, allocations: 1.554 MB / 481.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1439, allocations: 4 kB / 482 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1439, allocations: 8.188 kB / 482 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.1441, allocations: 48.78 kB / 482 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.1454, allocations: 351.5 kB / 482.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.1474, allocations: 2.109 MB / 484.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.1481, allocations: 60.05 kB / 484.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.1481, allocations: 32 kB / 484.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001471/0.1496, allocations: 0.9131 MB / 485.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009806/0.1506, allocations: 0.6987 MB / 486.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/0.1521, allocations: 0.8871 MB / 487.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.1521, allocations: 4 kB / 487.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002455/0.1546, allocations: 1.539 MB / 488.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1546, allocations: 8 kB / 488.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1546, allocations: 0 / 488.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.1548, allocations: 36.84 kB / 488.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.1557, allocations: 267.7 kB / 488.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/0.156, allocations: 0.5523 MB / 489.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.1566, allocations: 43.97 kB / 489.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.1567, allocations: 40 kB / 489.5 MB, free: 8.973 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: 3 (kinematicPTP.noWphase,integrator.local_reset,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): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002617/0.157, allocations: 234.8 kB / 489.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.1571, allocations: 122.5 kB / 489.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.1584, allocations: 497.3 kB / 490.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1584, allocations: 4 kB / 490.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1584, allocations: 0 / 490.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1584, allocations: 0 / 490.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.1609, allocations: 1.417 MB / 491.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1609, allocations: 0 / 491.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.1614, allocations: 112 kB / 491.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1614, allocations: 3.938 kB / 491.9 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1614, allocations: 8 kB / 491.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.1615, allocations: 7.938 kB / 491.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1615, allocations: 0 / 491.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.1631, allocations: 0.8267 MB / 492.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.1634, allocations: 263.5 kB / 493 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1636, allocations: 12 kB / 493 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.164, allocations: 35.89 kB / 493 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.1641, allocations: 27.97 kB / 493.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1641, allocations: 11.98 kB / 493.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.1657, allocations: 1.27 MB / 494.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1657, allocations: 3.938 kB / 494.4 MB, free: 4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001051/0.1668, allocations: 368 kB / 494.7 MB, free: 3.641 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.000867/0.1677, allocations: 377.8 kB / 495.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.1711, allocations: 1.819 MB / 496.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.1711, allocations: 4 kB / 496.9 MB, free: 1.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.1716, allocations: 208.1 kB / 497.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1728, allocations: 197.8 kB / 497.3 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1762, allocations: 2.28 MB / 499.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.1769, allocations: 1.12 MB / 0.489 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.1771, allocations: 51.44 kB / 0.489 GB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1771, allocations: 0 / 0.489 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.2309/0.408, allocations: 16.93 MB / 0.5056 GB, free: 56.5 MB / 382.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1)