Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009583/0.009583, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001617/0.001617, allocations: 192 kB / 16.67 MB, free: 5.961 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.02247/0.02247, allocations: 1.304 MB / 291.8 MB, free: 13.49 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.88 kB / 403.4 MB, free: 31.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 49.71 MB / 453.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006466/0.1305, allocations: 4.218 MB / 457.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.1357, allocations: 2.612 MB / 459.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.1365, allocations: 19.94 kB / 460 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.1392, allocations: 1.117 MB / 461.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008962/0.1401, allocations: 401.8 kB / 461.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.141, allocations: 319.3 kB / 461.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.142, allocations: 0.8611 MB / 462.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.1425, allocations: 250.6 kB / 462.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00045/0.1429, allocations: 354.5 kB / 463.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.1435, allocations: 470.5 kB / 463.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.1436, allocations: 56 kB / 463.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.1439, allocations: 112 kB / 463.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.1443, allocations: 344.4 kB / 464.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.1447, allocations: 484.9 kB / 464.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1461, allocations: 1.198 MB / 465.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1462, allocations: 0 / 465.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1462, allocations: 0 / 465.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1462, allocations: 0 / 465.9 MB, free: 0.7656 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002299/0.1485, allocations: 1.523 MB / 467.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1485, allocations: 8.031 kB / 467.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1487, allocations: 139.4 kB / 467.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.15, allocations: 1.077 MB / 468.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1501, allocations: 29 kB / 468.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.1502, allocations: 44 kB / 468.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.1512, allocations: 490.3 kB / 469.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.1513, allocations: 4 kB / 469.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.1513, allocations: 20 kB / 469.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1514, allocations: 11.94 kB / 469.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1524, allocations: 419.6 kB / 469.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.1555, allocations: 2.215 MB / 471.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1566, allocations: 480.4 kB / 472.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.1571, allocations: 196.7 kB / 472.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.1572, allocations: 12.52 kB / 472.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.1573, allocations: 42.56 kB / 472.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/0.1573, allocations: 0 / 472.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004131/0.1614, allocations: 1.737 MB / 474.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1615, allocations: 89.11 kB / 474.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.1643, allocations: 1.945 MB / 476.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.1644, allocations: 37.7 kB / 476.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.1648, allocations: 488.9 kB / 476.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.165, allocations: 166.7 kB / 477 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.1654, allocations: 278.7 kB / 477.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1656, allocations: 357.9 kB / 477.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.1667, allocations: 0.5877 MB / 478.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.1677, allocations: 0.7221 MB / 478.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.1692, allocations: 0.9027 MB / 479.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1692, allocations: 4 kB / 479.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002758/0.172, allocations: 1.571 MB / 481.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.172, allocations: 4 kB / 481.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.172, allocations: 4 kB / 481.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.1722, allocations: 40.77 kB / 481.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.1735, allocations: 363.6 kB / 481.8 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1755, allocations: 2.105 MB / 483.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.1762, allocations: 55.98 kB / 484 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.1763, allocations: 36 kB / 484 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/0.1778, allocations: 0.9053 MB / 484.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009806/0.1787, allocations: 0.7027 MB / 485.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/0.1801, allocations: 0.8911 MB / 486.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.1802, allocations: 0 / 486.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002374/0.1825, allocations: 1.547 MB / 488 MB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1826, allocations: 7.984 kB / 488 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1826, allocations: 4 kB / 488 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.1827, allocations: 41.09 kB / 488.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.1836, allocations: 263.5 kB / 488.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.1839, allocations: 0.5406 MB / 488.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.1844, allocations: 56.05 kB / 488.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.1845, allocations: 36 kB / 489 MB, free: 8.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.1848, allocations: 240.4 kB / 489.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1849, allocations: 123.2 kB / 489.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1861, allocations: 493.4 kB / 489.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1862, allocations: 8 kB / 489.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1862, allocations: 3.984 kB / 489.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1862, allocations: 3.984 kB / 489.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.1885, allocations: 1.421 MB / 491.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1885, allocations: 4 kB / 491.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.1889, allocations: 103.9 kB / 491.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.189, allocations: 4 kB / 491.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.189, allocations: 8 kB / 491.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.189, allocations: 3.938 kB / 491.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.189, allocations: 4 kB / 491.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1906, allocations: 0.8274 MB / 492.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.1909, allocations: 268.2 kB / 492.5 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.191, allocations: 12 kB / 492.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.1914, allocations: 39.89 kB / 492.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.1915, allocations: 28.09 kB / 492.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.1915, allocations: 16 kB / 492.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.193, allocations: 1.27 MB / 493.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.193, allocations: 0 / 493.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009664/0.1939, allocations: 371.9 kB / 494.2 MB, free: 3.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0009258/0.1949, allocations: 367.2 kB / 494.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.1985, allocations: 1.815 MB / 496.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1985, allocations: 0.5 kB / 496.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.199, allocations: 211.6 kB / 496.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2001, allocations: 197.8 kB / 496.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.2039, allocations: 2.412 MB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.2047, allocations: 1.17 MB / 0.4886 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008967/0.2056, allocations: 377 kB / 0.489 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2058, allocations: 63.36 kB / 0.489 GB, free: 13.01 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2058, allocations: 0 / 0.489 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01727/0.223, allocations: 9.949 MB / 0.4988 GB, free: 3.141 MB / 382.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1)