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.01036/0.01036, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001768/0.001768, allocations: 193.7 kB / 16.67 MB, free: 5.926 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.008165/0.008165, allocations: 1.287 MB / 291.8 MB, free: 13.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 403.4 MB, free: 31.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1327, allocations: 49.72 MB / 453.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.00637/0.1392, allocations: 4.215 MB / 457.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1439, allocations: 2.616 MB / 459.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.1444, allocations: 15.94 kB / 460 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.147, allocations: 1.14 MB / 461.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008419/0.1478, allocations: 410 kB / 461.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.1487, allocations: 323.1 kB / 461.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008962/0.1496, allocations: 0.8689 MB / 462.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.15, allocations: 238.7 kB / 462.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.1505, allocations: 370.5 kB / 463.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.151, allocations: 458.5 kB / 463.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.1511, allocations: 60 kB / 463.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.1514, allocations: 115.9 kB / 463.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.1517, allocations: 344.4 kB / 464.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.1522, allocations: 480.8 kB / 464.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1534, allocations: 1.187 MB / 465.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1534, allocations: 0 / 465.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1534, allocations: 4 kB / 465.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1535, allocations: 0 / 465.9 MB, free: 0.7188 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.002228/0.1557, allocations: 1.48 MB / 467.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.1558, allocations: 12.03 kB / 467.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.156, allocations: 130.7 kB / 467.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1575, allocations: 1.064 MB / 468.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1575, allocations: 29 kB / 468.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.1576, allocations: 47.91 kB / 468.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.1585, allocations: 494.3 kB / 469.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1586, allocations: 3.938 kB / 469.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.1586, allocations: 16 kB / 469.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1586, allocations: 15.94 kB / 469.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.1596, allocations: 415.6 kB / 469.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.1625, allocations: 2.207 MB / 471.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1635, allocations: 488.2 kB / 472.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.1641, allocations: 208.7 kB / 472.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.1641, allocations: 8.578 kB / 472.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1642, allocations: 30.56 kB / 472.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.1642, allocations: 0 / 472.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003981/0.1682, allocations: 1.727 MB / 474.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1683, allocations: 81.11 kB / 474.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.1707, allocations: 1.949 MB / 476.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1708, allocations: 29.7 kB / 476.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.1713, allocations: 488.3 kB / 476.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1714, allocations: 161.9 kB / 476.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.1718, allocations: 278.5 kB / 477.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.172, allocations: 361.9 kB / 477.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.173, allocations: 0.576 MB / 478.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.1741, allocations: 0.7144 MB / 478.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.1756, allocations: 0.9143 MB / 479.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.1756, allocations: 0 / 479.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002675/0.1783, allocations: 1.559 MB / 481.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1784, allocations: 12.06 kB / 481.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.1784, allocations: 7.984 kB / 481.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.1786, allocations: 36.84 kB / 481.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.1799, allocations: 355.4 kB / 481.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.1822, allocations: 2.113 MB / 483.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/0.1828, allocations: 52.06 kB / 483.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.1829, allocations: 43.92 kB / 483.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001553/0.1845, allocations: 0.9053 MB / 484.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/0.1856, allocations: 0.6987 MB / 485.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001578/0.1872, allocations: 0.8871 MB / 486.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/0.1872, allocations: 0 / 486.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002567/0.1898, allocations: 1.543 MB / 488 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1898, allocations: 8 kB / 488 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1898, allocations: 0 / 488 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.19, allocations: 40.81 kB / 488 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.1909, allocations: 271.8 kB / 488.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005048/0.1914, allocations: 0.5445 MB / 488.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.1922, allocations: 51.97 kB / 488.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.1923, allocations: 44.08 kB / 488.9 MB, free: 8.938 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.000346/0.1926, allocations: 238.6 kB / 489.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.1929, allocations: 114.5 kB / 489.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.1945, allocations: 0.4896 MB / 489.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1945, allocations: 4 kB / 489.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1945, allocations: 0 / 489.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.1945, allocations: 3.984 kB / 489.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.1979, allocations: 1.409 MB / 491.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1979, allocations: 0 / 491.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.1984, allocations: 108 kB / 491.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.1984, allocations: 4 kB / 491.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.1985, allocations: 15.98 kB / 491.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.1985, allocations: 7.938 kB / 491.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1985, allocations: 7.875 kB / 491.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.2002, allocations: 0.815 MB / 492.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.2007, allocations: 259.6 kB / 492.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.2008, allocations: 8 kB / 492.4 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.2013, allocations: 39.91 kB / 492.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2014, allocations: 35.89 kB / 492.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.2014, allocations: 12 kB / 492.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.2033, allocations: 1.266 MB / 493.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2033, allocations: 0 / 493.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001279/0.2046, allocations: 368 kB / 494.1 MB, free: 3.617 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.001072/0.2056, allocations: 374.3 kB / 494.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.2094, allocations: 1.819 MB / 496.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2095, allocations: 0 / 496.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.21, allocations: 212.5 kB / 496.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.2112, allocations: 185.8 kB / 496.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.2157, allocations: 2.379 MB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.217, allocations: 1.17 MB / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009801/0.218, allocations: 373 kB / 0.4888 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2182, allocations: 55.36 kB / 0.4889 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2182, allocations: 4 kB / 0.4889 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02376/0.2419, allocations: 9.956 MB / 0.4986 GB, free: 3.262 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)