Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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) 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) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID") translateModel(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 176.9 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 240.1 MB, free: 1.617 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009769, allocations: 96.25 kB / 291.3 MB, free: 13.82 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.188/1.188, allocations: 122.9 MB / 465.3 MB, free: 3.43 MB / 330.8 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.1008/0.1008, allocations: 20.29 MB / 0.549 GB, free: 3.191 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005592/0.0005592, allocations: 16 kB / 0.6406 GB, free: 51.58 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 81.84 MB / 0.7205 GB, free: 1.914 MB / 458.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6548/0.8931, allocations: 123.9 MB / 0.8416 GB, free: 8.914 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.8935, allocations: 99.91 kB / 0.8417 GB, free: 8.816 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.02339/0.9169, allocations: 7.141 MB / 0.8486 GB, free: 1.641 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.196e-06/0.917, allocations: 0 / 0.8486 GB, free: 1.641 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 6.492e-05/0.9171, allocations: 19.98 kB / 0.8487 GB, free: 1.621 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001764/0.9188, allocations: 0.6689 MB / 0.8493 GB, free: 0.9023 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.9189, allocations: 8.031 kB / 0.8493 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.9191, allocations: 52.38 kB / 0.8494 GB, free: 0.8438 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.9202, allocations: 432.7 kB / 0.8498 GB, free: 392 kB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.9203, allocations: 33.31 kB / 0.8498 GB, free: 360 kB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.9204, allocations: 36.38 kB / 0.8499 GB, free: 324 kB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.9212, allocations: 385.5 kB / 0.8502 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9212, allocations: 7.922 kB / 0.8502 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.9213, allocations: 16 kB / 0.8502 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.9213, allocations: 12 kB / 0.8503 GB, free: 15.88 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.9219, allocations: 258.4 kB / 0.8505 GB, free: 15.63 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.9243, allocations: 1.257 MB / 0.8517 GB, free: 14.31 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.925, allocations: 370.9 kB / 0.8521 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.9253, allocations: 143.9 kB / 0.8522 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.9253, allocations: 19.92 kB / 0.8522 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/0.9258, allocations: 240.6 kB / 0.8525 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.9258, allocations: 0 / 0.8525 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of matching and sorting (n=34): time 0.000989/0.9268, allocations: 421 kB / 0.8529 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.927, allocations: 170.1 kB / 0.853 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.9273, allocations: 304.5 kB / 0.8533 GB, free: 12.56 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.9274, allocations: 37.69 kB / 0.8534 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.9275, allocations: 208.6 kB / 0.8536 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9277, allocations: 130.2 kB / 0.8537 GB, free: 12.18 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.9277, allocations: 4 kB / 0.8537 GB, free: 12.18 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.9279, allocations: 346.8 kB / 0.854 GB, free: 11.83 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.9282, allocations: 120.8 kB / 0.8541 GB, free: 11.71 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.9285, allocations: 200.4 kB / 0.8543 GB, free: 11.48 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.9299, allocations: 0.572 MB / 0.8549 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.9299, allocations: 4 kB / 0.8549 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007664/0.9307, allocations: 400.5 kB / 0.8553 GB, free: 10.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.9308, allocations: 135.2 kB / 0.8554 GB, free: 10.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9309, allocations: 7.984 kB / 0.8554 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9309, allocations: 4 kB / 0.8554 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.9312, allocations: 79.89 kB / 0.8555 GB, free: 10.24 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.9312, allocations: 11.94 kB / 0.8555 GB, free: 10.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.9315, allocations: 47.67 kB / 0.8555 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.9315, allocations: 12 kB / 0.8556 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.9315, allocations: 4 kB / 0.8556 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000619/0.9322, allocations: 315.5 kB / 0.8559 GB, free: 9.855 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9322, allocations: 3.938 kB / 0.8559 GB, free: 9.852 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.9322, allocations: 4 kB / 0.8559 GB, free: 9.848 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.9325, allocations: 71.91 kB / 0.8559 GB, free: 9.777 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9325, allocations: 4 kB / 0.8559 GB, free: 9.773 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.9328, allocations: 39.98 kB / 0.856 GB, free: 9.734 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.9328, allocations: 16 kB / 0.856 GB, free: 9.719 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(fixed = true ) "Connector of Boolean input signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (booleanExpression.y,$PRE.PID.switch_OnOff.u2,$PRE.PID.time_lag_I_activation.entryTime,$whenCondition2,$whenCondition1,PID.switch_OnOff.u2,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 prepare postOptimizeDAE: time 0.0004236/0.9332, allocations: 242.5 kB / 0.8562 GB, free: 9.473 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.9333, allocations: 39.52 kB / 0.8563 GB, free: 9.434 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.9335, allocations: 47.95 kB / 0.8563 GB, free: 9.387 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.9335, allocations: 4 kB / 0.8563 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.9335, allocations: 0 / 0.8563 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.9335, allocations: 3.938 kB / 0.8563 GB, free: 9.379 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.935, allocations: 0.7926 MB / 0.8571 GB, free: 8.531 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.935, allocations: 4 kB / 0.8571 GB, free: 8.527 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.9353, allocations: 67.91 kB / 0.8572 GB, free: 8.461 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.9354, allocations: 4 kB / 0.8572 GB, free: 8.457 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.9354, allocations: 7.984 kB / 0.8572 GB, free: 8.449 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.9354, allocations: 7.938 kB / 0.8572 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9354, allocations: 0 / 0.8572 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.9366, allocations: 0.5921 MB / 0.8578 GB, free: 7.824 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.9367, allocations: 116.6 kB / 0.8579 GB, free: 7.691 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.9368, allocations: 8 kB / 0.8579 GB, free: 7.684 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.937, allocations: 27.92 kB / 0.8579 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.9372, allocations: 32.05 kB / 0.8579 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.9372, allocations: 15.94 kB / 0.8579 GB, free: 7.609 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0002844/0.9375, allocations: 211.1 kB / 0.8581 GB, free: 7.402 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2e-07/0.9375, allocations: 4 kB / 0.8582 GB, free: 7.398 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0006423/0.9381, allocations: 139.5 kB / 0.8583 GB, free: 7.262 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (PID.smoothPIDOutput1.y_aux,PID.resetValueI,PID.resetValueP,PID.resetValueID,PID.smoothPIDInput.y_aux,PID.smoothPIDOutput.y_aux,PID.I.y,PID.D_approx.x,firstOrder.y) * Number of discrete variables: 6 (booleanExpression.y,$whenCondition2,$whenCondition1,PID.switch_OnOff.u2,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 2 (PID.switch_OnOff.u2,PID.toPU.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002718/0.9384, allocations: 111.7 kB / 0.8584 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.9395, allocations: 477.7 kB / 0.8588 GB, free: 6.68 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9396, allocations: 4.312 kB / 0.8588 GB, free: 6.676 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.9399, allocations: 151.8 kB / 0.859 GB, free: 6.527 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.9405, allocations: 53.41 kB / 0.859 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.9426, allocations: 0.9661 MB / 0.86 GB, free: 5.469 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.9431, allocations: 0.812 MB / 0.8608 GB, free: 4.625 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.9435, allocations: 46.94 kB / 0.8608 GB, free: 4.582 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.9436, allocations: 27.44 kB / 0.8609 GB, free: 4.555 MB / 0.5574 GB Notification: Performance of SimCode: time 9.22e-07/0.9436, allocations: 0 / 0.8609 GB, free: 4.555 MB / 0.5574 GB Notification: Performance of Templates: time 0.008917/0.9525, allocations: 3.06 MB / 0.8638 GB, free: 1.523 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe 2>&1)