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.2.0-alpha.1/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/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.001122/0.001122, allocations: 108.8 kB / 16.42 MB, free: 6.457 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.001156/0.001156, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008438/0.008438, allocations: 1.295 MB / 292.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 404.1 MB, free: 31.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07364, allocations: 49.71 MB / 453.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004318/0.07798, allocations: 3.224 MB / 457.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.08089, allocations: 2.23 MB / 459.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.08108, allocations: 8 kB / 459.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.08302, allocations: 1.082 MB / 460.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.08354, allocations: 354.5 kB / 460.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.08385, allocations: 143.5 kB / 460.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.08435, allocations: 0.5331 MB / 461.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.08457, allocations: 128 kB / 461.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.08479, allocations: 243 kB / 461.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.08516, allocations: 339.1 kB / 462.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.08522, allocations: 32 kB / 462.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.08539, allocations: 83.97 kB / 462.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.08561, allocations: 272.7 kB / 462.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.08589, allocations: 361.5 kB / 462.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008367/0.08673, allocations: 0.8946 MB / 463.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.08675, allocations: 0 / 463.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08675, allocations: 0 / 463.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.08677, allocations: 0 / 463.7 MB, free: 3.629 MB / 334.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.001402/0.08817, allocations: 1.193 MB / 464.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.08822, allocations: 12.03 kB / 464.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.08835, allocations: 103.7 kB / 465 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.08938, allocations: 0.9258 MB / 465.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.08941, allocations: 20.56 kB / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.08946, allocations: 27.94 kB / 466 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.08981, allocations: 227.7 kB / 466.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.08983, allocations: 0 / 466.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.08986, allocations: 16 kB / 466.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.08988, allocations: 7.938 kB / 466.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.09013, allocations: 142.1 kB / 466.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.09175, allocations: 1.33 MB / 467.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.09216, allocations: 267.8 kB / 468 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.09235, allocations: 88.81 kB / 468.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.09239, allocations: 11.94 kB / 468.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.09241, allocations: 30.94 kB / 468.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.09242, allocations: 0 / 468.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001599/0.09403, allocations: 1.064 MB / 469.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.09406, allocations: 55.41 kB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.09582, allocations: 1.744 MB / 471 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.09585, allocations: 29.69 kB / 471 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.09612, allocations: 373.4 kB / 471.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.09621, allocations: 115.2 kB / 471.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.09648, allocations: 246.4 kB / 471.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.0966, allocations: 349.9 kB / 472 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.09715, allocations: 457.8 kB / 472.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.09776, allocations: 0.5467 MB / 473 MB, free: 9.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.09856, allocations: 0.6513 MB / 473.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09857, allocations: 0 / 473.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001668/0.1002, allocations: 1.291 MB / 475 MB, free: 7.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1003, allocations: 4 kB / 475 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1003, allocations: 4 kB / 475 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.1006, allocations: 77.67 kB / 475.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.1012, allocations: 183.9 kB / 475.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.1029, allocations: 2.285 MB / 477.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1032, allocations: 24.03 kB / 477.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.1032, allocations: 24 kB / 477.6 MB, free: 5.156 MB / 350.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.000373/0.1036, allocations: 389.6 kB / 478 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1037, allocations: 91.39 kB / 478 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.1041, allocations: 250.3 kB / 478.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1041, allocations: 3.938 kB / 478.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1041, allocations: 0 / 478.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.1044, allocations: 228.4 kB / 478.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.1045, allocations: 8 kB / 478.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1047, allocations: 7.938 kB / 478.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.1047, allocations: 11.98 kB / 478.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005073/0.1052, allocations: 300.7 kB / 478.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005047/0.1057, allocations: 0.5116 MB / 479.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001115/0.1059, allocations: 72 kB / 479.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.107, allocations: 1.135 MB / 480.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.107, allocations: 0 / 480.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.1092, allocations: 1.203 MB / 481.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of SimCode: time 0.002776/0.112, allocations: 2.429 MB / 484.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.0138/0.1258, allocations: 6.842 MB / 491 MB, free: 7.762 MB / 366.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)