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.01097/0.01097, allocations: 102 kB / 15.73 MB, free: 6.051 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.002018/0.002018, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.625/1.625, allocations: 222.9 MB / 240.4 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.008687/0.008688, allocations: 1.292 MB / 291.8 MB, free: 13.49 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 403.4 MB, free: 31.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 49.71 MB / 453.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004939/0.1338, allocations: 3.236 MB / 456.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.1374, allocations: 2.219 MB / 458.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.1378, allocations: 8 kB / 458.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.1401, allocations: 1.086 MB / 459.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.1409, allocations: 354.5 kB / 460 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.1414, allocations: 135.5 kB / 460.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.1421, allocations: 0.5371 MB / 460.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.1425, allocations: 131.9 kB / 460.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1428, allocations: 239.1 kB / 461.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1431, allocations: 339.2 kB / 461.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.1432, allocations: 32 kB / 461.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1434, allocations: 91.89 kB / 461.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.1437, allocations: 268.7 kB / 461.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.144, allocations: 361.5 kB / 462.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.1449, allocations: 0.8837 MB / 463 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.145, allocations: 0 / 463 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.145, allocations: 4 kB / 463 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.145, allocations: 0 / 463 MB, free: 3.625 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.001616/0.1466, allocations: 1.164 MB / 464.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1467, allocations: 12.02 kB / 464.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1468, allocations: 107.1 kB / 464.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1481, allocations: 0.9132 MB / 465.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1481, allocations: 16.56 kB / 465.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.1482, allocations: 31.84 kB / 465.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.1487, allocations: 219.7 kB / 465.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1487, allocations: 0 / 465.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.1487, allocations: 12 kB / 465.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1487, allocations: 11.94 kB / 465.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.149, allocations: 146.1 kB / 465.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1508, allocations: 1.318 MB / 467 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1514, allocations: 275.8 kB / 467.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1516, allocations: 91.08 kB / 467.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.1517, allocations: 4 kB / 467.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1517, allocations: 34.94 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.1517, allocations: 0 / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001977/0.1537, allocations: 1.041 MB / 468.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.1538, allocations: 55.41 kB / 468.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.1558, allocations: 1.74 MB / 470.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1559, allocations: 29.7 kB / 470.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.1562, allocations: 368.9 kB / 470.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.1563, allocations: 102.7 kB / 470.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.1566, allocations: 250.2 kB / 470.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1568, allocations: 353.9 kB / 471.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.1574, allocations: 461.8 kB / 471.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1581, allocations: 0.5506 MB / 472.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.1589, allocations: 0.6474 MB / 472.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1589, allocations: 0 / 472.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001962/0.1609, allocations: 1.295 MB / 474.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.1609, allocations: 6.344 kB / 474.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1609, allocations: 0 / 474.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.1613, allocations: 73.67 kB / 474.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.1619, allocations: 183.7 kB / 474.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.164, allocations: 2.285 MB / 476.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.1643, allocations: 20 kB / 476.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.1644, allocations: 32 kB / 476.8 MB, free: 5.23 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.0004962/0.1649, allocations: 381.6 kB / 477.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.165, allocations: 94.78 kB / 477.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.1655, allocations: 246.3 kB / 477.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1655, allocations: 7.938 kB / 477.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1655, allocations: 0 / 477.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1655, allocations: 11.91 kB / 477.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.1669, allocations: 0.9934 MB / 478.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1669, allocations: 0 / 478.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1672, allocations: 60 kB / 478.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1672, allocations: 4 kB / 478.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1672, allocations: 3.938 kB / 478.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1672, allocations: 4 kB / 478.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1672, allocations: 3.938 kB / 478.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.1678, allocations: 436.3 kB / 479 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.1681, allocations: 223.9 kB / 479.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.1681, allocations: 15.92 kB / 479.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1683, allocations: 0 / 479.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1684, allocations: 15.98 kB / 479.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1684, allocations: 4 kB / 479.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.1697, allocations: 1.138 MB / 480.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1697, allocations: 0 / 480.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006969/0.1705, allocations: 164 kB / 480.6 MB, free: 1.316 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.000951/0.1714, allocations: 373 kB / 480.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.1727, allocations: 0.8244 MB / 481.8 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1727, allocations: 0 / 481.8 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1728, allocations: 82.75 kB / 481.8 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.1736, allocations: 121.3 kB / 482 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1763, allocations: 1.911 MB / 483.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.177, allocations: 1.07 MB / 484.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.1772, allocations: 72.36 kB / 485 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1773, allocations: 39.42 kB / 485 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1773, allocations: 0 / 485 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01368/0.191, allocations: 6.58 MB / 491.6 MB, free: 6.352 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)