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.0009597/0.0009596, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001254/0.001254, allocations: 172.7 kB / 15.95 MB, free: 208 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.197/1.197, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007236/0.007236, allocations: 1.271 MB / 292.3 MB, free: 0.9922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 8 kB / 353.5 MB, free: 2.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2071, allocations: 50.7 MB / 404.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.00355/0.2106, allocations: 3.621 MB / 407.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2133, allocations: 2.364 MB / 410.2 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.2135, allocations: 18.53 kB / 410.2 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.2151, allocations: 0.9786 MB / 411.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.2156, allocations: 331.1 kB / 411.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2161, allocations: 243.3 kB / 411.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.2168, allocations: 0.7645 MB / 412.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.217, allocations: 175.7 kB / 412.7 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.2173, allocations: 289.9 kB / 413 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.2177, allocations: 381 kB / 413.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.2178, allocations: 26.88 kB / 413.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.2179, allocations: 65.98 kB / 413.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.2182, allocations: 306.8 kB / 413.7 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2183, allocations: 201 kB / 413.9 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.2191, allocations: 0.8871 MB / 414.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2191, allocations: 0 / 414.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2191, allocations: 0 / 414.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2191, allocations: 1.375 kB / 414.8 MB, free: 4.844 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.001622/0.2207, allocations: 1.347 MB / 416.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.2208, allocations: 8.438 kB / 416.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2209, allocations: 126.7 kB / 416.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2219, allocations: 0.9853 MB / 417.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.222, allocations: 33.44 kB / 417.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.222, allocations: 52.06 kB / 417.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.2229, allocations: 0.4967 MB / 417.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2229, allocations: 10.73 kB / 417.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2229, allocations: 20.27 kB / 417.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.223, allocations: 9.938 kB / 417.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/0.2239, allocations: 465.6 kB / 418.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.2263, allocations: 2.229 MB / 420.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.2272, allocations: 0.4958 MB / 421.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.2276, allocations: 226.9 kB / 421.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.2277, allocations: 3.5 kB / 421.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2277, allocations: 41.42 kB / 421.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.2277, allocations: 1.156 kB / 421.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.00317/0.2309, allocations: 1.86 MB / 423.2 MB, free: 48 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.2309, allocations: 85.42 kB / 423.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.2331, allocations: 1.944 MB / 425.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2331, allocations: 34.73 kB / 425.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2335, allocations: 482.9 kB / 425.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.2336, allocations: 159.8 kB / 425.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.2336, allocations: 20.75 kB / 425.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2338, allocations: 356.9 kB / 426.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008826/0.2346, allocations: 0.5917 MB / 426.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/0.2356, allocations: 0.727 MB / 427.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.2366, allocations: 0.6452 MB / 428.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2366, allocations: 5.312 kB / 428.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002358/0.2389, allocations: 1.594 MB / 429.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2391, allocations: 172.8 kB / 430 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2391, allocations: 1.594 kB / 430 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.2392, allocations: 39.42 kB / 430.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.2404, allocations: 402.9 kB / 430.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.2422, allocations: 2.082 MB / 432.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.2427, allocations: 72.08 kB / 432.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.2428, allocations: 36 kB / 432.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.2428, allocations: 4 kB / 432.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/0.2448, allocations: 1.441 MB / 434.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2448, allocations: 4 kB / 434.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.2449, allocations: 40.84 kB / 434.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.2457, allocations: 271.8 kB / 434.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003257/0.2461, allocations: 0.5523 MB / 434.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2465, allocations: 60.06 kB / 435 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.2466, allocations: 36 kB / 435 MB, free: 7.574 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 (linear and non-linear blocks): 1 * 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: 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.0005851/0.2471, allocations: 484.8 kB / 435.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2473, allocations: 114.5 kB / 435.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.2484, allocations: 0.54 MB / 436.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2484, allocations: 7.953 kB / 436.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2484, allocations: 3.984 kB / 436.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2484, allocations: 0 / 436.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.2509, allocations: 1.463 MB / 437.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2509, allocations: 4 kB / 437.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.2514, allocations: 111.9 kB / 437.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2514, allocations: 4.125 kB / 437.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2514, allocations: 16 kB / 437.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2514, allocations: 4 kB / 437.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2514, allocations: 0 / 437.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.2533, allocations: 0.883 MB / 438.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2536, allocations: 263.6 kB / 438.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.2537, allocations: 12 kB / 438.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.2541, allocations: 43.95 kB / 439 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.2542, allocations: 43.83 kB / 439 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.2542, allocations: 12 kB / 439 MB, free: 3.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.2557, allocations: 1.262 MB / 440.3 MB, free: 2.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2557, allocations: 0 / 440.3 MB, free: 2.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009902/0.2567, allocations: 368 kB / 440.6 MB, free: 1.809 MB / 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 (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.0008053/0.2576, allocations: 373 kB / 441 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.2611, allocations: 1.917 MB / 442.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2611, allocations: 0 / 442.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.2616, allocations: 225.5 kB / 443.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.2627, allocations: 184.4 kB / 443.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2661, allocations: 2.697 MB / 446 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007292/0.2668, allocations: 1.167 MB / 447.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007674/0.2676, allocations: 369 kB / 447.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2678, allocations: 55.42 kB / 447.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2678, allocations: 0 / 447.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of Templates: time 0.01478/0.2825, allocations: 8.893 MB / 456.5 MB, free: 2.102 MB / 318.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)