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.001412/0.001412, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001599/0.001599, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01205/0.01205, allocations: 1.3 MB / 292.5 MB, free: 13.54 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 353.8 MB, free: 112 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2147, allocations: 49.72 MB / 403.6 MB, free: 35.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004816/0.2196, allocations: 4.214 MB / 407.8 MB, free: 30.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.2233, allocations: 2.621 MB / 410.4 MB, free: 28.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.2236, allocations: 19.88 kB / 410.4 MB, free: 28.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2256, allocations: 1.109 MB / 411.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.2261, allocations: 409.1 kB / 411.9 MB, free: 26.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.2268, allocations: 310.4 kB / 412.2 MB, free: 26.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.2274, allocations: 0.8727 MB / 413.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.2277, allocations: 234.7 kB / 413.3 MB, free: 25.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.228, allocations: 362.5 kB / 413.7 MB, free: 24.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.2283, allocations: 470.5 kB / 414.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.2284, allocations: 56 kB / 414.2 MB, free: 24.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2286, allocations: 111.9 kB / 414.3 MB, free: 24.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.2288, allocations: 340.5 kB / 414.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.229, allocations: 484.8 kB / 415.1 MB, free: 23.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.2297, allocations: 1.195 MB / 416.3 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2297, allocations: 0 / 416.3 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2298, allocations: 0 / 416.3 MB, free: 22.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2298, allocations: 4 kB / 416.3 MB, free: 22.28 MB / 302.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.001767/0.2315, allocations: 1.463 MB / 417.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2316, allocations: 12.02 kB / 417.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2317, allocations: 138.6 kB / 417.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2328, allocations: 1.06 MB / 419 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2329, allocations: 29 kB / 419 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.2329, allocations: 47.91 kB / 419.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.2337, allocations: 494.3 kB / 419.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2337, allocations: 3.984 kB / 419.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2337, allocations: 20 kB / 419.6 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2337, allocations: 15.94 kB / 419.6 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.2346, allocations: 411.6 kB / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.2368, allocations: 2.21 MB / 422.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008462/0.2377, allocations: 484.5 kB / 422.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.2381, allocations: 200.7 kB / 422.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.2382, allocations: 7.984 kB / 422.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2382, allocations: 34.56 kB / 422.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.2382, allocations: 0 / 422.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003143/0.2414, allocations: 1.725 MB / 424.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2414, allocations: 81.11 kB / 424.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.2429, allocations: 1.949 MB / 426.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.243, allocations: 29.7 kB / 426.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.2432, allocations: 492.2 kB / 427.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.2433, allocations: 158 kB / 427.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.2436, allocations: 282.5 kB / 427.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.2437, allocations: 357.9 kB / 428 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.2444, allocations: 0.5837 MB / 428.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.2452, allocations: 0.7144 MB / 429.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2464, allocations: 0.9105 MB / 430.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2464, allocations: 0 / 430.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001948/0.2483, allocations: 1.57 MB / 431.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2484, allocations: 8.062 kB / 431.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2484, allocations: 4 kB / 431.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.2486, allocations: 32.84 kB / 431.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.2497, allocations: 359.4 kB / 432.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.251, allocations: 2.109 MB / 434.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.2515, allocations: 60.05 kB / 434.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.2516, allocations: 35.94 kB / 434.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001016/0.2526, allocations: 0.9046 MB / 435.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007878/0.2534, allocations: 0.7065 MB / 435.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001133/0.2546, allocations: 0.891 MB / 436.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.2546, allocations: 4 kB / 436.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002028/0.2566, allocations: 1.539 MB / 438.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2566, allocations: 8 kB / 438.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2566, allocations: 3.984 kB / 438.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.2568, allocations: 40.83 kB / 438.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.2576, allocations: 267.8 kB / 438.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/0.258, allocations: 0.5407 MB / 439.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.2585, allocations: 51.95 kB / 439.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.2585, allocations: 44.03 kB / 439.3 MB, free: 14.51 MB / 318.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.000213/0.2588, allocations: 232.4 kB / 439.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2589, allocations: 118.5 kB / 439.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2601, allocations: 497.4 kB / 440.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2601, allocations: 4 kB / 440.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.2601, allocations: 0 / 440.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2601, allocations: 3.984 kB / 440.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.2623, allocations: 1.409 MB / 441.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2623, allocations: 0 / 441.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.2628, allocations: 112 kB / 441.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2628, allocations: 0 / 441.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.2628, allocations: 15.98 kB / 441.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2629, allocations: 7.938 kB / 441.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2629, allocations: 3.938 kB / 441.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.2643, allocations: 0.8189 MB / 442.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.2647, allocations: 263.5 kB / 442.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.2648, allocations: 8 kB / 442.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.2652, allocations: 39.89 kB / 442.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.2653, allocations: 35.77 kB / 442.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2653, allocations: 12 kB / 442.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.2668, allocations: 1.27 MB / 444.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2668, allocations: 0 / 444.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009427/0.2677, allocations: 364 kB / 444.5 MB, free: 9.188 MB / 318.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.0008543/0.2686, allocations: 381 kB / 444.9 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.2717, allocations: 1.815 MB / 446.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2717, allocations: 0 / 446.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.2722, allocations: 212.4 kB / 446.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.2731, allocations: 193.2 kB / 447.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.2764, allocations: 2.369 MB / 449.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.2772, allocations: 1.166 MB / 450.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007496/0.278, allocations: 373 kB / 451 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.2781, allocations: 55.42 kB / 451 MB, free: 2.719 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2781, allocations: 4 kB / 451 MB, free: 2.715 MB / 318.1 MB Notification: Performance of Templates: time 0.01794/0.2961, allocations: 9.833 MB / 460.9 MB, free: 8.953 MB / 334.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 -s gbode -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1)