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.001044/0.001044, allocations: 111.1 kB / 16.42 MB, free: 6.496 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.001015/0.001015, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 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.008609/0.008609, allocations: 1.298 MB / 292.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 404.1 MB, free: 31.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06662/0.0678, allocations: 49.72 MB / 453.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004361/0.07219, allocations: 3.228 MB / 457.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.07506, allocations: 2.223 MB / 459.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.07522, allocations: 8 kB / 459.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.07711, allocations: 1.079 MB / 460.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.07761, allocations: 366.4 kB / 460.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.07796, allocations: 131.7 kB / 460.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.07848, allocations: 0.537 MB / 461.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.07871, allocations: 140 kB / 461.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.07892, allocations: 231.1 kB / 461.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.07926, allocations: 343.2 kB / 462.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.07933, allocations: 32 kB / 462.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.0795, allocations: 87.84 kB / 462.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.07971, allocations: 272.7 kB / 462.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.07998, allocations: 361.5 kB / 462.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.08073, allocations: 0.8798 MB / 463.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.08074, allocations: 0 / 463.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.08075, allocations: 0 / 463.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.08077, allocations: 8 kB / 463.7 MB, free: 3.719 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.001467/0.08224, allocations: 1.162 MB / 464.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.08228, allocations: 8.031 kB / 464.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.08241, allocations: 99.09 kB / 465 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.08349, allocations: 0.9171 MB / 465.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.08353, allocations: 20.56 kB / 465.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.08358, allocations: 31.84 kB / 465.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.08394, allocations: 223.7 kB / 466.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.08398, allocations: 0 / 466.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.08401, allocations: 8 kB / 466.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.08403, allocations: 11.94 kB / 466.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.08429, allocations: 146.1 kB / 466.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.086, allocations: 1.325 MB / 467.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.08641, allocations: 267.8 kB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.08662, allocations: 84.83 kB / 468 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.08666, allocations: 8 kB / 468 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.0867, allocations: 38.92 kB / 468 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.08671, allocations: 0 / 468 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001549/0.08827, allocations: 1.04 MB / 469.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.08831, allocations: 59.41 kB / 469.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.09011, allocations: 1.744 MB / 470.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.09014, allocations: 25.7 kB / 470.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.09041, allocations: 368.9 kB / 471.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.0905, allocations: 102.7 kB / 471.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.09079, allocations: 250.2 kB / 471.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.09092, allocations: 349.9 kB / 472 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.09148, allocations: 457.8 kB / 472.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.0921, allocations: 0.5506 MB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.09286, allocations: 0.6513 MB / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09287, allocations: 0 / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001628/0.0945, allocations: 1.279 MB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.09453, allocations: 8 kB / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.09454, allocations: 0 / 474.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.09487, allocations: 85.89 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.09542, allocations: 179.7 kB / 475.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.09713, allocations: 2.296 MB / 477.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.09743, allocations: 20 kB / 477.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.09749, allocations: 24 kB / 477.5 MB, free: 5.328 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.0003715/0.09787, allocations: 389.5 kB / 477.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.09799, allocations: 90.78 kB / 478 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.09837, allocations: 250.3 kB / 478.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.09838, allocations: 3.938 kB / 478.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.09839, allocations: 4.281 kB / 478.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.0987, allocations: 223.9 kB / 478.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.09878, allocations: 4 kB / 478.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.09899, allocations: 11.94 kB / 478.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.09903, allocations: 7.984 kB / 478.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005183/0.09956, allocations: 300.7 kB / 478.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005002/0.1001, allocations: 0.5072 MB / 479.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001047/0.1002, allocations: 72 kB / 479.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.1014, allocations: 1.135 MB / 480.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Backend: time 3.3e-07/0.1014, allocations: 0 / 480.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.1036, allocations: 1.201 MB / 481.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.002714/0.1063, allocations: 2.385 MB / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01228/0.1186, allocations: 6.837 MB / 490.9 MB, free: 7.992 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)