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.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_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.001022/0.001022, allocations: 92.16 kB / 16.02 MB, free: 80 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.001269/0.001269, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007697/0.007697, allocations: 1.273 MB / 293.4 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 354.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 50.7 MB / 405.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.004606/0.2392, allocations: 4.085 MB / 409.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.2436, allocations: 3.406 MB / 413 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.2441, allocations: 17.06 kB / 413 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.2463, allocations: 1.079 MB / 414.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.2471, allocations: 406.8 kB / 414.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.248, allocations: 356.5 kB / 414.8 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008908/0.2489, allocations: 0.87 MB / 415.7 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.2493, allocations: 254.4 kB / 415.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.2497, allocations: 325.3 kB / 416.3 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.2503, allocations: 449.2 kB / 416.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.2503, allocations: 23.22 kB / 416.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.2507, allocations: 126.6 kB / 416.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.251, allocations: 317.8 kB / 417.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.2513, allocations: 493.9 kB / 417.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2524, allocations: 0.9774 MB / 418.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2524, allocations: 0.5156 kB / 418.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2524, allocations: 0 / 418.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2524, allocations: 1.125 kB / 418.6 MB, free: 3.262 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001879/0.2543, allocations: 1.368 MB / 420 MB, free: 2.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2544, allocations: 12.91 kB / 420 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.2545, allocations: 139.6 kB / 420.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.2557, allocations: 1.092 MB / 421.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2558, allocations: 31.02 kB / 421.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.2558, allocations: 46.05 kB / 421.3 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.2566, allocations: 483.4 kB / 421.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2567, allocations: 6 kB / 421.8 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.2567, allocations: 16.11 kB / 421.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2567, allocations: 15.72 kB / 421.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.2575, allocations: 361.8 kB / 422.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.2602, allocations: 2.161 MB / 424.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.2611, allocations: 461.8 kB / 424.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.2615, allocations: 203.9 kB / 425 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.2616, allocations: 13.91 kB / 425 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.2621, allocations: 229.8 kB / 425.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.2621, allocations: 1.5 kB / 425.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003258/0.2653, allocations: 1.768 MB / 427 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.2654, allocations: 116.6 kB / 427.1 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.2678, allocations: 2.012 MB / 429.1 MB, free: 13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.2678, allocations: 33.08 kB / 429.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.2682, allocations: 490 kB / 429.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2684, allocations: 175.5 kB / 429.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.2686, allocations: 140.7 kB / 429.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2687, allocations: 357.5 kB / 430.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.2696, allocations: 0.5349 MB / 430.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.2705, allocations: 0.6994 MB / 431.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2718, allocations: 0.8834 MB / 432.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2719, allocations: 1.375 kB / 432.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002263/0.2741, allocations: 1.516 MB / 433.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/0.2742, allocations: 164.2 kB / 434.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2742, allocations: 12 kB / 434.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.2744, allocations: 36.83 kB / 434.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2757, allocations: 403.5 kB / 434.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.2784, allocations: 3.415 MB / 437.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.2789, allocations: 52.19 kB / 438 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.279, allocations: 36 kB / 438 MB, free: 5.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.279, allocations: 4 kB / 438 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/0.2809, allocations: 1.359 MB / 439.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2809, allocations: 4 kB / 439.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.2811, allocations: 36.78 kB / 439.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.2819, allocations: 275.8 kB / 439.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.283, allocations: 1.875 MB / 441.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.2835, allocations: 39.89 kB / 441.6 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.2835, allocations: 44.17 kB / 441.6 MB, free: 1.777 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: 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.0006624/0.2842, allocations: 0.4928 MB / 442.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.2844, allocations: 118.5 kB / 442.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.2854, allocations: 0.5097 MB / 442.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2854, allocations: 4 kB / 442.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2854, allocations: 0 / 442.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2854, allocations: 15.91 kB / 442.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2874, allocations: 1.45 MB / 444.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2875, allocations: 3.938 kB / 444.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.2879, allocations: 95.89 kB / 444.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.2879, allocations: 7.938 kB / 444.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.288, allocations: 11.98 kB / 444.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.288, allocations: 3.984 kB / 444.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.288, allocations: 8.031 kB / 444.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.2893, allocations: 0.8108 MB / 445.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.2896, allocations: 279.5 kB / 445.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.2898, allocations: 8 kB / 445.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2902, allocations: 35.92 kB / 445.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.2902, allocations: 31.95 kB / 445.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2903, allocations: 12 kB / 445.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001928/0.2922, allocations: 1.311 MB / 446.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2922, allocations: 0 / 446.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00162/0.2939, allocations: 395.9 kB / 447.2 MB, free: 12.05 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.001571/0.2954, allocations: 0.7068 MB / 447.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.2988, allocations: 1.827 MB / 449.8 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2989, allocations: 0 / 449.8 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.2993, allocations: 195.8 kB / 450 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.3005, allocations: 198.8 kB / 450.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.3043, allocations: 2.832 MB / 453 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.305, allocations: 1.139 MB / 454.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3052, allocations: 63.42 kB / 454.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3052, allocations: 0 / 454.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Templates: time 0.02738/0.3326, allocations: 20.02 MB / 474.2 MB, free: 1.371 MB / 334.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)