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.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_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.001223/0.001223, allocations: 108 kB / 15.61 MB, free: 152 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.001265/0.001265, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.00815/0.00815, allocations: 1.299 MB / 291.7 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.89 kB / 352.4 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2336, allocations: 49.72 MB / 402.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004621/0.2383, allocations: 4.205 MB / 406.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.2413, allocations: 2.622 MB / 409 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2416, allocations: 15.16 kB / 409 MB, free: 5.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.2437, allocations: 1.124 MB / 410.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.2444, allocations: 398.1 kB / 410.5 MB, free: 5.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.2452, allocations: 317.3 kB / 410.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2463, allocations: 0.86 MB / 411.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.2467, allocations: 245.7 kB / 411.9 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.2473, allocations: 359.6 kB / 412.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.2479, allocations: 469.7 kB / 412.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.248, allocations: 56.69 kB / 412.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.2482, allocations: 110.8 kB / 412.9 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.2485, allocations: 337.3 kB / 413.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.2488, allocations: 487 kB / 413.7 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.25, allocations: 1.166 MB / 414.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.25, allocations: 1.188 kB / 414.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.25, allocations: 4 kB / 414.8 MB, free: 3.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.25, allocations: 3.938 kB / 414.8 MB, free: 3.242 MB / 286.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.001983/0.252, allocations: 1.469 MB / 416.3 MB, free: 2.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2521, allocations: 10.34 kB / 416.3 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2522, allocations: 134 kB / 416.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2533, allocations: 1.047 MB / 417.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.2533, allocations: 29.88 kB / 417.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.2534, allocations: 42.73 kB / 417.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.2543, allocations: 496.3 kB / 418.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.2543, allocations: 6.109 kB / 418.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.2544, allocations: 16.44 kB / 418.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2544, allocations: 13.88 kB / 418.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2554, allocations: 419.5 kB / 418.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.2583, allocations: 2.224 MB / 420.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2594, allocations: 484.9 kB / 421.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.26, allocations: 194.7 kB / 421.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.26, allocations: 12.31 kB / 421.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2601, allocations: 33.38 kB / 421.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.2601, allocations: 0 / 421.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00383/0.2639, allocations: 1.732 MB / 423.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.264, allocations: 82.11 kB / 423.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.2662, allocations: 1.947 MB / 425.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2662, allocations: 30.86 kB / 425.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.2666, allocations: 489.8 kB / 425.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2667, allocations: 153 kB / 425.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.2671, allocations: 286.3 kB / 426.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2673, allocations: 360.3 kB / 426.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/0.2683, allocations: 0.5771 MB / 427.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.2694, allocations: 0.7161 MB / 427.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2709, allocations: 0.9109 MB / 428.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2709, allocations: 0 / 428.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002493/0.2734, allocations: 1.563 MB / 430.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2734, allocations: 8.531 kB / 430.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2734, allocations: 5.281 kB / 430.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.2736, allocations: 38.91 kB / 430.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2748, allocations: 358.2 kB / 430.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.2766, allocations: 2.117 MB / 432.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.2772, allocations: 52.05 kB / 432.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.2773, allocations: 40 kB / 432.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.2785, allocations: 0.9046 MB / 433.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009296/0.2794, allocations: 0.7026 MB / 434.5 MB, free: 6.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/0.2808, allocations: 0.8909 MB / 435.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.2808, allocations: 0 / 435.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002243/0.283, allocations: 1.543 MB / 436.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2831, allocations: 8 kB / 436.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2831, allocations: 0 / 436.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.2832, allocations: 40.81 kB / 436.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.284, allocations: 271.7 kB / 437.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003012/0.2843, allocations: 0.5407 MB / 437.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.2848, allocations: 55.95 kB / 437.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.2849, allocations: 36.09 kB / 437.8 MB, free: 2.703 MB / 302.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.0001859/0.2851, allocations: 240.4 kB / 438.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.2853, allocations: 114.5 kB / 438.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.2864, allocations: 0.4895 MB / 438.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2864, allocations: 4 kB / 438.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2864, allocations: 0 / 438.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2864, allocations: 3.984 kB / 438.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.2887, allocations: 1.412 MB / 440.1 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2887, allocations: 4.125 kB / 440.1 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.2892, allocations: 103.9 kB / 440.2 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2892, allocations: 4 kB / 440.2 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2892, allocations: 15.98 kB / 440.2 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2893, allocations: 7.938 kB / 440.2 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2893, allocations: 0 / 440.2 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2908, allocations: 0.8178 MB / 441 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.2911, allocations: 263.6 kB / 441.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.2912, allocations: 8 kB / 441.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.2916, allocations: 43.89 kB / 441.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.2917, allocations: 31.91 kB / 441.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2917, allocations: 8 kB / 441.4 MB, free: 15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.2931, allocations: 1.27 MB / 442.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2931, allocations: 0 / 442.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008974/0.294, allocations: 372 kB / 443 MB, free: 13.37 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.0007566/0.2948, allocations: 367.9 kB / 443.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.298, allocations: 1.839 MB / 445.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2981, allocations: 0 / 445.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.2985, allocations: 216.3 kB / 445.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.2995, allocations: 195.7 kB / 445.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.3028, allocations: 2.402 MB / 448 MB, free: 8.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.3036, allocations: 1.166 MB / 449.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007474/0.3043, allocations: 365 kB / 449.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3045, allocations: 59.36 kB / 449.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3045, allocations: 0 / 449.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of Templates: time 0.01827/0.3228, allocations: 9.822 MB / 459.4 MB, free: 13.12 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 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1)