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.1.0-main/package.mo", uses=false) Using package Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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.0009611/0.0009611, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001731/0.001731, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.008407/0.008407, allocations: 1.272 MB / 292.3 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 12 kB / 353.4 MB, free: 2.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3612, allocations: 50.69 MB / 404.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.007378/0.3686, allocations: 3.536 MB / 407.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.3739, allocations: 2.442 MB / 410.1 MB, free: 6.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009722/0.375, allocations: 15.56 kB / 410.1 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.378, allocations: 0.9633 MB / 411.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3794, allocations: 396.8 kB / 411.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3805, allocations: 249.8 kB / 411.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.382, allocations: 0.5685 MB / 412.3 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.3824, allocations: 177 kB / 412.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007297/0.3831, allocations: 293.7 kB / 412.7 MB, free: 5.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.3836, allocations: 359.3 kB / 413.1 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.3837, allocations: 22.06 kB / 413.1 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.384, allocations: 66.44 kB / 413.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.3844, allocations: 318.7 kB / 413.5 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.3847, allocations: 210.6 kB / 413.7 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.3869, allocations: 1.056 MB / 414.7 MB, free: 4.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3869, allocations: 1.188 kB / 414.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.387, allocations: 0 / 414.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.387, allocations: 0 / 414.8 MB, free: 4.863 MB / 286.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.003711/0.3907, allocations: 1.478 MB / 416.2 MB, free: 3.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.845e-05/0.3908, allocations: 9.594 kB / 416.2 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.3912, allocations: 139.4 kB / 416.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.4065, allocations: 10.63 MB / 427 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.4066, allocations: 33.19 kB / 427 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4067, allocations: 44.02 kB / 427.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.4081, allocations: 0.493 MB / 427.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.4082, allocations: 2.703 kB / 427.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.4083, allocations: 19.92 kB / 427.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.4083, allocations: 11.06 kB / 427.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4097, allocations: 468.4 kB / 428.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006274/0.416, allocations: 4.585 MB / 432.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4172, allocations: 0.4892 MB / 433.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.4173, allocations: 7.984 kB / 433.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.4173, allocations: 46.55 kB / 433.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.023e-06/0.4173, allocations: 0 / 433.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004917/0.4222, allocations: 1.889 MB / 435.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.4224, allocations: 89.05 kB / 435.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01715/0.4396, allocations: 14.08 MB / 449.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.4398, allocations: 33.7 kB / 449.3 MB, free: 9.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.4406, allocations: 0.5684 MB / 449.9 MB, free: 8.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.4408, allocations: 145.8 kB / 450 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.4408, allocations: 8 kB / 450 MB, free: 8.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.441, allocations: 326 kB / 450.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.4415, allocations: 205 kB / 450.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.4421, allocations: 294.9 kB / 450.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.4427, allocations: 227.9 kB / 451 MB, free: 7.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4427, allocations: 0 / 451 MB, free: 7.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001838/0.4446, allocations: 0.6961 MB / 451.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004105/0.445, allocations: 0.8902 MB / 452.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.445, allocations: 4 kB / 452.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.4452, allocations: 44.78 kB / 452.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.4462, allocations: 267.7 kB / 452.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.4483, allocations: 2.085 MB / 455 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.4492, allocations: 55.95 kB / 455.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.4492, allocations: 24.06 kB / 455.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.4492, allocations: 4 kB / 455.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.4505, allocations: 0.5084 MB / 455.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4505, allocations: 4 kB / 455.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.4506, allocations: 40.84 kB / 455.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.4511, allocations: 136 kB / 455.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003377/0.4515, allocations: 0.5523 MB / 456.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.4522, allocations: 60 kB / 456.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.4523, allocations: 16 kB / 456.4 MB, free: 2.035 MB / 318.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009708/0.4533, allocations: 480.8 kB / 456.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.4536, allocations: 130.4 kB / 457 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.4549, allocations: 0.5688 MB / 457.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4549, allocations: 4 kB / 457.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4549, allocations: 8 kB / 457.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.455, allocations: 15.91 kB / 457.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.4577, allocations: 1.606 MB / 459.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4577, allocations: 0 / 459.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.4582, allocations: 120 kB / 459.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4583, allocations: 4 kB / 459.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.4583, allocations: 8 kB / 459.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4583, allocations: 0 / 459.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.4583, allocations: 11.89 kB / 459.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.46, allocations: 0.9546 MB / 460.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.4606, allocations: 319.3 kB / 460.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.4607, allocations: 12 kB / 460.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.4612, allocations: 51.95 kB / 460.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.4613, allocations: 31.89 kB / 460.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.4613, allocations: 16 kB / 460.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.01101/0.4723, allocations: 11.24 MB / 472 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.4724, allocations: 0 / 472 MB, free: 2.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0021/0.4745, allocations: 252 kB / 472.2 MB, free: 2.035 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.4757, allocations: 381 kB / 472.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.4788, allocations: 0.8877 MB / 473.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4789, allocations: 0 / 473.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.4795, allocations: 236 kB / 473.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.4811, allocations: 183.3 kB / 473.9 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.487, allocations: 2.662 MB / 476.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4885, allocations: 1.19 MB / 477.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009404/0.4895, allocations: 194 kB / 477.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.49, allocations: 71.41 kB / 478 MB, free: 12.31 MB / 350.1 MB Notification: Performance of SimCode: time 1.703e-06/0.49, allocations: 0 / 478 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Templates: time 0.02865/0.5186, allocations: 13.07 MB / 491.1 MB, free: 15.35 MB / 366.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: