Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007587/0.007587, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.001871/0.001871, allocations: 196 kB / 16.68 MB, free: 5.93 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.652/1.652, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06468/0.06468, allocations: 10.74 MB / 280.7 MB, free: 10.39 MB / 238.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.002227/0.002227, allocations: 70.66 kB / 390.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3609, allocations: 49.02 MB / 439.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.004928/0.3658, allocations: 3.187 MB / 442.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.3685, allocations: 1.143 MB / 443.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.3689, allocations: 20.78 kB / 443.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.3698, allocations: 222.1 kB / 443.9 MB, free: 1.922 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000519/0.3704, allocations: 153.1 kB / 444.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3719, allocations: 0.489 MB / 444.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.3735, allocations: 1.14 MB / 445.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.3739, allocations: 103.7 kB / 445.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007016/0.3746, allocations: 426.6 kB / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.3753, allocations: 435.1 kB / 446.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.3755, allocations: 87.42 kB / 446.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.3758, allocations: 124.2 kB / 446.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.3761, allocations: 197.7 kB / 447.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.3765, allocations: 485.7 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3779, allocations: 0.9329 MB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3779, allocations: 0 / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3779, allocations: 0 / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3779, allocations: 1.312 kB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002691/0.3806, allocations: 1.327 MB / 449.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3807, allocations: 10.66 kB / 449.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.3809, allocations: 121.8 kB / 449.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.3812, allocations: 124 kB / 450.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3823, allocations: 0.6055 MB / 450.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.3824, allocations: 60.28 kB / 450.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3825, allocations: 90.09 kB / 450.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.3842, allocations: 0.9212 MB / 451.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.3843, allocations: 14.81 kB / 451.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3844, allocations: 40.5 kB / 451.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3844, allocations: 10.88 kB / 451.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.386, allocations: 0.6343 MB / 452.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/0.3923, allocations: 2.299 MB / 454.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.3942, allocations: 0.6971 MB / 455.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.3955, allocations: 0.5962 MB / 456 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.3955, allocations: 7.25 kB / 456 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.3972, allocations: 0.8546 MB / 456.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 3.286e-06/0.3972, allocations: 4 kB / 456.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.00536/0.4026, allocations: 2.307 MB / 459.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003814/0.403, allocations: 407.8 kB / 459.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.4041, allocations: 0.648 MB / 460.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.4042, allocations: 61.78 kB / 460.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.4046, allocations: 362.3 kB / 460.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.4048, allocations: 262.1 kB / 460.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.4052, allocations: 218.6 kB / 461.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4054, allocations: 357.8 kB / 461.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.4058, allocations: 242.8 kB / 461.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.4068, allocations: 0.7616 MB / 462.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.4109, allocations: 1.828 MB / 464.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.4109, allocations: 4 kB / 464.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003579/0.4145, allocations: 1.413 MB / 465.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.4146, allocations: 109.1 kB / 465.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.4146, allocations: 16 kB / 465.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.505e-05/0.4147, allocations: 24 kB / 465.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4158, allocations: 235.5 kB / 466.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.868e-05/0.4158, allocations: 35.86 kB / 466.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.4167, allocations: 139.1 kB / 466.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4168, allocations: 68 kB / 466.3 MB, free: 1.145 MB / 334.1 MB Warning: Assuming fixed start value for the following 57 variables: ControllerPm70.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm70.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm70.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.e:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm60.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm60.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.e:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm45.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm45.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.e:DISCRETE(fixed = true protected = true ) type: Real ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessPm70.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessPm60.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm70.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real ControllerPm60.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real ControllerPm45.CS:DISCRETE(flow=false fixed = true ) "Control signal" type: Real ProcessPm45.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessPm45.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 117 ($PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$PRE.ControllerPm70.nOx,ControllerPm70.nOx,$PRE.ControllerPm70.lastToggleUp,ControllerPm70.lastToggleUp,$PRE.ControllerPm70.rCSmin,ControllerPm70.rCSmin,$PRE.ControllerPm70.rCSmax,ControllerPm70.rCSmax,$PRE.ControllerPm70.rPVmin,ControllerPm70.rPVmin,$PRE.ControllerPm70.rPVmax,ControllerPm70.rPVmax,$PRE.ControllerPm70.Pox,ControllerPm70.Pox,$PRE.ControllerPm70.wox,ControllerPm70.wox,$PRE.ControllerPm70.CSi,ControllerPm70.CSi,$PRE.ControllerPm70.CSp,ControllerPm70.CSp,$PRE.ControllerPm70.e,ControllerPm70.e,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.UP,$PRE.ControllerPm60.nOx,ControllerPm60.nOx,$PRE.ControllerPm60.lastToggleUp,ControllerPm60.lastToggleUp,$PRE.ControllerPm60.rCSmin,ControllerPm60.rCSmin,$PRE.ControllerPm60.rCSmax,ControllerPm60.rCSmax,$PRE.ControllerPm60.rPVmin,ControllerPm60.rPVmin,$PRE.ControllerPm60.rPVmax,ControllerPm60.rPVmax,$PRE.ControllerPm60.Pox,ControllerPm60.Pox,$PRE.ControllerPm60.wox,ControllerPm60.wox,$PRE.ControllerPm60.CSi,ControllerPm60.CSi,$PRE.ControllerPm60.CSp,ControllerPm60.CSp,$PRE.ControllerPm60.e,ControllerPm60.e,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$PRE.ControllerPm45.nOx,ControllerPm45.nOx,$PRE.ControllerPm45.lastToggleUp,ControllerPm45.lastToggleUp,$PRE.ControllerPm45.rCSmin,ControllerPm45.rCSmin,$PRE.ControllerPm45.rCSmax,ControllerPm45.rCSmax,$PRE.ControllerPm45.rPVmin,ControllerPm45.rPVmin,$PRE.ControllerPm45.rPVmax,ControllerPm45.rPVmax,$PRE.ControllerPm45.Pox,ControllerPm45.Pox,$PRE.ControllerPm45.wox,ControllerPm45.wox,$PRE.ControllerPm45.CSi,ControllerPm45.CSi,$PRE.ControllerPm45.CSp,ControllerPm45.CSp,$PRE.ControllerPm45.e,ControllerPm45.e,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition7,$PRE.ControllerPm70.CS,$PRE.ControllerPm60.CS,$PRE.ControllerPm45.CS,ControllerPm70.CS,ControllerPm60.CS,ControllerPm45.CS,ControllerPm70.iMode,$PRE.ControllerPm70.iMode,ControllerPm70.TI,$PRE.ControllerPm70.TI,ControllerPm70.K,$PRE.ControllerPm70.K,ControllerPm70.at_req,ControllerPm60.iMode,$PRE.ControllerPm60.iMode,ControllerPm60.TI,$PRE.ControllerPm60.TI,ControllerPm60.K,$PRE.ControllerPm60.K,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.iMode,$PRE.ControllerPm45.iMode,ControllerPm45.TI,$PRE.ControllerPm45.TI,ControllerPm45.K,$PRE.ControllerPm45.K,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ControllerPm70.TS_in,ControllerPm60.TS_in,ControllerPm45.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 3 * 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.001386/0.4182, allocations: 0.6072 MB / 466.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.4185, allocations: 111.5 kB / 467 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.4187, allocations: 72.09 kB / 467.1 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4187, allocations: 4 kB / 467.1 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.4187, allocations: 4 kB / 467.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.4187, allocations: 8 kB / 467.1 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.42, allocations: 0.7397 MB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.42, allocations: 0 / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.4206, allocations: 67.89 kB / 467.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4207, allocations: 0 / 467.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.4208, allocations: 59.97 kB / 468 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4208, allocations: 0 / 468 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4208, allocations: 0 / 468 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/0.427, allocations: 2.672 MB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.4273, allocations: 164.5 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.4276, allocations: 60 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.4289, allocations: 119.9 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.429, allocations: 35.95 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.4292, allocations: 51.98 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008001/0.43, allocations: 427 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.43, allocations: 4 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001388/0.4313, allocations: 251.8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 61 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,ControllerPm45.CS,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.iMode,ControllerPm45.UP,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.e,ControllerPm45.CSp,ControllerPm45.CSi,ControllerPm45.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.CS,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.iMode,ControllerPm60.UP,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.e,ControllerPm60.CSp,ControllerPm60.CSi,ControllerPm60.nOx,ControllerPm70.at_req,ControllerPm70.CS,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.iMode,ControllerPm70.UP,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.e,ControllerPm70.CSp,ControllerPm70.CSi,ControllerPm70.nOx) * Number of discrete states: 59 (ControllerPm45.period,ControllerPm45.UP,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.CS,ControllerPm45.CSi,ControllerPm45.CSp,ControllerPm45.e,$whenCondition2,$whenCondition1,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.CS,ControllerPm60.CSi,ControllerPm60.CSp,ControllerPm60.e,$whenCondition4,$whenCondition3,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.CS,ControllerPm70.CSi,ControllerPm70.CSp,ControllerPm70.e,$whenCondition6,$whenCondition5,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.008557/0.4399, allocations: 3.628 MB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.4427, allocations: 1.179 MB / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4427, allocations: 0 / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.4444, allocations: 1 MB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.4453, allocations: 151 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.4588, allocations: 8.116 MB / 485.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/0.4596, allocations: 0.9775 MB / 486.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004855/0.4601, allocations: 154.3 kB / 487 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.4605, allocations: 275.3 kB / 487.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4605, allocations: 0 / 487.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.5157, allocations: 17.51 MB / 0.4929 GB, free: 9.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.728/10.24, allocations: 0 / 0.4929 GB, free: 9.871 MB / 382.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe 2>&1)