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.008418/0.008419, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00199/0.00199, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01729/0.01729, allocations: 1.28 MB / 291.8 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 63.89 kB / 403.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 49.72 MB / 453.1 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004987/0.3021, allocations: 4.214 MB / 457.3 MB, free: 19.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003912/0.3061, allocations: 2.622 MB / 459.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.3065, allocations: 19.53 kB / 460 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.309, allocations: 1.11 MB / 461.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.3097, allocations: 398.3 kB / 461.5 MB, free: 17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.3106, allocations: 324.4 kB / 461.8 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000798/0.3115, allocations: 0.8657 MB / 462.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.3119, allocations: 247.8 kB / 462.9 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.3123, allocations: 369.6 kB / 463.2 MB, free: 16.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.3129, allocations: 460.2 kB / 463.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.313, allocations: 58.22 kB / 463.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.3133, allocations: 116.2 kB / 463.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3136, allocations: 345 kB / 464.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.314, allocations: 487.1 kB / 464.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.3153, allocations: 1.188 MB / 465.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3153, allocations: 0.9375 kB / 465.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3153, allocations: 4 kB / 465.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3154, allocations: 0 / 465.9 MB, free: 14.88 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.002317/0.3177, allocations: 1.473 MB / 467.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3177, allocations: 9.984 kB / 467.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3179, allocations: 131.2 kB / 467.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3194, allocations: 1.062 MB / 468.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3195, allocations: 33 kB / 468.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.3195, allocations: 43.73 kB / 468.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009635/0.3205, allocations: 495.1 kB / 469.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.3205, allocations: 2.031 kB / 469.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.3206, allocations: 16.34 kB / 469.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3206, allocations: 14.97 kB / 469.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.3216, allocations: 418 kB / 469.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.3248, allocations: 2.205 MB / 471.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3258, allocations: 486.7 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.3264, allocations: 202.4 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.3264, allocations: 4.547 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3265, allocations: 37.12 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/0.3265, allocations: 0 / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003719/0.3302, allocations: 1.73 MB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3302, allocations: 81.52 kB / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.333, allocations: 1.948 MB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.333, allocations: 30.92 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.3334, allocations: 489.2 kB / 476.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3335, allocations: 160.8 kB / 476.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.334, allocations: 284 kB / 477.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3341, allocations: 361 kB / 477.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3351, allocations: 0.5759 MB / 478.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3363, allocations: 0.7109 MB / 478.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.3378, allocations: 0.9095 MB / 479.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3378, allocations: 1.531 kB / 479.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002619/0.3404, allocations: 1.561 MB / 481.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3405, allocations: 10.12 kB / 481.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3405, allocations: 2.969 kB / 481.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.3407, allocations: 38.66 kB / 481.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.342, allocations: 355.8 kB / 481.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.3436, allocations: 2.108 MB / 483.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.3443, allocations: 57.59 kB / 483.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.3444, allocations: 39.36 kB / 483.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/0.3459, allocations: 0.9057 MB / 484.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.347, allocations: 0.7057 MB / 485.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/0.3485, allocations: 0.8906 MB / 486.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/0.3485, allocations: 5.5 kB / 486.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002528/0.351, allocations: 1.537 MB / 487.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.351, allocations: 10.89 kB / 487.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.351, allocations: 2.219 kB / 487.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.3512, allocations: 32.66 kB / 488 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.352, allocations: 270.2 kB / 488.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002351/0.3523, allocations: 0.5434 MB / 488.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.3528, allocations: 52.42 kB / 488.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.3529, allocations: 39.59 kB / 488.9 MB, free: 2.586 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.0002227/0.3531, allocations: 232.7 kB / 489.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3533, allocations: 115.9 kB / 489.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.3545, allocations: 0.4923 MB / 489.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3545, allocations: 7.391 kB / 489.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3545, allocations: 1.188 kB / 489.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3545, allocations: 0 / 489.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.3567, allocations: 1.421 MB / 491.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3567, allocations: 0 / 491.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.3571, allocations: 115.9 kB / 491.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3571, allocations: 3.938 kB / 491.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.3572, allocations: 8 kB / 491.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3572, allocations: 7.938 kB / 491.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3572, allocations: 0 / 491.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.3585, allocations: 0.8228 MB / 492.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.3588, allocations: 263.6 kB / 492.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.3589, allocations: 4 kB / 492.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3593, allocations: 39.89 kB / 492.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.3594, allocations: 31.97 kB / 492.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3594, allocations: 11.94 kB / 492.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.3609, allocations: 1.27 MB / 493.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.361, allocations: 0 / 493.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001061/0.362, allocations: 368 kB / 494 MB, free: 13.95 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.0009228/0.3629, allocations: 364.3 kB / 494.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.3663, allocations: 1.823 MB / 496.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3663, allocations: 0 / 496.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.3668, allocations: 208.5 kB / 496.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.3678, allocations: 192.9 kB / 496.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.3729, allocations: 2.375 MB / 499 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.3741, allocations: 1.17 MB / 0.4884 GB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009855/0.3751, allocations: 373 kB / 0.4888 GB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.3753, allocations: 51.42 kB / 0.4888 GB, free: 7.488 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3753, allocations: 4 kB / 0.4888 GB, free: 7.484 MB / 366.1 MB Notification: Performance of Templates: time 0.02125/0.3965, allocations: 9.963 MB / 0.4986 GB, free: 13.61 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)