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.001067/0.001071, allocations: 107.2 kB / 16.41 MB, free: 6.52 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.001141/0.001141, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.01498/0.01498, allocations: 1.311 MB / 292.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.89 kB / 404.1 MB, free: 31.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07476/0.07606, allocations: 49.71 MB / 453.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.005689/0.08178, allocations: 4.215 MB / 458 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.08592, allocations: 2.62 MB / 460.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.08646, allocations: 19.94 kB / 460.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.0888, allocations: 1.14 MB / 461.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008569/0.08967, allocations: 414 kB / 462.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.09048, allocations: 323 kB / 462.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.09151, allocations: 0.865 MB / 463.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/0.09196, allocations: 242.7 kB / 463.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.0925, allocations: 362.5 kB / 464 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.0931, allocations: 470.5 kB / 464.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.09325, allocations: 56 kB / 464.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.09353, allocations: 112 kB / 464.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.09385, allocations: 340.4 kB / 464.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.09433, allocations: 484.8 kB / 465.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.09569, allocations: 1.198 MB / 466.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0957, allocations: 0 / 466.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09571, allocations: 4 kB / 466.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.09575, allocations: 4 kB / 466.6 MB, free: 0.7109 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.002523/0.09828, allocations: 1.517 MB / 468.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.09833, allocations: 8.031 kB / 468.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.09857, allocations: 139.4 kB / 468.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1, allocations: 1.073 MB / 469.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.1001, allocations: 36.94 kB / 469.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.1001, allocations: 43.98 kB / 469.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.1011, allocations: 498.3 kB / 469.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1012, allocations: 0 / 469.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.1012, allocations: 16 kB / 469.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1012, allocations: 15.94 kB / 469.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.1023, allocations: 419.6 kB / 470.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.1053, allocations: 2.211 MB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1063, allocations: 474.3 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.1069, allocations: 208.7 kB / 473.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.1069, allocations: 8.531 kB / 473.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.107, allocations: 34.56 kB / 473.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/0.107, allocations: 3.938 kB / 473.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003939/0.1109, allocations: 1.745 MB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.111, allocations: 81.11 kB / 475.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.1133, allocations: 1.949 MB / 477 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1133, allocations: 29.7 kB / 477.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.1137, allocations: 493.4 kB / 477.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1139, allocations: 166.7 kB / 477.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.1142, allocations: 286.7 kB / 478 MB, free: 4.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1144, allocations: 357.9 kB / 478.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.1154, allocations: 0.5798 MB / 478.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1165, allocations: 0.7104 MB / 479.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.118, allocations: 0.9144 MB / 480.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.118, allocations: 0 / 480.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002605/0.1207, allocations: 1.575 MB / 482.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1207, allocations: 12.03 kB / 482.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1207, allocations: 0 / 482.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.1209, allocations: 36.84 kB / 482.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.1221, allocations: 355.5 kB / 482.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.124, allocations: 2.105 MB / 484.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.1246, allocations: 59.98 kB / 484.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.1247, allocations: 36 kB / 484.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001333/0.126, allocations: 0.9092 MB / 485.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.127, allocations: 0.6987 MB / 486.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001449/0.1285, allocations: 0.895 MB / 487.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.1285, allocations: 0 / 487.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002425/0.1309, allocations: 1.547 MB / 488.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.131, allocations: 8 kB / 488.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.131, allocations: 0 / 488.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1311, allocations: 48.75 kB / 488.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.132, allocations: 259.9 kB / 489.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003294/0.1324, allocations: 0.5562 MB / 489.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.1329, allocations: 51.95 kB / 489.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.133, allocations: 36.09 kB / 489.7 MB, free: 8.836 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.0001954/0.1332, allocations: 240.1 kB / 490 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.1334, allocations: 123.2 kB / 490.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.1346, allocations: 493.4 kB / 490.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1346, allocations: 3.984 kB / 490.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1346, allocations: 0 / 490.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.135, allocations: 264.2 kB / 490.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.1351, allocations: 8 kB / 490.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.1356, allocations: 31.95 kB / 490.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.1357, allocations: 35.84 kB / 490.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.1371, allocations: 0.5437 MB / 491.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001616/0.1387, allocations: 0.8803 MB / 492.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004635/0.1392, allocations: 196.1 kB / 492.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.1408, allocations: 1.27 MB / 493.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of Backend: time 1.774e-06/0.1408, allocations: 0 / 493.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004195/0.145, allocations: 2.103 MB / 495.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of SimCode: time 0.003672/0.1487, allocations: 2.865 MB / 498.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Templates: time 0.02386/0.1726, allocations: 13.73 MB / 0.5005 GB, free: 2.195 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)