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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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) 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.007279/0.00728, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001394/0.001394, allocations: 191.9 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06388/0.06388, allocations: 11.2 MB / 301.7 MB, free: 4.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 60.03 kB / 417.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09437, allocations: 51.98 MB / 469.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.005392/0.09982, allocations: 3.236 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.1026, allocations: 1.315 MB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.103, allocations: 19.81 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.1039, allocations: 222.6 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1043, allocations: 163 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1057, allocations: 0.5367 MB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1073, allocations: 1.282 MB / 476.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.1076, allocations: 144.8 kB / 476.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.1083, allocations: 434.6 kB / 476.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.109, allocations: 450 kB / 477.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.1092, allocations: 84 kB / 477.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.1095, allocations: 128 kB / 477.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.1098, allocations: 207.3 kB / 477.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006468/0.1104, allocations: 0.5176 MB / 478 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.1117, allocations: 0.9729 MB / 479 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1117, allocations: 0 / 479 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1117, allocations: 0 / 479 MB, free: 5.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1118, allocations: 0 / 479 MB, free: 5.281 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002446/0.1142, allocations: 1.363 MB / 480.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1143, allocations: 12.03 kB / 480.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.1145, allocations: 126.7 kB / 480.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.1147, allocations: 120.3 kB / 480.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1158, allocations: 0.6295 MB / 481.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.1159, allocations: 69.12 kB / 481.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1161, allocations: 95.95 kB / 481.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.1178, allocations: 0.9886 MB / 482.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.1178, allocations: 15.89 kB / 482.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.1179, allocations: 40 kB / 482.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1179, allocations: 19.94 kB / 482.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.1194, allocations: 0.6599 MB / 483.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.1242, allocations: 2.853 MB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.1266, allocations: 2.093 MB / 488.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.1288, allocations: 1.994 MB / 490.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.1289, allocations: 12.03 kB / 490.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.1301, allocations: 0.8559 MB / 490.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 2.915e-06/0.1301, allocations: 0 / 490.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=86): time 0.004176/0.1343, allocations: 2.262 MB / 493.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003251/0.1347, allocations: 405.3 kB / 493.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1356, allocations: 0.6951 MB / 494.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.1357, allocations: 57.7 kB / 494.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.1361, allocations: 384.9 kB / 494.7 MB, free: 5.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.1364, allocations: 270 kB / 495 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.1367, allocations: 238.4 kB / 495.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1369, allocations: 345.9 kB / 495.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.1374, allocations: 246.8 kB / 495.8 MB, free: 4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.1384, allocations: 0.8031 MB / 496.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.1415, allocations: 1.884 MB / 498.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/0.1416, allocations: 4 kB / 498.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.002586/0.1442, allocations: 1.445 MB / 499.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.1443, allocations: 101.1 kB / 0.4883 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.1443, allocations: 23.94 kB / 0.4883 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/0.1444, allocations: 28 kB / 0.4884 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.1451, allocations: 235.5 kB / 0.4886 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.184e-05/0.1451, allocations: 39.86 kB / 0.4886 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.1457, allocations: 151 kB / 0.4888 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.1458, allocations: 72 kB / 0.4888 GB, free: 14.62 MB / 382.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: 85 * Number of states: 0 () * Number of discrete variables: 123 ($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,ControllerPm70.satLOW_in,ControllerPm70.satHIGH_in,ControllerPm60.satLOW_in,ControllerPm60.satHIGH_in,ControllerPm45.satLOW_in,ControllerPm45.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * 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.001018/0.1468, allocations: 0.6196 MB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.147, allocations: 111.5 kB / 0.4895 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1472, allocations: 76.44 kB / 0.4896 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1472, allocations: 4 kB / 0.4896 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.1472, allocations: 3.984 kB / 0.4896 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1472, allocations: 4 kB / 0.4896 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.1482, allocations: 0.7553 MB / 0.4904 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1482, allocations: 0 / 0.4904 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.1486, allocations: 67.89 kB / 0.4904 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1486, allocations: 4 kB / 0.4904 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.1487, allocations: 59.91 kB / 0.4905 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1487, allocations: 0 / 0.4905 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.1487, allocations: 0 / 0.4905 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/0.1531, allocations: 2.618 MB / 0.4931 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1534, allocations: 156.5 kB / 0.4932 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.1536, allocations: 63.94 kB / 0.4933 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/0.1544, allocations: 127.9 kB / 0.4934 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1545, allocations: 31.95 kB / 0.4934 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.1546, allocations: 59.95 kB / 0.4935 GB, free: 9.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005746/0.1552, allocations: 443 kB / 0.4939 GB, free: 9.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1552, allocations: 7.938 kB / 0.4939 GB, free: 9.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009671/0.1562, allocations: 263.7 kB / 0.4942 GB, free: 9.02 MB / 382.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.006387/0.1626, allocations: 3.577 MB / 0.4976 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.1651, allocations: 1.273 MB / 0.4989 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1651, allocations: 0.8125 kB / 0.4989 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003979/0.1691, allocations: 3.733 MB / 0.5025 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.1699, allocations: 158.6 kB / 0.5027 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/0.4159, allocations: 8.353 MB / 0.5108 GB, free: 40.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.4164, allocations: 0.9958 MB / 0.5118 GB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.4169, allocations: 160.2 kB / 0.512 GB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.4172, allocations: 294 kB / 0.5123 GB, free: 39.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4172, allocations: 0 / 0.5123 GB, free: 39.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/0.465, allocations: 17.84 MB / 0.5297 GB, free: 30.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.691/10.16, allocations: 11.09 kB / 0.5297 GB, free: 30.44 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)