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.0007316/0.0007316, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007663/0.0007663, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007151/0.007151, allocations: 1.275 MB / 292.4 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8 kB / 353.5 MB, free: 2.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2155, allocations: 50.7 MB / 404.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.003835/0.2193, allocations: 3.881 MB / 408.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.2229, allocations: 3.22 MB / 411.3 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.2232, allocations: 16.25 kB / 411.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.225, allocations: 1.016 MB / 412.4 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.2256, allocations: 375.9 kB / 412.7 MB, free: 5.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.2263, allocations: 315.2 kB / 413 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.227, allocations: 0.8087 MB / 413.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.2273, allocations: 205.7 kB / 414 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.2277, allocations: 318.5 kB / 414.4 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.2281, allocations: 401 kB / 414.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.2282, allocations: 31.5 kB / 414.8 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2285, allocations: 114.6 kB / 414.9 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.2288, allocations: 310.4 kB / 415.2 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2289, allocations: 216 kB / 415.4 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.23, allocations: 0.9712 MB / 416.4 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2301, allocations: 0 / 416.4 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2301, allocations: 0 / 416.4 MB, free: 3.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.2301, allocations: 0 / 416.4 MB, free: 3.867 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.001857/0.232, allocations: 1.389 MB / 417.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.232, allocations: 9.625 kB / 417.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2322, allocations: 139.5 kB / 417.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.2334, allocations: 1.038 MB / 418.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.2334, allocations: 30.52 kB / 419 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.2335, allocations: 45.44 kB / 419 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.2343, allocations: 476.5 kB / 419.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2343, allocations: 2.078 kB / 419.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.2344, allocations: 24.06 kB / 419.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2344, allocations: 14.95 kB / 419.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.2351, allocations: 352.6 kB / 419.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.2377, allocations: 2.171 MB / 422 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.2385, allocations: 460.2 kB / 422.5 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.2389, allocations: 207 kB / 422.7 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.2389, allocations: 9.969 kB / 422.7 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.2394, allocations: 221.1 kB / 422.9 MB, free: 96 kB / 286.1 MB Notification: Performance of pre-optimization done (n=41): time 1.853e-06/0.2394, allocations: 0 / 422.9 MB, free: 96 kB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.003054/0.2424, allocations: 1.772 MB / 424.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2425, allocations: 112 kB / 424.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.2447, allocations: 1.997 MB / 426.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2447, allocations: 39.84 kB / 426.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.2451, allocations: 487 kB / 427.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.2453, allocations: 170.8 kB / 427.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.2453, allocations: 25.47 kB / 427.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2454, allocations: 353 kB / 427.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.2462, allocations: 0.5408 MB / 428.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.2471, allocations: 0.6871 MB / 429.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.2479, allocations: 0.5939 MB / 429.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.248, allocations: 1.375 kB / 429.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002148/0.2501, allocations: 1.525 MB / 431.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.2502, allocations: 162 kB / 431.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2502, allocations: 3.625 kB / 431.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2504, allocations: 37.55 kB / 431.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.2516, allocations: 399.4 kB / 431.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.2542, allocations: 3.427 MB / 435.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.2547, allocations: 40.02 kB / 435.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.2548, allocations: 40 kB / 435.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.2548, allocations: 6.031 kB / 435.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/0.2566, allocations: 1.351 MB / 436.6 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2567, allocations: 4 kB / 436.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.2568, allocations: 41.11 kB / 436.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.2576, allocations: 259.7 kB / 436.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2587, allocations: 1.887 MB / 438.8 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.2591, allocations: 48.2 kB / 438.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.2592, allocations: 32 kB / 438.9 MB, free: 3.434 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 ($whenCondition1,$PRE.measurementsTable.nextTimeEvent,measurementsTable.nextTimeEvent,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEventScaled,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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000594/0.2598, allocations: 0.4898 MB / 439.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2599, allocations: 126.4 kB / 439.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.2609, allocations: 0.5062 MB / 440 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2609, allocations: 7.984 kB / 440 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2609, allocations: 0 / 440 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2609, allocations: 11.98 kB / 440 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.2629, allocations: 1.441 MB / 441.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2629, allocations: 0 / 441.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.2633, allocations: 103.9 kB / 441.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.2634, allocations: 8.031 kB / 441.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.2634, allocations: 8 kB / 441.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2634, allocations: 4 kB / 441.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2634, allocations: 0 / 441.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2647, allocations: 0.8184 MB / 442.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.265, allocations: 275.4 kB / 442.7 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2651, allocations: 12 kB / 442.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.2654, allocations: 31.97 kB / 442.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.2655, allocations: 19.97 kB / 442.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.2656, allocations: 19.98 kB / 442.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.267, allocations: 1.299 MB / 444.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.267, allocations: 4 kB / 444.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001041/0.2681, allocations: 399.9 kB / 444.5 MB, free: 13.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/0.2697, allocations: 0.7187 MB / 445.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.2727, allocations: 1.838 MB / 447 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2727, allocations: 4.125 kB / 447 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.2731, allocations: 199.8 kB / 447.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.2741, allocations: 183.2 kB / 447.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.2779, allocations: 2.861 MB / 450.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.2786, allocations: 1.198 MB / 451.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008367/0.2795, allocations: 381.2 kB / 451.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.2797, allocations: 71.34 kB / 451.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2797, allocations: 0 / 451.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Templates: time 0.01799/0.2977, allocations: 10.58 MB / 462.5 MB, free: 12.07 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)