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.001515/0.001515, allocations: 110.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.0015/0.0015, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.01386/0.01386, allocations: 1.282 MB / 292.5 MB, free: 13.52 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.88 kB / 404.1 MB, free: 31.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07529/0.07652, allocations: 49.72 MB / 453.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.005329/0.08187, allocations: 4.223 MB / 458 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.08586, allocations: 2.605 MB / 460.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.08619, allocations: 19.94 kB / 460.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.08826, allocations: 1.144 MB / 461.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.08892, allocations: 409.8 kB / 462.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.08962, allocations: 323.1 kB / 462.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.09045, allocations: 0.8649 MB / 463.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.09083, allocations: 246.6 kB / 463.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.09121, allocations: 362.5 kB / 464 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.09166, allocations: 470.5 kB / 464.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.09175, allocations: 56 kB / 464.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.09197, allocations: 116 kB / 464.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.09226, allocations: 344.4 kB / 464.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.09264, allocations: 480.8 kB / 465.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.09379, allocations: 1.198 MB / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.0938, allocations: 0 / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.09381, allocations: 3.984 kB / 466.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.09383, allocations: 0 / 466.6 MB, free: 0.7266 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.002149/0.09598, allocations: 1.517 MB / 468.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.09603, allocations: 8.031 kB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.09621, allocations: 139.4 kB / 468.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.09749, allocations: 1.077 MB / 469.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.09754, allocations: 33 kB / 469.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.09762, allocations: 36 kB / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.09854, allocations: 498.3 kB / 469.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.09857, allocations: 0 / 469.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.09862, allocations: 16 kB / 469.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.09864, allocations: 15.94 kB / 469.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.0997, allocations: 419.6 kB / 470.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.1025, allocations: 2.215 MB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1036, allocations: 475.8 kB / 473 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.1042, allocations: 200.8 kB / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1042, allocations: 13.08 kB / 473.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1042, allocations: 30.56 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.764e-06/0.1042, allocations: 8 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003928/0.1082, allocations: 1.745 MB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1082, allocations: 85.05 kB / 475.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.1105, allocations: 1.949 MB / 477 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.1106, allocations: 33.7 kB / 477.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.111, allocations: 492.9 kB / 477.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1111, allocations: 158.8 kB / 477.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.1114, allocations: 286.7 kB / 478 MB, free: 4.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1116, allocations: 357.9 kB / 478.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.1125, allocations: 0.5838 MB / 478.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.1136, allocations: 0.7143 MB / 479.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.1151, allocations: 0.9066 MB / 480.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1152, allocations: 4 kB / 480.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002572/0.1177, allocations: 1.575 MB / 482.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1178, allocations: 11.94 kB / 482.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1178, allocations: 7.984 kB / 482.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.118, allocations: 32.84 kB / 482.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.1193, allocations: 351.6 kB / 482.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.1214, allocations: 2.113 MB / 484.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.122, allocations: 55.89 kB / 484.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.1221, allocations: 36 kB / 484.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/0.1234, allocations: 0.9053 MB / 485.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/0.1245, allocations: 0.7065 MB / 486.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001367/0.1258, allocations: 0.8832 MB / 487.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/0.1259, allocations: 7.984 kB / 487.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0023/0.1282, allocations: 1.543 MB / 488.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1282, allocations: 11.98 kB / 488.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1282, allocations: 0 / 488.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.1283, allocations: 41.09 kB / 488.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.1292, allocations: 255.7 kB / 489.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/0.1295, allocations: 0.5523 MB / 489.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1301, allocations: 56.05 kB / 489.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.1301, allocations: 36 kB / 489.7 MB, free: 8.859 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.0002434/0.1304, allocations: 238.5 kB / 489.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1305, allocations: 123.2 kB / 490.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.1318, allocations: 493.4 kB / 490.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1318, allocations: 3.984 kB / 490.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1318, allocations: 0 / 490.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.1322, allocations: 268.2 kB / 490.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.1323, allocations: 7.938 kB / 490.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.1327, allocations: 39.95 kB / 490.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.1328, allocations: 31.84 kB / 490.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001411/0.1342, allocations: 0.5359 MB / 491.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001722/0.1359, allocations: 0.888 MB / 492.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004687/0.1364, allocations: 196.2 kB / 492.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.1379, allocations: 1.27 MB / 493.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of Backend: time 2.425e-06/0.138, allocations: 0 / 493.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.1423, allocations: 2.1 MB / 495.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of SimCode: time 0.003751/0.1461, allocations: 2.861 MB / 498.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02252/0.1686, allocations: 13.75 MB / 0.5005 GB, free: 2.203 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)