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-main/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.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.001275/0.001275, 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.001163/0.001164, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.008362/0.008362, allocations: 1.281 MB / 291.7 MB, free: 0.9961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 352.4 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.211, allocations: 49.72 MB / 402.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004627/0.2157, allocations: 4.199 MB / 406.3 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2189, allocations: 2.626 MB / 409 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.2192, allocations: 21.19 kB / 409 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.2213, allocations: 1.108 MB / 410.1 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.2219, allocations: 406.2 kB / 410.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.2225, allocations: 315.6 kB / 410.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.2232, allocations: 0.8644 MB / 411.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.2236, allocations: 241 kB / 411.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.2239, allocations: 358.5 kB / 412.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.2243, allocations: 466.8 kB / 412.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.2244, allocations: 57.31 kB / 412.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.2247, allocations: 118.9 kB / 412.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.2249, allocations: 333.7 kB / 413.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.2252, allocations: 489.3 kB / 413.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.2262, allocations: 1.171 MB / 414.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2262, allocations: 1.344 kB / 414.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2263, allocations: 0 / 414.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.2263, allocations: 0 / 414.8 MB, free: 3.504 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.002032/0.2283, allocations: 1.47 MB / 416.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2284, allocations: 9.125 kB / 416.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.2285, allocations: 135.5 kB / 416.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.2296, allocations: 1.042 MB / 417.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.2296, allocations: 29.41 kB / 417.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.2297, allocations: 51.98 kB / 417.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2308, allocations: 491.1 kB / 418.1 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.2308, allocations: 10.88 kB / 418.1 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.2308, allocations: 16.16 kB / 418.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2309, allocations: 13.66 kB / 418.1 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2319, allocations: 418.9 kB / 418.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.2344, allocations: 2.22 MB / 420.7 MB, free: 0 / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.2355, allocations: 481.8 kB / 421.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.2361, allocations: 209.7 kB / 421.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2361, allocations: 4.156 kB / 421.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2361, allocations: 37 kB / 421.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.442e-06/0.2362, allocations: 0 / 421.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003796/0.24, allocations: 1.729 MB / 423.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.24, allocations: 82.08 kB / 423.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.2422, allocations: 1.946 MB / 425.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.2422, allocations: 31.8 kB / 425.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.2426, allocations: 493.8 kB / 425.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2427, allocations: 148.3 kB / 425.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.2431, allocations: 286.3 kB / 426.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2432, allocations: 353.3 kB / 426.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2443, allocations: 0.5838 MB / 427.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.2454, allocations: 0.7118 MB / 427.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.2469, allocations: 0.9111 MB / 428.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2469, allocations: 1.625 kB / 428.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002556/0.2495, allocations: 1.566 MB / 430.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2495, allocations: 7.312 kB / 430.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2495, allocations: 2.688 kB / 430.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.2497, allocations: 38.22 kB / 430.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.251, allocations: 362 kB / 430.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.253, allocations: 2.124 MB / 432.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.2536, allocations: 51.95 kB / 432.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.2537, allocations: 36 kB / 432.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/0.255, allocations: 0.9085 MB / 433.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.2561, allocations: 0.6988 MB / 434.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.2575, allocations: 0.8832 MB / 435.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.2575, allocations: 0 / 435.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00238/0.2599, allocations: 1.543 MB / 436.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2599, allocations: 8 kB / 436.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2599, allocations: 0 / 436.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.2601, allocations: 45.08 kB / 436.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/0.2609, allocations: 263.5 kB / 437.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003059/0.2612, allocations: 0.5446 MB / 437.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.2618, allocations: 56.05 kB / 437.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.2618, allocations: 40 kB / 437.8 MB, free: 2.844 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.0001892/0.262, allocations: 236.4 kB / 438.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2622, allocations: 114.5 kB / 438.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2634, allocations: 0.4895 MB / 438.7 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2634, allocations: 4 kB / 438.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2634, allocations: 3.984 kB / 438.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2634, allocations: 3.984 kB / 438.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.2659, allocations: 1.412 MB / 440.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2659, allocations: 3.984 kB / 440.1 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.2664, allocations: 107.9 kB / 440.2 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2664, allocations: 0 / 440.2 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.2665, allocations: 8 kB / 440.2 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.2665, allocations: 12 kB / 440.2 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2665, allocations: 7.938 kB / 440.2 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.2681, allocations: 0.81 MB / 441 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.2684, allocations: 263.6 kB / 441.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.2686, allocations: 12 kB / 441.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.269, allocations: 39.89 kB / 441.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.2691, allocations: 27.91 kB / 441.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.2691, allocations: 12 kB / 441.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.2707, allocations: 1.27 MB / 442.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2707, allocations: 0 / 442.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00146/0.2721, allocations: 372 kB / 443 MB, free: 13.51 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.001098/0.2733, allocations: 363.7 kB / 443.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004978/0.2782, allocations: 1.847 MB / 445.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2783, allocations: 4.062 kB / 445.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007349/0.279, allocations: 203.6 kB / 445.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.2807, allocations: 200.6 kB / 445.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.2852, allocations: 2.405 MB / 448 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.286, allocations: 1.162 MB / 449.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008187/0.2868, allocations: 369 kB / 449.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.287, allocations: 63.36 kB / 449.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.287, allocations: 0 / 449.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of Templates: time 0.01794/0.3049, allocations: 9.822 MB / 459.4 MB, free: 13.25 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)