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.001804/0.001804, allocations: 108.2 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.00223/0.00223, allocations: 186.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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01472/0.01472, allocations: 1.298 MB / 292.5 MB, free: 13.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.88 kB / 404.1 MB, free: 31.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09554, allocations: 49.71 MB / 453.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.00582/0.1014, allocations: 4.222 MB / 458 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.1058, allocations: 2.62 MB / 460.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.1064, allocations: 19.88 kB / 460.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.109, allocations: 1.113 MB / 461.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.1099, allocations: 398 kB / 462.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.1107, allocations: 323.1 kB / 462.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009075/0.1116, allocations: 0.8572 MB / 463.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.112, allocations: 246.6 kB / 463.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.1124, allocations: 374.4 kB / 463.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.1129, allocations: 462.5 kB / 464.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.821e-05/0.113, allocations: 56 kB / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1133, allocations: 112 kB / 464.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.1136, allocations: 344.4 kB / 464.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.114, allocations: 480.9 kB / 465.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1152, allocations: 1.191 MB / 466.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1152, allocations: 4 kB / 466.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1153, allocations: 0 / 466.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1153, allocations: 0 / 466.5 MB, free: 0.7617 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.002288/0.1176, allocations: 1.475 MB / 468 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1176, allocations: 12.03 kB / 468 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1178, allocations: 130.7 kB / 468.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.1192, allocations: 1.06 MB / 469.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.1192, allocations: 37 kB / 469.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.1193, allocations: 39.91 kB / 469.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.1202, allocations: 494.3 kB / 469.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1203, allocations: 3.984 kB / 469.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.1203, allocations: 16 kB / 469.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1203, allocations: 15.94 kB / 469.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.1213, allocations: 423.6 kB / 470.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.1241, allocations: 2.203 MB / 472.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1251, allocations: 481.9 kB / 472.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.1257, allocations: 200.7 kB / 473.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1257, allocations: 4.594 kB / 473.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1257, allocations: 42.56 kB / 473.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.1257, allocations: 0 / 473.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003808/0.1296, allocations: 1.723 MB / 474.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.1296, allocations: 81.11 kB / 474.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.1322, allocations: 1.956 MB / 476.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1322, allocations: 29.7 kB / 476.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.1327, allocations: 484.8 kB / 477.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1328, allocations: 157.9 kB / 477.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.1332, allocations: 286.4 kB / 477.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1334, allocations: 361.9 kB / 478.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.1343, allocations: 0.5799 MB / 478.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.1354, allocations: 0.7143 MB / 479.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.1369, allocations: 0.9066 MB / 480.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.1369, allocations: 4 kB / 480.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00258/0.1395, allocations: 1.562 MB / 482 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1395, allocations: 4 kB / 482 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1396, allocations: 7.938 kB / 482 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.1398, allocations: 36.83 kB / 482 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.141, allocations: 347.6 kB / 482.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.1432, allocations: 2.117 MB / 484.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.1439, allocations: 55.95 kB / 484.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.144, allocations: 36 kB / 484.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001434/0.1454, allocations: 0.9092 MB / 485.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009541/0.1464, allocations: 0.6989 MB / 486.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001342/0.1477, allocations: 0.8909 MB / 487 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.1477, allocations: 4 kB / 487.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002356/0.1501, allocations: 1.539 MB / 488.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1501, allocations: 8 kB / 488.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1501, allocations: 0 / 488.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1503, allocations: 41.09 kB / 488.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.1512, allocations: 263.5 kB / 488.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003691/0.1515, allocations: 0.5523 MB / 489.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.1521, allocations: 52.06 kB / 489.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.1522, allocations: 36 kB / 489.5 MB, free: 9 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.0002364/0.1524, allocations: 232.1 kB / 489.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.1527, allocations: 126.5 kB / 489.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1539, allocations: 493.4 kB / 490.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1539, allocations: 4 kB / 490.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.154, allocations: 0 / 490.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.154, allocations: 0 / 490.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.1566, allocations: 1.424 MB / 491.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1566, allocations: 0 / 491.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.1571, allocations: 111.8 kB / 491.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.1571, allocations: 0 / 491.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.1571, allocations: 8 kB / 491.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1571, allocations: 11.88 kB / 491.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1571, allocations: 3.938 kB / 491.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.1588, allocations: 0.8229 MB / 492.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.1592, allocations: 263.6 kB / 493 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.1594, allocations: 8.125 kB / 493 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.1598, allocations: 43.89 kB / 493.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.1599, allocations: 31.95 kB / 493.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1599, allocations: 8 kB / 493.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.1615, allocations: 1.266 MB / 494.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1616, allocations: 0 / 494.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001045/0.1626, allocations: 368 kB / 494.7 MB, free: 3.668 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.0008639/0.1635, allocations: 372.8 kB / 495.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.1669, allocations: 1.819 MB / 496.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.167, allocations: 0 / 496.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.1675, allocations: 212.3 kB / 497.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.1686, allocations: 191.6 kB / 497.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.1727, allocations: 2.287 MB / 499.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009173/0.1737, allocations: 1.116 MB / 0.489 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.1739, allocations: 51.44 kB / 0.489 GB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1739, allocations: 4 kB / 0.489 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.2438/0.4177, 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)