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("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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="mat",numberOfIntervals=5000,variableFilter="PID.D_approx.Tau|der.PID.D_approx.x.|PID.D_approx.initOption|PID.D_approx.k|PID.D_approx.u|PID.D_approx.x|PID.D_approx.x_start|PID.D_approx.y|PID.D_approx.y_start|PID.I.Tau_i_const|der.PID.I.y.|PID.I.initOption|PID.I.startTime|PID.I.u|PID.I.variable_Tau_i|PID.I.y|PID.I.y_start|PID.I.y_startInputIsActive|PID.I.y_start_const|PID.I_activation.threshold|PID.I_activation.u|PID.I_activation.y|PID.I_off_zero.k|PID.I_off_zero.y|PID.Nd|PID.Ni|PID.P.k|PID.P.u|PID.P.y|PID.Tau_add|PID.Tau_d|PID.Tau_i|PID.Tau_in|PID.Tau_lag_I|PID.Tau_out|PID.activate_.y|PID.addI.k1|PID.addI.k2|PID.addI.u1|PID.addI.u2|PID.addI.y|PID.addPID.k1|PID.addPID.k2|PID.addPID.k3|PID.addPID.u1|PID.addPID.u2|PID.addPID.u3|PID.addPID.y|PID.addSat.u1|PID.addSat.u2|PID.addSat.y|PID.booleanPassThrough.u|PID.booleanPassThrough.y|PID.controlError|PID.controllerType|PID.feedback.u1|PID.feedback.u2|PID.feedback.y|PID.fromPU.k|PID.fromPU.u|PID.fromPU.y|PID.gainTrack.k|PID.gainTrack.u|PID.gainTrack.y|PID.initOption|PID.k|PID.limiter.homotopyType|PID.limiter.strict|PID.limiter.u|PID.limiter.uMax|PID.limiter.uMin|PID.limiter.y|PID.limitsAtInit|PID.perUnitConversion|PID.resetP.u1|PID.resetP.u2|PID.resetP.y|PID.resetPD.k1|PID.resetPD.k2|PID.resetPD.u1|PID.resetPD.u2|PID.resetPD.y|PID.sign|PID.smoothPIDInput.Tau|PID.smoothPIDInput.initOption|PID.smoothPIDInput.u|PID.smoothPIDInput.y|PID.smoothPIDInput.y_start|PID.smoothPIDOutput.Tau|PID.smoothPIDOutput.initOption|PID.smoothPIDOutput.u|PID.smoothPIDOutput.y|PID.smoothPIDOutput.y_start|PID.smoothPIDOutput1.Tau|PID.smoothPIDOutput1.initOption|PID.smoothPIDOutput1.u|PID.smoothPIDOutput1.y|PID.smoothPIDOutput1.y_start|PID.switch_OnOff.u1|PID.switch_OnOff.u2|PID.switch_OnOff.u3|PID.switch_OnOff.y|PID.switch_OnOff_I.u1|PID.switch_OnOff_I.u2|PID.switch_OnOff_I.u3|PID.switch_OnOff_I.y|PID.t_activation|PID.time_lag_I_activation.u|PID.time_lag_I_activation.y|PID.toPU.k|PID.toPU.u|PID.toPU.y|PID.u_m|PID.u_ref|PID.u_s|PID.use_activateInput|PID.xd_start|PID.xi_start|PID.y|PID.y_inactive|PID.y_max|PID.y_min|PID.y_ref|PID.y_start|PID.y_start_I.y|PID.y_unlocked.y|PID.y_unlocked1.y|PID.y_unlocked2.y|Time|Time_bak|add.k1|add.k2|add.u1|add.u2|add.y|booleanExpression.y|firstOrder.T|der.firstOrder.y.|firstOrder.initType|firstOrder.k|firstOrder.u|firstOrder.y|firstOrder.y_start|realExpression.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID") translateModel(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PID.D_approx.Tau|der.PID.D_approx.x.|PID.D_approx.initOption|PID.D_approx.k|PID.D_approx.u|PID.D_approx.x|PID.D_approx.x_start|PID.D_approx.y|PID.D_approx.y_start|PID.I.Tau_i_const|der.PID.I.y.|PID.I.initOption|PID.I.startTime|PID.I.u|PID.I.variable_Tau_i|PID.I.y|PID.I.y_start|PID.I.y_startInputIsActive|PID.I.y_start_const|PID.I_activation.threshold|PID.I_activation.u|PID.I_activation.y|PID.I_off_zero.k|PID.I_off_zero.y|PID.Nd|PID.Ni|PID.P.k|PID.P.u|PID.P.y|PID.Tau_add|PID.Tau_d|PID.Tau_i|PID.Tau_in|PID.Tau_lag_I|PID.Tau_out|PID.activate_.y|PID.addI.k1|PID.addI.k2|PID.addI.u1|PID.addI.u2|PID.addI.y|PID.addPID.k1|PID.addPID.k2|PID.addPID.k3|PID.addPID.u1|PID.addPID.u2|PID.addPID.u3|PID.addPID.y|PID.addSat.u1|PID.addSat.u2|PID.addSat.y|PID.booleanPassThrough.u|PID.booleanPassThrough.y|PID.controlError|PID.controllerType|PID.feedback.u1|PID.feedback.u2|PID.feedback.y|PID.fromPU.k|PID.fromPU.u|PID.fromPU.y|PID.gainTrack.k|PID.gainTrack.u|PID.gainTrack.y|PID.initOption|PID.k|PID.limiter.homotopyType|PID.limiter.strict|PID.limiter.u|PID.limiter.uMax|PID.limiter.uMin|PID.limiter.y|PID.limitsAtInit|PID.perUnitConversion|PID.resetP.u1|PID.resetP.u2|PID.resetP.y|PID.resetPD.k1|PID.resetPD.k2|PID.resetPD.u1|PID.resetPD.u2|PID.resetPD.y|PID.sign|PID.smoothPIDInput.Tau|PID.smoothPIDInput.initOption|PID.smoothPIDInput.u|PID.smoothPIDInput.y|PID.smoothPIDInput.y_start|PID.smoothPIDOutput.Tau|PID.smoothPIDOutput.initOption|PID.smoothPIDOutput.u|PID.smoothPIDOutput.y|PID.smoothPIDOutput.y_start|PID.smoothPIDOutput1.Tau|PID.smoothPIDOutput1.initOption|PID.smoothPIDOutput1.u|PID.smoothPIDOutput1.y|PID.smoothPIDOutput1.y_start|PID.switch_OnOff.u1|PID.switch_OnOff.u2|PID.switch_OnOff.u3|PID.switch_OnOff.y|PID.switch_OnOff_I.u1|PID.switch_OnOff_I.u2|PID.switch_OnOff_I.u3|PID.switch_OnOff_I.y|PID.t_activation|PID.time_lag_I_activation.u|PID.time_lag_I_activation.y|PID.toPU.k|PID.toPU.u|PID.toPU.y|PID.u_m|PID.u_ref|PID.u_s|PID.use_activateInput|PID.xd_start|PID.xi_start|PID.y|PID.y_inactive|PID.y_max|PID.y_min|PID.y_ref|PID.y_start|PID.y_start_I.y|PID.y_unlocked.y|PID.y_unlocked1.y|PID.y_unlocked2.y|Time|Time_bak|add.k1|add.k2|add.u1|add.u2|add.y|booleanExpression.y|firstOrder.T|der.firstOrder.y.|firstOrder.initType|firstOrder.k|firstOrder.u|firstOrder.y|firstOrder.y_start|realExpression.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y",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.00125/0.00125, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.325/1.325, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 112.2 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08513/0.08513, allocations: 20.11 MB / 360.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9774/0.9774, allocations: 126.3 MB / 0.5296 GB, free: 14.98 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.88 kB / 0.6208 GB, free: 1.492 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3814, allocations: 81.15 MB / 0.7 GB, free: 33.53 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID): time 0.004395/0.3858, allocations: 3.486 MB / 0.7035 GB, free: 31.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3873, allocations: 0.942 MB / 0.7044 GB, free: 30.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.3876, allocations: 9.281 kB / 0.7044 GB, free: 30.41 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3877, allocations: 40.72 kB / 0.7044 GB, free: 30.38 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.388, allocations: 75.2 kB / 0.7045 GB, free: 30.33 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.3886, allocations: 261.5 kB / 0.7047 GB, free: 30.18 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.3891, allocations: 0.525 MB / 0.7053 GB, free: 29.93 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.3894, allocations: 200.6 kB / 0.7054 GB, free: 29.83 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3896, allocations: 171.6 kB / 0.7056 GB, free: 29.75 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.3898, allocations: 180 kB / 0.7058 GB, free: 29.64 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.3899, allocations: 23.38 kB / 0.7058 GB, free: 29.64 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.397e-05/0.3899, allocations: 21.88 kB / 0.7058 GB, free: 29.64 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.39, allocations: 76.27 kB / 0.7059 GB, free: 29.6 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.3902, allocations: 183.5 kB / 0.7061 GB, free: 29.47 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.3907, allocations: 453 kB / 0.7065 GB, free: 29.28 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3907, allocations: 1.172 kB / 0.7065 GB, free: 29.28 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3907, allocations: 0.5625 kB / 0.7065 GB, free: 29.28 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.3907, allocations: 7.031 kB / 0.7065 GB, free: 29.28 MB / 474.8 MB 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.001118/0.3919, allocations: 0.7152 MB / 0.7072 GB, free: 28.7 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3919, allocations: 9.125 kB / 0.7072 GB, free: 28.7 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.392, allocations: 49.81 kB / 0.7073 GB, free: 28.67 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.3924, allocations: 346.2 kB / 0.7076 GB, free: 28.34 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.3924, allocations: 29.03 kB / 0.7076 GB, free: 28.33 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.3925, allocations: 36.69 kB / 0.7077 GB, free: 28.32 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.3931, allocations: 387.7 kB / 0.708 GB, free: 28.06 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3931, allocations: 0.625 kB / 0.708 GB, free: 28.06 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3932, allocations: 12.12 kB / 0.708 GB, free: 28.05 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3932, allocations: 9.344 kB / 0.708 GB, free: 28.05 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.3937, allocations: 244.3 kB / 0.7083 GB, free: 27.95 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.3955, allocations: 1.244 MB / 0.7095 GB, free: 26.93 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.3961, allocations: 358.1 kB / 0.7098 GB, free: 26.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.3964, allocations: 148.7 kB / 0.71 GB, free: 26.61 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3964, allocations: 4.125 kB / 0.71 GB, free: 26.61 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.3968, allocations: 239.5 kB / 0.7102 GB, free: 26.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3968, allocations: 1.875 kB / 0.7102 GB, free: 26.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.0008038/0.3976, allocations: 406.6 kB / 0.7106 GB, free: 26.23 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.3977, allocations: 167.6 kB / 0.7108 GB, free: 26.04 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.398, allocations: 309.1 kB / 0.7111 GB, free: 25.83 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.398, allocations: 32.27 kB / 0.7111 GB, free: 25.79 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3982, allocations: 222.2 kB / 0.7113 GB, free: 25.59 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/0.3983, allocations: 119.9 kB / 0.7114 GB, free: 25.49 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3984, allocations: 71.17 kB / 0.7115 GB, free: 25.44 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.3984, allocations: 352.3 kB / 0.7118 GB, free: 25.09 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.3987, allocations: 120.2 kB / 0.7119 GB, free: 25.04 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.399, allocations: 197.2 kB / 0.7121 GB, free: 24.89 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4003, allocations: 0.54 MB / 0.7126 GB, free: 24.59 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4003, allocations: 6.062 kB / 0.7127 GB, free: 24.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007071/0.401, allocations: 389.6 kB / 0.713 GB, free: 24.39 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.401, allocations: 5.062 kB / 0.713 GB, free: 24.39 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.401, allocations: 2.75 kB / 0.713 GB, free: 24.39 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.401, allocations: 4.156 kB / 0.713 GB, free: 24.39 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4014, allocations: 83.25 kB / 0.7131 GB, free: 24.37 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4014, allocations: 6 kB / 0.7131 GB, free: 24.37 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4016, allocations: 40.22 kB / 0.7132 GB, free: 24.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.4016, allocations: 15.47 kB / 0.7132 GB, free: 24.34 MB / 474.8 MB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) "Connector of Boolean input signal" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003484/0.402, allocations: 225.4 kB / 0.7134 GB, free: 24.18 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002743/0.4023, allocations: 178.2 kB / 0.7136 GB, free: 24.05 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001048/0.4033, allocations: 0.5158 MB / 0.7141 GB, free: 23.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.4033, allocations: 0 / 0.7141 GB, free: 23.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0005632/0.4039, allocations: 370.2 kB / 0.7144 GB, free: 23.55 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4039, allocations: 5.781 kB / 0.7144 GB, free: 23.55 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4039, allocations: 2.719 kB / 0.7144 GB, free: 23.55 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-06/0.404, allocations: 6.812 kB / 0.7144 GB, free: 23.55 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.4043, allocations: 66.25 kB / 0.7145 GB, free: 23.54 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4043, allocations: 15.33 kB / 0.7145 GB, free: 23.53 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4045, allocations: 36.48 kB / 0.7145 GB, free: 23.51 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.4045, allocations: 14.12 kB / 0.7146 GB, free: 23.5 MB / 474.8 MB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false 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.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.4046, allocations: 203 kB / 0.7147 GB, free: 23.31 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4047, allocations: 38.25 kB / 0.7148 GB, free: 23.29 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.4048, allocations: 41.36 kB / 0.7148 GB, free: 23.26 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4048, allocations: 8.188 kB / 0.7148 GB, free: 23.25 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4048, allocations: 2.031 kB / 0.7148 GB, free: 23.25 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4048, allocations: 5.484 kB / 0.7148 GB, free: 23.25 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4058, allocations: 0.7914 MB / 0.7156 GB, free: 22.64 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4059, allocations: 5.906 kB / 0.7156 GB, free: 22.64 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.4062, allocations: 57.75 kB / 0.7157 GB, free: 22.62 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.4062, allocations: 8.062 kB / 0.7157 GB, free: 22.62 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.4062, allocations: 6.469 kB / 0.7157 GB, free: 22.62 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4063, allocations: 4 kB / 0.7157 GB, free: 22.62 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4063, allocations: 1.219 kB / 0.7157 GB, free: 22.62 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.4103, allocations: 3.044 MB / 0.7187 GB, free: 20.34 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.4104, allocations: 122.2 kB / 0.7188 GB, free: 20.21 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.4105, allocations: 8.125 kB / 0.7188 GB, free: 20.21 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.4107, allocations: 18.48 kB / 0.7188 GB, free: 20.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.4108, allocations: 26.22 kB / 0.7188 GB, free: 20.19 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4108, allocations: 15.52 kB / 0.7188 GB, free: 20.18 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001911/0.411, allocations: 224.4 kB / 0.7191 GB, free: 20.03 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.411, allocations: 0 / 0.7191 GB, free: 20.03 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00078/0.4118, allocations: 194.2 kB / 0.7192 GB, free: 19.98 MB / 474.8 MB 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.I.y,PID.D_approx.x,PID.smoothPIDInput.y_aux,PID.smoothPIDOutput.y_aux,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 (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.0001415/0.4119, allocations: 109.5 kB / 0.7194 GB, free: 19.89 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.4128, allocations: 467.8 kB / 0.7198 GB, free: 19.69 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4128, allocations: 1.406 kB / 0.7198 GB, free: 19.69 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4131, allocations: 143.2 kB / 0.7199 GB, free: 19.63 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.4136, allocations: 55.42 kB / 0.72 GB, free: 19.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.4151, allocations: 1.217 MB / 0.7212 GB, free: 18.67 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4154, allocations: 0.8158 MB / 0.722 GB, free: 17.92 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.4156, allocations: 51.38 kB / 0.722 GB, free: 17.89 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.4157, allocations: 34.97 kB / 0.7221 GB, free: 17.88 MB / 474.8 MB Notification: Performance of SimCode: time 4.31e-07/0.4157, allocations: 4 kB / 0.7221 GB, free: 17.88 MB / 474.8 MB Notification: Performance of Templates: time 0.007213/0.423, allocations: 4.032 MB / 0.726 GB, free: 14.89 MB / 474.8 MB 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 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches