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.001125/0.001125, allocations: 97.78 kB / 16.02 MB, free: 76 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.001452/0.001452, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007572/0.007572, allocations: 1.271 MB / 293.4 MB, free: 0.8789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 8 kB / 354.8 MB, free: 1.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.23, allocations: 50.69 MB / 405.5 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004444/0.2344, allocations: 3.801 MB / 409.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.2381, allocations: 2.524 MB / 411.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.2387, allocations: 16.38 kB / 411.8 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.2413, allocations: 1.057 MB / 412.9 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009462/0.2423, allocations: 362.1 kB / 413.2 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.2431, allocations: 278 kB / 413.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2443, allocations: 0.8199 MB / 414.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.2447, allocations: 216.1 kB / 414.6 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.2453, allocations: 308.2 kB / 414.9 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.246, allocations: 423 kB / 415.3 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.2461, allocations: 23.03 kB / 415.3 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.2464, allocations: 69.17 kB / 415.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.2467, allocations: 303.6 kB / 415.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.2472, allocations: 465 kB / 416.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2482, allocations: 0.8897 MB / 417 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2482, allocations: 1.375 kB / 417 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2482, allocations: 0 / 417 MB, free: 4.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.2483, allocations: 0 / 417 MB, free: 4.32 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.002649/0.2509, allocations: 1.331 MB / 418.3 MB, free: 3.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.251, allocations: 8.781 kB / 418.3 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.2512, allocations: 131.1 kB / 418.5 MB, free: 3.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.2525, allocations: 1.051 MB / 419.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.2526, allocations: 30.11 kB / 419.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2527, allocations: 43.5 kB / 419.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.2537, allocations: 0.5003 MB / 420.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2537, allocations: 5.281 kB / 420.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.2538, allocations: 25.44 kB / 420.1 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2538, allocations: 14.75 kB / 420.1 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2549, allocations: 461.9 kB / 420.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.2578, allocations: 2.231 MB / 422.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2589, allocations: 0.4971 MB / 423.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.2594, allocations: 225 kB / 423.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2595, allocations: 3.938 kB / 423.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.2595, allocations: 40.8 kB / 423.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.844e-06/0.2595, allocations: 7.875 kB / 423.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.00408/0.2636, allocations: 1.855 MB / 425.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.2636, allocations: 89.47 kB / 425.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.2661, allocations: 1.944 MB / 427.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2661, allocations: 34.92 kB / 427.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.2665, allocations: 480.9 kB / 428 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2667, allocations: 160.1 kB / 428.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.2669, allocations: 142.2 kB / 428.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.267, allocations: 360.8 kB / 428.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.268, allocations: 0.5924 MB / 429.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2692, allocations: 0.7357 MB / 429.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.2709, allocations: 0.9568 MB / 430.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2709, allocations: 1.375 kB / 430.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003176/0.2741, allocations: 1.605 MB / 432.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2742, allocations: 162.1 kB / 432.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2742, allocations: 4 kB / 432.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2744, allocations: 48.81 kB / 432.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.2758, allocations: 403.5 kB / 433.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.2777, allocations: 2.088 MB / 435.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.2784, allocations: 63.95 kB / 435.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.2785, allocations: 40 kB / 435.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.2785, allocations: 9.625 kB / 435.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002266/0.2808, allocations: 1.445 MB / 436.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2808, allocations: 4 kB / 436.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.2809, allocations: 32.84 kB / 436.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.2818, allocations: 279.8 kB / 437.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003044/0.2821, allocations: 0.5484 MB / 437.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.2826, allocations: 64.05 kB / 437.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.2827, allocations: 36 kB / 437.7 MB, free: 6.008 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.0006198/0.2833, allocations: 484.8 kB / 438.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.2835, allocations: 114.5 kB / 438.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2848, allocations: 0.5364 MB / 438.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2848, allocations: 4 kB / 438.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2848, allocations: 4 kB / 438.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2848, allocations: 7.984 kB / 438.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2872, allocations: 1.467 MB / 440.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2872, allocations: 4 kB / 440.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.2878, allocations: 120 kB / 440.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2878, allocations: 0 / 440.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2878, allocations: 8 kB / 440.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2878, allocations: 4 kB / 440.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2878, allocations: 0 / 440.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.2896, allocations: 0.8943 MB / 441.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.2899, allocations: 259.8 kB / 441.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.29, allocations: 12 kB / 441.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.2904, allocations: 51.95 kB / 441.7 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.2905, allocations: 35.89 kB / 441.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2906, allocations: 8 kB / 441.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.2921, allocations: 1.274 MB / 443 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2921, allocations: 0 / 443 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009912/0.2931, allocations: 367.9 kB / 443.3 MB, free: 236 kB / 302.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.000822/0.2939, allocations: 376.7 kB / 443.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.2974, allocations: 1.917 MB / 445.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2975, allocations: 0 / 445.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.298, allocations: 233.5 kB / 445.9 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.2993, allocations: 179.1 kB / 446 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.3029, allocations: 2.687 MB / 448.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.3037, allocations: 1.111 MB / 449.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.3039, allocations: 59.42 kB / 449.9 MB, free: 9.754 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3039, allocations: 0 / 449.9 MB, free: 9.754 MB / 318.1 MB Notification: Performance of Templates: time 0.02225/0.3261, allocations: 16.64 MB / 466.5 MB, free: 9.137 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)