Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008917/0.008917, allocations: 170.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006948, allocations: 8.422 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2988, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002084/0.301, allocations: 1.91 MB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3022, allocations: 0.7099 MB / 329.6 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3023, allocations: 7.312 kB / 329.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3025, allocations: 20.41 kB / 329.7 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.3027, allocations: 70.25 kB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3029, allocations: 81.41 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3032, allocations: 244.1 kB / 330.1 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3034, allocations: 51.52 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3035, allocations: 94.84 kB / 330.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.3038, allocations: 110.3 kB / 330.3 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3038, allocations: 13.78 kB / 330.3 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3039, allocations: 59.98 kB / 330.4 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.304, allocations: 39.17 kB / 330.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3041, allocations: 126.3 kB / 330.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.3045, allocations: 259.1 kB / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3045, allocations: 0.9688 kB / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3045, allocations: 0 / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3045, allocations: 0 / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007816/0.3053, allocations: 495.8 kB / 331.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3053, allocations: 9.406 kB / 331.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.3054, allocations: 25.44 kB / 331.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3057, allocations: 235.4 kB / 331.5 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3057, allocations: 13.5 kB / 331.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.3058, allocations: 24.97 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.3062, allocations: 223.4 kB / 331.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3062, allocations: 9.016 kB / 331.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3062, allocations: 13.11 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3063, allocations: 5.406 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.3066, allocations: 166.7 kB / 332 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3078, allocations: 0.7854 MB / 332.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3082, allocations: 134.3 kB / 332.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3083, allocations: 65.03 kB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3084, allocations: 2.219 kB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3084, allocations: 43.52 kB / 333 MB, free: 12.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3084, allocations: 1.031 kB / 333 MB, free: 12.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002077/0.3105, allocations: 1.019 MB / 334 MB, free: 11.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3105, allocations: 53.47 kB / 334.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3108, allocations: 210.5 kB / 334.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.3108, allocations: 31.05 kB / 334.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.3109, allocations: 137.9 kB / 334.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.311, allocations: 72.16 kB / 334.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.3111, allocations: 30.55 kB / 334.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3112, allocations: 339.2 kB / 334.9 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3114, allocations: 81.53 kB / 335 MB, free: 11.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3116, allocations: 123.6 kB / 335.1 MB, free: 10.94 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.3119, allocations: 172.7 kB / 335.3 MB, free: 10.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3119, allocations: 0 / 335.3 MB, free: 10.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005168/0.3124, allocations: 287.8 kB / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3125, allocations: 4 kB / 335.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3125, allocations: 4 kB / 335.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.3127, allocations: 76.81 kB / 335.6 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3129, allocations: 35.98 kB / 335.7 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005358/0.3135, allocations: 0.6226 MB / 336.3 MB, free: 9.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3137, allocations: 36.05 kB / 336.3 MB, free: 9.668 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3137, allocations: 11.97 kB / 336.3 MB, free: 9.656 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.3138, allocations: 140 kB / 336.5 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.3139, allocations: 19.72 kB / 336.5 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.314, allocations: 25.86 kB / 336.5 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.314, allocations: 7.938 kB / 336.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.314, allocations: 0 / 336.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.314, allocations: 0 / 336.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.3149, allocations: 0.6061 MB / 337.1 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3149, allocations: 0 / 337.1 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3151, allocations: 28.05 kB / 337.1 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.3152, allocations: 76.8 kB / 337.2 MB, free: 8.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3153, allocations: 4 kB / 337.2 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004739/0.3157, allocations: 0.6186 MB / 337.8 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3158, allocations: 0 / 337.8 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.3164, allocations: 429.7 kB / 338.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3165, allocations: 104.9 kB / 338.4 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3166, allocations: 11.98 kB / 338.4 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3167, allocations: 23.98 kB / 338.4 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.3168, allocations: 19.97 kB / 338.4 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3168, allocations: 7.984 kB / 338.4 MB, free: 7.402 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.317, allocations: 156 kB / 338.6 MB, free: 7.25 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.317, allocations: 0 / 338.6 MB, free: 7.25 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.3173, allocations: 75.94 kB / 338.7 MB, free: 7.176 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.3175, allocations: 127.2 kB / 338.8 MB, free: 7.043 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.318, allocations: 203.8 kB / 339 MB, free: 6.844 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.318, allocations: 0 / 339 MB, free: 6.844 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.3183, allocations: 103.9 kB / 339.1 MB, free: 6.742 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3187, allocations: 35.77 kB / 339.1 MB, free: 6.707 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.3204, allocations: 0.839 MB / 340 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3207, allocations: 0.7443 MB / 340.7 MB, free: 5.07 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.065e-05/0.3208, allocations: 25.92 kB / 340.7 MB, free: 5.043 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3209, allocations: 15.44 kB / 340.7 MB, free: 5.027 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3209, allocations: 4 kB / 340.7 MB, free: 5.023 MB / 270.1 MB Notification: Performance of Templates: time 0.006491/0.3274, allocations: 2.898 MB / 343.6 MB, free: 2.125 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1)