Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001456/0.001457, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008089/0.00809, allocations: 1.266 MB / 292.2 MB, free: 0.8789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.000341, allocations: 8 kB / 353.4 MB, free: 2.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3526, allocations: 50.69 MB / 404.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004016/0.3567, allocations: 2.663 MB / 406.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3597, allocations: 2.069 MB / 408.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.36, allocations: 7.812 kB / 408.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.3622, allocations: 0.9323 MB / 409.8 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.3629, allocations: 324.4 kB / 410.1 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.3634, allocations: 109.5 kB / 410.2 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.3639, allocations: 364.8 kB / 410.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3642, allocations: 108.1 kB / 410.7 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.3644, allocations: 202.6 kB / 410.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.3648, allocations: 260.2 kB / 411.1 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3649, allocations: 14.25 kB / 411.1 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3651, allocations: 54.47 kB / 411.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.3654, allocations: 265.9 kB / 411.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3656, allocations: 178 kB / 411.6 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.3669, allocations: 0.8392 MB / 412.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3669, allocations: 1.125 kB / 412.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3669, allocations: 0 / 412.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3669, allocations: 3.938 kB / 412.5 MB, free: 6.508 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002041/0.3689, allocations: 1.197 MB / 413.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.369, allocations: 8.562 kB / 413.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3692, allocations: 112 kB / 413.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.3808, allocations: 10.51 MB / 424.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.3809, allocations: 17.91 kB / 424.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.381, allocations: 24.08 kB / 424.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.3815, allocations: 223.6 kB / 424.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3815, allocations: 1.906 kB / 424.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3816, allocations: 10.34 kB / 424.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3816, allocations: 10.17 kB / 424.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.3819, allocations: 140.5 kB / 424.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.3869, allocations: 3.69 MB / 428.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3873, allocations: 265.2 kB / 428.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3874, allocations: 4.797 kB / 428.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3874, allocations: 38.75 kB / 428.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.3874, allocations: 0 / 428.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001786/0.3892, allocations: 1.069 MB / 429.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3893, allocations: 55.41 kB / 429.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/0.4026, allocations: 13.89 MB / 443.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.4027, allocations: 29.64 kB / 443.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.4032, allocations: 472.7 kB / 444.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/0.4033, allocations: 90.66 kB / 444.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.4033, allocations: 4 kB / 444.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4034, allocations: 325.9 kB / 444.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4035, allocations: 52.55 kB / 444.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4037, allocations: 114.1 kB / 444.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4038, allocations: 76 kB / 444.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4038, allocations: 0 / 444.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009092/0.4048, allocations: 386.6 kB / 445.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4048, allocations: 4 kB / 445.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4048, allocations: 0 / 445.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.4051, allocations: 89.88 kB / 445.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4053, allocations: 43.92 kB / 445.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.4072, allocations: 2.149 MB / 447.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.4076, allocations: 28.14 kB / 447.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4077, allocations: 8 kB / 447.5 MB, free: 11.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005578/0.4082, allocations: 361.7 kB / 447.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4084, allocations: 106.5 kB / 448 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.4088, allocations: 311.5 kB / 448.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4089, allocations: 4 kB / 448.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4089, allocations: 0 / 448.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4089, allocations: 0 / 448.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4104, allocations: 1.137 MB / 449.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4104, allocations: 3.938 kB / 449.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.4107, allocations: 55.97 kB / 449.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4107, allocations: 11.92 kB / 449.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4107, allocations: 7.984 kB / 449.5 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4107, allocations: 256 / 449.5 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4107, allocations: 8.031 kB / 449.5 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.4113, allocations: 467.1 kB / 450 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.4117, allocations: 275.7 kB / 450.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.307e-05/0.4118, allocations: 4 kB / 450.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.412, allocations: 12 kB / 450.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.412, allocations: 19.98 kB / 450.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.4121, allocations: 7.984 kB / 450.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.009448/0.4215, allocations: 11.12 MB / 461.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4216, allocations: 0 / 461.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009755/0.4225, allocations: 104 kB / 461.5 MB, free: 13.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001004/0.4236, allocations: 366.4 kB / 461.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008483/0.4244, allocations: 306.5 kB / 462.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4244, allocations: 3.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4246, allocations: 80.22 kB / 462.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.4255, allocations: 126.8 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.4286, allocations: 2.122 MB / 464.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.4294, allocations: 1.094 MB / 465.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004391/0.4298, allocations: 120.7 kB / 465.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.4301, allocations: 59.41 kB / 465.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4301, allocations: 0 / 465.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of Templates: time 0.01935/0.4494, allocations: 10.37 MB / 476.1 MB, free: 14.63 MB / 350.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile Environment - environmentSimulation: (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) Environment - environmentSimulation: