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.0009654/0.0009654, allocations: 92.23 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.0009853/0.0009853, allocations: 184 kB / 16.92 MB, free: 6.926 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.32/1.32, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007943/0.007943, allocations: 1.274 MB / 293.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003075, allocations: 11.98 kB / 354.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 50.7 MB / 405.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003581/0.2394, allocations: 2.86 MB / 408.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.2422, allocations: 2.143 MB / 410.5 MB, free: 7.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.2425, allocations: 7.531 kB / 410.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.2446, allocations: 1.004 MB / 411.5 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.2451, allocations: 312.5 kB / 411.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.2454, allocations: 121.2 kB / 411.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.2459, allocations: 0.5101 MB / 412.4 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2461, allocations: 118 kB / 412.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.2464, allocations: 207.5 kB / 412.8 MB, free: 6.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.2467, allocations: 318.3 kB / 413.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.2468, allocations: 13.53 kB / 413.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.2469, allocations: 58.03 kB / 413.1 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.2472, allocations: 263.9 kB / 413.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.2474, allocations: 357.2 kB / 413.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.2481, allocations: 0.6898 MB / 414.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2481, allocations: 0 / 414.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2481, allocations: 0 / 414.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2481, allocations: 0 / 414.4 MB, free: 5.879 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.001208/0.2493, allocations: 1.034 MB / 415.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2494, allocations: 13.62 kB / 415.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2495, allocations: 100.5 kB / 415.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009158/0.2504, allocations: 0.9107 MB / 416.5 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2504, allocations: 18.56 kB / 416.5 MB, free: 4.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.2505, allocations: 26.31 kB / 416.5 MB, free: 4.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.2508, allocations: 225 kB / 416.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2508, allocations: 1.828 kB / 416.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.2509, allocations: 10.66 kB / 416.8 MB, free: 4.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2509, allocations: 9.391 kB / 416.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.2511, allocations: 146.2 kB / 416.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.2527, allocations: 1.338 MB / 418.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.2531, allocations: 266.8 kB / 418.5 MB, free: 3.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2533, allocations: 92.3 kB / 418.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2534, allocations: 5.938 kB / 418.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2534, allocations: 37.5 kB / 418.6 MB, free: 3.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.2534, allocations: 0 / 418.6 MB, free: 3.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001403/0.2548, allocations: 1.045 MB / 419.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.2548, allocations: 54.73 kB / 419.7 MB, free: 2.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.2567, allocations: 1.747 MB / 421.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2567, allocations: 26.86 kB / 421.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.257, allocations: 367 kB / 421.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.2571, allocations: 110.9 kB / 422 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2572, allocations: 122.5 kB / 422.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.2573, allocations: 351 kB / 422.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.2578, allocations: 466 kB / 422.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.2585, allocations: 0.5487 MB / 423.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.2592, allocations: 0.6454 MB / 424.1 MB, free: 352 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2592, allocations: 0.75 kB / 424.1 MB, free: 352 kB / 286.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001739/0.261, allocations: 1.282 MB / 425.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.261, allocations: 5.688 kB / 425.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.261, allocations: 6.078 kB / 425.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.2614, allocations: 83.11 kB / 425.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.2619, allocations: 182.5 kB / 425.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.2636, allocations: 2.112 MB / 427.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.264, allocations: 22.38 kB / 427.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.264, allocations: 25.91 kB / 427.8 MB, free: 13.77 MB / 302.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 (115): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.2645, allocations: 381.7 kB / 428.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2646, allocations: 92.19 kB / 428.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.265, allocations: 249.6 kB / 428.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2651, allocations: 6.141 kB / 428.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2651, allocations: 5.031 kB / 428.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2651, allocations: 0 / 428.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.2664, allocations: 1.002 MB / 429.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2664, allocations: 0 / 429.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.2667, allocations: 61.66 kB / 429.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2667, allocations: 2.031 kB / 429.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2667, allocations: 9.938 kB / 429.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2667, allocations: 5.188 kB / 429.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2667, allocations: 0.9688 kB / 429.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.2672, allocations: 432.5 kB / 430 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.2675, allocations: 225 kB / 430.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.2676, allocations: 9.844 kB / 430.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2678, allocations: 9.438 kB / 430.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.2678, allocations: 12.2 kB / 430.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2678, allocations: 8.219 kB / 430.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.2691, allocations: 1.14 MB / 431.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.2691, allocations: 0 / 431.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005833/0.2697, allocations: 170.9 kB / 431.6 MB, free: 11.41 MB / 302.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 (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.0008406/0.2706, allocations: 364.5 kB / 432 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2717, allocations: 0.8043 MB / 432.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2717, allocations: 5.125 kB / 432.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2719, allocations: 80.75 kB / 432.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.2727, allocations: 111.7 kB / 433 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.2753, allocations: 2.107 MB / 435.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.2759, allocations: 1.023 MB / 436.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.276, allocations: 39.44 kB / 436.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of SimCode: time 2.063e-06/0.276, allocations: 0 / 436.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of Templates: time 0.01592/0.292, allocations: 12.47 MB / 448.6 MB, free: 11.16 MB / 318.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile (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)