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.005205/0.005205, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001671/0.001671, allocations: 202 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.008445/0.008445, allocations: 1.295 MB / 291.8 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 403.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4075, allocations: 49.71 MB / 453.1 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004553/0.4121, allocations: 3.225 MB / 456.4 MB, free: 19.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.4151, allocations: 2.228 MB / 458.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.4154, allocations: 6.188 kB / 458.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.4174, allocations: 1.058 MB / 459.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.4179, allocations: 349.3 kB / 460 MB, free: 18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.4183, allocations: 138.9 kB / 460.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.4187, allocations: 0.5337 MB / 460.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4189, allocations: 131.9 kB / 460.8 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.4191, allocations: 239.6 kB / 461 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.4195, allocations: 338.4 kB / 461.4 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.4195, allocations: 30.12 kB / 461.4 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.4197, allocations: 89.39 kB / 461.5 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.4199, allocations: 270.5 kB / 461.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.4201, allocations: 363.7 kB / 462.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.421, allocations: 0.8914 MB / 463 MB, free: 16.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.421, allocations: 0.5156 kB / 463 MB, free: 16.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.421, allocations: 0 / 463 MB, free: 16.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.421, allocations: 0 / 463 MB, free: 16.64 MB / 350.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.001359/0.4224, allocations: 1.198 MB / 464.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4224, allocations: 13.12 kB / 464.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.4226, allocations: 108 kB / 464.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.4238, allocations: 0.9254 MB / 465.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.4239, allocations: 18.19 kB / 465.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.4239, allocations: 23.59 kB / 465.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.4243, allocations: 224.8 kB / 465.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.4244, allocations: 1.156 kB / 465.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4244, allocations: 15.14 kB / 465.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4244, allocations: 9 kB / 465.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.4247, allocations: 145.6 kB / 465.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4266, allocations: 1.333 MB / 467 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.427, allocations: 258.3 kB / 467.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.4272, allocations: 90.23 kB / 467.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.4272, allocations: 3.094 kB / 467.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4273, allocations: 41.06 kB / 467.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.4273, allocations: 0 / 467.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001614/0.4289, allocations: 1.061 MB / 468.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.429, allocations: 53.97 kB / 468.5 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.4311, allocations: 1.744 MB / 470.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4311, allocations: 31.39 kB / 470.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.4314, allocations: 375 kB / 470.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.4315, allocations: 106.6 kB / 470.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.4318, allocations: 248.2 kB / 471 MB, free: 11.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.4319, allocations: 350.4 kB / 471.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.4325, allocations: 463.2 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.4331, allocations: 0.5504 MB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.4339, allocations: 0.6463 MB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4339, allocations: 5.125 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001892/0.4358, allocations: 1.283 MB / 474.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4359, allocations: 5.266 kB / 474.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4359, allocations: 2.031 kB / 474.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.4362, allocations: 78.7 kB / 474.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.4368, allocations: 183.4 kB / 474.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4383, allocations: 2.285 MB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.4387, allocations: 27.34 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.4388, allocations: 29.58 kB / 476.9 MB, free: 8.184 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.0005848/0.4394, allocations: 381.8 kB / 477.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4395, allocations: 92.42 kB / 477.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.44, allocations: 251.9 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.44, allocations: 6.172 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.44, allocations: 2 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.44, allocations: 0.6562 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4415, allocations: 0.9938 MB / 478.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4415, allocations: 0 / 478.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4418, allocations: 57.25 kB / 478.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4418, allocations: 2.312 kB / 478.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4418, allocations: 6.875 kB / 478.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4418, allocations: 9.938 kB / 478.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4418, allocations: 1.188 kB / 478.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.4423, allocations: 447.5 kB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.4426, allocations: 228 kB / 479.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.4426, allocations: 10.73 kB / 479.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.4428, allocations: 2.391 kB / 479.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.4429, allocations: 16 kB / 479.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4429, allocations: 5.25 kB / 479.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.4443, allocations: 1.141 MB / 480.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4443, allocations: 0 / 480.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006292/0.445, allocations: 170.1 kB / 480.6 MB, free: 6.223 MB / 350.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.0008104/0.4458, allocations: 371.1 kB / 481 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.447, allocations: 0.8151 MB / 481.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.447, allocations: 0 / 481.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4472, allocations: 82.44 kB / 481.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.448, allocations: 130.1 kB / 482 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.4509, allocations: 1.941 MB / 484 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.4516, allocations: 1.071 MB / 485 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.4518, allocations: 76.19 kB / 485.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.452, allocations: 38.22 kB / 485.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.452, allocations: 0 / 485.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of Templates: time 0.01599/0.468, allocations: 6.582 MB / 491.7 MB, free: 0.5703 MB / 350.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)