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.00129/0.00129, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.289/1.289, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01237/0.01237, allocations: 1.292 MB / 291.9 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.88 kB / 352.4 MB, free: 7.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08166, allocations: 49.71 MB / 402.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.005304/0.087, allocations: 4.22 MB / 406.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.09066, allocations: 2.566 MB / 408.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.09098, allocations: 23.88 kB / 408.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.09302, allocations: 1.043 MB / 410 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.09363, allocations: 362.5 kB / 410.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.09425, allocations: 286.8 kB / 410.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.095, allocations: 0.8104 MB / 411.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.09535, allocations: 222.2 kB / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.0957, allocations: 326.5 kB / 411.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004164/0.09612, allocations: 454.3 kB / 412.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.0962, allocations: 32 kB / 412.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.09639, allocations: 75.97 kB / 412.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.09665, allocations: 320.4 kB / 412.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.09699, allocations: 452.8 kB / 413.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.09772, allocations: 0.9123 MB / 414.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09773, allocations: 0 / 414.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09774, allocations: 0 / 414.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.09776, allocations: 4 kB / 414.2 MB, free: 9.152 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002115/0.09988, allocations: 1.471 MB / 415.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.09992, allocations: 8.031 kB / 415.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1001, allocations: 138.6 kB / 415.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.1012, allocations: 1.052 MB / 416.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1013, allocations: 29 kB / 416.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.1014, allocations: 43.91 kB / 416.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.1023, allocations: 498.3 kB / 417.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1023, allocations: 0 / 417.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1024, allocations: 16 kB / 417.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1024, allocations: 15.94 kB / 417.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1034, allocations: 415.6 kB / 417.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1062, allocations: 2.222 MB / 420 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.1072, allocations: 481.1 kB / 420.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.1077, allocations: 196.7 kB / 420.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.1077, allocations: 8.594 kB / 420.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1078, allocations: 34.56 kB / 420.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/0.1078, allocations: 0 / 420.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003707/0.1115, allocations: 1.731 MB / 422.5 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1115, allocations: 85.11 kB / 422.6 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1385/0.25, allocations: 1.942 MB / 424.5 MB, free: 52.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.2501, allocations: 32.89 kB / 424.5 MB, free: 52.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.2504, allocations: 489.3 kB / 425 MB, free: 52.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2506, allocations: 155.1 kB / 425.2 MB, free: 52.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.2509, allocations: 283.5 kB / 425.4 MB, free: 52.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.251, allocations: 354.2 kB / 425.8 MB, free: 51.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/0.2518, allocations: 0.584 MB / 426.4 MB, free: 51.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/0.2527, allocations: 0.714 MB / 427.1 MB, free: 51.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2539, allocations: 0.9062 MB / 428 MB, free: 50.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2539, allocations: 3.25 kB / 428 MB, free: 50.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002169/0.2561, allocations: 1.566 MB / 429.6 MB, free: 50.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2562, allocations: 8.812 kB / 429.6 MB, free: 50.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2562, allocations: 0 / 429.6 MB, free: 50.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.2563, allocations: 45.42 kB / 429.6 MB, free: 50.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2575, allocations: 352 kB / 430 MB, free: 50.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2588, allocations: 2.01 MB / 432 MB, free: 48.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.2594, allocations: 50.62 kB / 432 MB, free: 48.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.2594, allocations: 36.33 kB / 432.1 MB, free: 48.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.2605, allocations: 0.9042 MB / 433 MB, free: 48.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007877/0.2613, allocations: 0.7054 MB / 433.7 MB, free: 47.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/0.2625, allocations: 0.8878 MB / 434.5 MB, free: 47.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.586e-06/0.2625, allocations: 3.344 kB / 434.6 MB, free: 47.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001937/0.2644, allocations: 1.544 MB / 436.1 MB, free: 46.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2645, allocations: 10.12 kB / 436.1 MB, free: 46.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2645, allocations: 0 / 436.1 MB, free: 46.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.2646, allocations: 38.86 kB / 436.1 MB, free: 46.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.2654, allocations: 264.1 kB / 436.4 MB, free: 46.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002038/0.2656, allocations: 0.5452 MB / 436.9 MB, free: 46.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.2661, allocations: 52 kB / 437 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.2662, allocations: 40.22 kB / 437 MB, free: 46.4 MB / 350.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.0001635/0.2663, allocations: 233.4 kB / 437.3 MB, free: 46.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2665, allocations: 115.6 kB / 437.4 MB, free: 46.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.2675, allocations: 0.4906 MB / 437.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2675, allocations: 3.094 kB / 437.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2675, allocations: 3.328 kB / 437.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2675, allocations: 3.156 kB / 437.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.2694, allocations: 1.413 MB / 439.3 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2694, allocations: 0 / 439.3 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.2699, allocations: 108.5 kB / 439.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2699, allocations: 3.188 kB / 439.4 MB, free: 45.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.27, allocations: 15.09 kB / 439.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.27, allocations: 2.938 kB / 439.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.27, allocations: 2.438 kB / 439.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2713, allocations: 0.8271 MB / 440.2 MB, free: 44.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.2716, allocations: 260 kB / 440.5 MB, free: 44.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2717, allocations: 14.28 kB / 440.5 MB, free: 44.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.2721, allocations: 40.78 kB / 440.6 MB, free: 44.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.2722, allocations: 29.86 kB / 440.6 MB, free: 44.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2722, allocations: 9.344 kB / 440.6 MB, free: 44.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.2734, allocations: 1.265 MB / 441.9 MB, free: 44.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2734, allocations: 0 / 441.9 MB, free: 44.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008286/0.2742, allocations: 372 kB / 442.2 MB, free: 44.05 MB / 350.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.0007617/0.275, allocations: 383.6 kB / 442.6 MB, free: 43.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.2777, allocations: 1.806 MB / 444.4 MB, free: 43.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2777, allocations: 3.828 kB / 444.4 MB, free: 43.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.2782, allocations: 212.6 kB / 444.6 MB, free: 43.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.2792, allocations: 171.6 kB / 444.8 MB, free: 43.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.2819, allocations: 2.599 MB / 447.4 MB, free: 41.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.2824, allocations: 1.112 MB / 448.5 MB, free: 41.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.2826, allocations: 54.28 kB / 448.5 MB, free: 41.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2826, allocations: 0 / 448.5 MB, free: 41.05 MB / 350.1 MB Notification: Performance of Templates: time 0.0205/0.3031, allocations: 16.84 MB / 465.4 MB, free: 38.61 MB / 350.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)