Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.00157/0.00157, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008006/0.008006, allocations: 1.292 MB / 292.3 MB, free: 13.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 55.91 kB / 353.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2245, allocations: 49.72 MB / 402.8 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.004748/0.2293, allocations: 4.514 MB / 407.3 MB, free: 30.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.2334, allocations: 3.532 MB / 410.8 MB, free: 27.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.2338, allocations: 19.88 kB / 410.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.2358, allocations: 1.153 MB / 412 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.2364, allocations: 437.8 kB / 412.4 MB, free: 25.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.2372, allocations: 409.2 kB / 412.8 MB, free: 25.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.2377, allocations: 0.9199 MB / 413.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.2381, allocations: 275.4 kB / 414 MB, free: 23.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.2385, allocations: 390.4 kB / 414.4 MB, free: 23.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.2389, allocations: 494.3 kB / 414.9 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.239, allocations: 60 kB / 415 MB, free: 23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.2393, allocations: 179.9 kB / 415.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.2395, allocations: 352.4 kB / 415.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2398, allocations: 0.5045 MB / 416 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.2406, allocations: 1.281 MB / 417.3 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2406, allocations: 0 / 417.3 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2406, allocations: 0 / 417.3 MB, free: 20.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.2406, allocations: 0 / 417.3 MB, free: 20.69 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001698/0.2423, allocations: 1.549 MB / 418.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2424, allocations: 8.031 kB / 418.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.2426, allocations: 142.5 kB / 419 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/0.2435, allocations: 1.093 MB / 420 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2435, allocations: 29 kB / 420.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.2436, allocations: 51.89 kB / 420.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2443, allocations: 473.5 kB / 420.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2443, allocations: 0 / 420.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.2443, allocations: 20 kB / 420.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2443, allocations: 23.86 kB / 420.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.245, allocations: 339.7 kB / 421 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.2471, allocations: 2.14 MB / 423.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.2478, allocations: 458.9 kB / 423.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.2482, allocations: 197.4 kB / 423.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.2482, allocations: 8.312 kB / 423.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.2486, allocations: 223.9 kB / 424 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.2486, allocations: 0 / 424 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002655/0.2513, allocations: 1.702 MB / 425.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2514, allocations: 114.8 kB / 425.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.2529, allocations: 1.999 MB / 427.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2529, allocations: 45.62 kB / 427.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.2532, allocations: 484.7 kB / 428.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.2533, allocations: 169.7 kB / 428.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.2536, allocations: 282.5 kB / 428.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.2536, allocations: 357.9 kB / 429.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.2543, allocations: 0.5408 MB / 429.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.255, allocations: 0.684 MB / 430.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.2559, allocations: 0.8585 MB / 431.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.256, allocations: 4 kB / 431.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001736/0.2577, allocations: 1.507 MB / 432.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2577, allocations: 10.78 kB / 432.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2577, allocations: 7.938 kB / 432.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2579, allocations: 44.77 kB / 432.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.2591, allocations: 355.5 kB / 433.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.2611, allocations: 3.547 MB / 436.6 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.2615, allocations: 31.98 kB / 436.7 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.2616, allocations: 47.92 kB / 436.7 MB, free: 416 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001014/0.2626, allocations: 0.8812 MB / 437.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007887/0.2634, allocations: 0.6684 MB / 438.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.2645, allocations: 0.8392 MB / 439.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.2646, allocations: 7.938 kB / 439.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001924/0.2665, allocations: 1.476 MB / 440.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2665, allocations: 4 kB / 440.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2665, allocations: 8.266 kB / 440.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.2666, allocations: 40.83 kB / 440.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.2675, allocations: 267.6 kB / 440.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.2686, allocations: 1.986 MB / 442.9 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.2691, allocations: 40.02 kB / 442.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.2691, allocations: 39.98 kB / 443 MB, free: 9.902 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: 6 ($PRE.measurementsTable.nextTimeEvent,$whenCondition1,measurementsTable.nextTimeEventScaled,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEvent,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): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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.0002131/0.2694, allocations: 224.5 kB / 443.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.2695, allocations: 126.4 kB / 443.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/0.2705, allocations: 0.4942 MB / 443.8 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2705, allocations: 4 kB / 443.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.2705, allocations: 0 / 443.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2705, allocations: 3.984 kB / 443.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.2724, allocations: 1.426 MB / 445.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2724, allocations: 4 kB / 445.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.2729, allocations: 95.89 kB / 445.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2729, allocations: 4 kB / 445.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.2729, allocations: 19.95 kB / 445.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2729, allocations: 3.938 kB / 445.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2729, allocations: 0 / 445.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2742, allocations: 0.7875 MB / 446.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.2745, allocations: 263.5 kB / 446.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.2746, allocations: 15.94 kB / 446.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2749, allocations: 23.97 kB / 446.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.275, allocations: 27.97 kB / 446.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.275, allocations: 12 kB / 446.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001406/0.2765, allocations: 1.307 MB / 447.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2765, allocations: 3.938 kB / 447.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009644/0.2774, allocations: 400 kB / 448.2 MB, free: 4.539 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,torqueLoad.phi,sine.phi) * Number of discrete variables: 3 ($whenCondition1,measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of discrete states: 2 (measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001661/0.2791, allocations: 0.7151 MB / 448.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.2824, allocations: 1.78 MB / 450.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.2825, allocations: 0 / 450.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.2828, allocations: 191.7 kB / 450.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.284, allocations: 208.2 kB / 451.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.2878, allocations: 2.441 MB / 453.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.2886, allocations: 1.131 MB / 454.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.2888, allocations: 67.42 kB / 454.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2888, allocations: 4 kB / 454.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Templates: time 0.02689/0.3157, allocations: 20.23 MB / 474.9 MB, free: 10.07 MB / 350.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1)