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.009124/0.009124, allocations: 97.27 kB / 15.73 MB, free: 6.035 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.002033/0.002033, allocations: 202 kB / 16.68 MB, free: 5.961 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.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06092/0.06092, allocations: 10.75 MB / 280.6 MB, free: 1.285 MB / 222.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.001491/0.001491, allocations: 69.72 kB / 390.3 MB, free: 46.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08573, allocations: 49.03 MB / 439.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.003854/0.08962, allocations: 3.168 MB / 442.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.09155, allocations: 1.139 MB / 443.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.09201, allocations: 23.81 kB / 443.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000882/0.09291, allocations: 222.7 kB / 443.9 MB, free: 15.73 MB / 334.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.0006208/0.09354, allocations: 147 kB / 444.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.09493, allocations: 498.8 kB / 444.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.09648, allocations: 1.238 MB / 445.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.09685, allocations: 153 kB / 445.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007247/0.09758, allocations: 430.7 kB / 446.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.09824, allocations: 426.3 kB / 446.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.09844, allocations: 84 kB / 446.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.09875, allocations: 131.9 kB / 447 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.099, allocations: 187.4 kB / 447.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.09951, allocations: 0.5061 MB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1006, allocations: 0.9337 MB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1007, allocations: 4 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1007, allocations: 4 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.1007, allocations: 0 / 448.6 MB, free: 11.02 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.002161/0.1029, allocations: 1.317 MB / 449.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1029, allocations: 12.03 kB / 449.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.1031, allocations: 122.7 kB / 450.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.1033, allocations: 116.3 kB / 450.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009651/0.1042, allocations: 0.6099 MB / 450.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.1043, allocations: 61.12 kB / 450.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1045, allocations: 92 kB / 450.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1059, allocations: 0.9203 MB / 451.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.106, allocations: 15.94 kB / 451.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.1061, allocations: 40 kB / 451.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1061, allocations: 12 kB / 451.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1073, allocations: 0.6405 MB / 452.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.1116, allocations: 2.29 MB / 454.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.1138, allocations: 2.108 MB / 457 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.1158, allocations: 1.998 MB / 459 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.1158, allocations: 4.266 kB / 459 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.1172, allocations: 0.8596 MB / 459.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 3.537e-06/0.1172, allocations: 0 / 459.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=86): time 0.003821/0.121, allocations: 2.254 MB / 462.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/0.1213, allocations: 409.3 kB / 462.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/0.1222, allocations: 0.6483 MB / 463.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.1223, allocations: 57.7 kB / 463.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.1226, allocations: 360.9 kB / 463.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.1229, allocations: 266 kB / 463.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.1232, allocations: 222.6 kB / 464 MB, free: 11.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1234, allocations: 345.9 kB / 464.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.1239, allocations: 242.8 kB / 464.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/0.1248, allocations: 0.7694 MB / 465.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.1276, allocations: 1.827 MB / 467.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/0.1277, allocations: 8 kB / 467.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002376/0.1301, allocations: 1.417 MB / 468.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.1302, allocations: 105.1 kB / 468.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.1302, allocations: 16 kB / 468.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/0.1303, allocations: 24 kB / 468.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.131, allocations: 231.5 kB / 469 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.401e-05/0.1311, allocations: 39.86 kB / 469 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.1317, allocations: 135.1 kB / 469.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.1318, allocations: 64.25 kB / 469.2 MB, free: 5.406 MB / 350.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.0009922/0.1328, allocations: 0.615 MB / 469.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.133, allocations: 115.4 kB / 469.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1332, allocations: 72.11 kB / 470 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1332, allocations: 4 kB / 470 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1332, allocations: 4 kB / 470 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1332, allocations: 3.984 kB / 470 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.134, allocations: 0.7358 MB / 470.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.134, allocations: 0 / 470.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.1344, allocations: 67.89 kB / 470.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1344, allocations: 0 / 470.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.1346, allocations: 59.97 kB / 470.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1346, allocations: 0 / 470.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1346, allocations: 0 / 470.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.1388, allocations: 2.613 MB / 473.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.1391, allocations: 164.5 kB / 473.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.1393, allocations: 56 kB / 473.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.1402, allocations: 131.8 kB / 473.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1403, allocations: 27.97 kB / 473.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.1404, allocations: 59.97 kB / 473.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005078/0.1409, allocations: 427 kB / 474.3 MB, free: 132 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1409, allocations: 0 / 474.3 MB, free: 132 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001124/0.1421, allocations: 255.8 kB / 474.6 MB, free: 15.88 MB / 366.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.005774/0.1478, allocations: 3.572 MB / 478.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.1501, allocations: 1.262 MB / 479.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1501, allocations: 0 / 479.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.1532, allocations: 3.73 MB / 483.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.1541, allocations: 162.3 kB / 483.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.1654, allocations: 8.116 MB / 491.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.1661, allocations: 0.9697 MB / 492.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.1665, allocations: 158.3 kB / 492.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.1669, allocations: 275.3 kB / 492.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.1669, allocations: 4 kB / 492.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.2132, allocations: 17.46 MB / 0.4983 GB, free: 11.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.346/9.559, allocations: 448 / 0.4983 GB, free: 11.54 MB / 398.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)