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.0008266/0.0008265, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006651/0.006651, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.01654/0.01654, allocations: 1.272 MB / 292.7 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.28 kB / 354.1 MB, free: 1.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.325, allocations: 50.69 MB / 404.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004965/0.33, allocations: 3.8 MB / 408.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.3338, allocations: 2.53 MB / 411.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.3342, allocations: 25.19 kB / 411.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.3365, allocations: 1.041 MB / 412.2 MB, free: 6.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008316/0.3373, allocations: 369.3 kB / 412.6 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.3381, allocations: 281.8 kB / 412.9 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.3389, allocations: 0.8139 MB / 413.7 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.3393, allocations: 215.1 kB / 413.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3396, allocations: 308.9 kB / 414.2 MB, free: 5.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.3401, allocations: 422.7 kB / 414.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.3402, allocations: 25.11 kB / 414.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3404, allocations: 74.8 kB / 414.7 MB, free: 5.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.3407, allocations: 303.2 kB / 415 MB, free: 5.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.341, allocations: 465.1 kB / 415.5 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.3422, allocations: 1.099 MB / 416.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3422, allocations: 0.7031 kB / 416.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3422, allocations: 1.031 kB / 416.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3422, allocations: 4 kB / 416.6 MB, free: 4.375 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.002088/0.3443, allocations: 1.319 MB / 417.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3444, allocations: 9.812 kB / 417.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.3445, allocations: 130.8 kB / 418 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3458, allocations: 1.048 MB / 419.1 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3458, allocations: 33.5 kB / 419.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3459, allocations: 38.12 kB / 419.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3469, allocations: 0.5089 MB / 419.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.347, allocations: 5.797 kB / 419.6 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.347, allocations: 16.73 kB / 419.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.347, allocations: 13.56 kB / 419.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3482, allocations: 477.8 kB / 420.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.3513, allocations: 2.224 MB / 422.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3524, allocations: 0.4989 MB / 422.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.353, allocations: 223 kB / 423.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.353, allocations: 7.141 kB / 423.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.353, allocations: 36.75 kB / 423.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.353, allocations: 0.8438 kB / 423.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004811/0.3579, allocations: 1.867 MB / 425 MB, free: 15.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.358, allocations: 81.95 kB / 425.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.3613, allocations: 1.947 MB / 427 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.3614, allocations: 31.58 kB / 427.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.3619, allocations: 492.7 kB / 427.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.362, allocations: 156.4 kB / 427.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3622, allocations: 142.8 kB / 427.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.3624, allocations: 356.4 kB / 428.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.3636, allocations: 0.5971 MB / 428.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3651, allocations: 0.7424 MB / 429.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.3671, allocations: 0.9534 MB / 430.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3671, allocations: 0 / 430.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00352/0.3706, allocations: 1.606 MB / 432.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.3708, allocations: 167.9 kB / 432.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3708, allocations: 0 / 432.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.371, allocations: 36.83 kB / 432.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.3724, allocations: 399.5 kB / 432.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.3747, allocations: 2.084 MB / 434.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3757, allocations: 76.02 kB / 434.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.3758, allocations: 32 kB / 434.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3758, allocations: 4 kB / 434.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002401/0.3782, allocations: 1.457 MB / 436.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3782, allocations: 4 kB / 436.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.3784, allocations: 40.83 kB / 436.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.3793, allocations: 275.8 kB / 436.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000326/0.3796, allocations: 0.5445 MB / 437.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.3803, allocations: 60.09 kB / 437.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.3804, allocations: 36 kB / 437.3 MB, free: 5.902 MB / 302.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.0009549/0.3814, allocations: 496.7 kB / 437.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.3816, allocations: 114.5 kB / 437.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3829, allocations: 0.5364 MB / 438.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3829, allocations: 8 kB / 438.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.383, allocations: 0 / 438.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.383, allocations: 0 / 438.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.3857, allocations: 1.463 MB / 439.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3857, allocations: 4 kB / 439.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.3862, allocations: 115.8 kB / 440 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3863, allocations: 4 kB / 440 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.3863, allocations: 12.09 kB / 440 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.3863, allocations: 11.94 kB / 440 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3863, allocations: 0 / 440 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.3882, allocations: 0.8865 MB / 440.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.3886, allocations: 263.6 kB / 441.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3887, allocations: 16 kB / 441.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.3892, allocations: 39.97 kB / 441.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.3893, allocations: 35.83 kB / 441.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3893, allocations: 16 kB / 441.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.391, allocations: 1.27 MB / 442.5 MB, free: 492 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3911, allocations: 0 / 442.5 MB, free: 492 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3922, allocations: 375.9 kB / 442.9 MB, free: 116 kB / 302.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.000977/0.3932, allocations: 369.6 kB / 443.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.3968, allocations: 1.921 MB / 445.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3968, allocations: 0 / 445.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.3974, allocations: 233.5 kB / 445.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.3987, allocations: 175.3 kB / 445.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.4027, allocations: 2.833 MB / 448.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.4035, allocations: 1.162 MB / 449.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000862/0.4044, allocations: 373 kB / 449.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4046, allocations: 51.42 kB / 450 MB, free: 9.09 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4046, allocations: 0 / 450 MB, free: 9.09 MB / 318.1 MB Notification: Performance of Templates: time 0.01794/0.4225, allocations: 9.139 MB / 459.1 MB, free: 28 kB / 318.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)