Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.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_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",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.008212/0.008212, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001763/0.001763, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1724/0.1724, allocations: 11.18 MB / 301.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 417.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 51.96 MB / 469.3 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode): time 0.005026/0.3108, allocations: 3.256 MB / 472.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3139, allocations: 1.345 MB / 473.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.3145, allocations: 21.75 kB / 473.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3156, allocations: 229.9 kB / 474.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.3162, allocations: 154.3 kB / 474.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.3178, allocations: 0.5705 MB / 474.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.3191, allocations: 1.274 MB / 476.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3194, allocations: 165.2 kB / 476.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.3199, allocations: 444.1 kB / 476.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.3204, allocations: 448.4 kB / 477.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3206, allocations: 88.5 kB / 477.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.321, allocations: 133.1 kB / 477.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.3212, allocations: 227.4 kB / 477.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.3217, allocations: 0.4969 MB / 478.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.3227, allocations: 0.9946 MB / 479.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3228, allocations: 4 kB / 479.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3228, allocations: 0 / 479.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.3228, allocations: 1.375 kB / 479.1 MB, free: 10.21 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002241/0.325, allocations: 1.402 MB / 480.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3251, allocations: 10.53 kB / 480.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.3253, allocations: 131.2 kB / 480.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.3255, allocations: 128.3 kB / 480.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.3264, allocations: 0.6408 MB / 481.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3266, allocations: 146.2 kB / 481.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.3267, allocations: 95.19 kB / 481.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3283, allocations: 1.013 MB / 482.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.3284, allocations: 8.297 kB / 482.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.3285, allocations: 44.31 kB / 482.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3285, allocations: 17.09 kB / 482.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3297, allocations: 0.6876 MB / 483.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.3335, allocations: 2.823 MB / 486.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3354, allocations: 1.844 MB / 488.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.337, allocations: 1.729 MB / 489.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.337, allocations: 12.55 kB / 489.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.3384, allocations: 1.156 MB / 491 MB, free: 1.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.366e-06/0.3384, allocations: 4 kB / 491 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.003607/0.342, allocations: 2.255 MB / 493.3 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000305/0.3424, allocations: 0.5541 MB / 493.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3435, allocations: 0.6834 MB / 494.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/0.3436, allocations: 57.55 kB / 494.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.344, allocations: 397.1 kB / 494.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.3443, allocations: 301.7 kB / 495.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.3446, allocations: 254.8 kB / 495.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3449, allocations: 353.9 kB / 495.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.3454, allocations: 295.1 kB / 496.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3465, allocations: 0.7879 MB / 496.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.3505, allocations: 2.241 MB / 499.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/0.3506, allocations: 11.94 kB / 499.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002797/0.3534, allocations: 1.554 MB / 0.489 GB, free: 8.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3535, allocations: 109.1 kB / 0.4891 GB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.3535, allocations: 16 kB / 0.4891 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.838e-05/0.3536, allocations: 23.94 kB / 0.4891 GB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000818/0.3544, allocations: 255.5 kB / 0.4894 GB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.187e-05/0.3545, allocations: 31.92 kB / 0.4894 GB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.3552, allocations: 151.4 kB / 0.4895 GB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3553, allocations: 68 kB / 0.4896 GB, free: 8.066 MB / 366.1 MB Warning: Assuming fixed start value for the following 54 variables: 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.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.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.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.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.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = true protected = true ) type: Boolean ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm45.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm60.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm70.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real 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] ControllerPm70.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.iMode:DISCRETE(fixed = true ) type: Integer 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] ControllerPm60.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.iMode:DISCRETE(fixed = true ) type: Integer 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] ControllerPm45.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.iMode:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 120 ($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.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.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.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.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.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition13,$PRE.ControllerPm70.AT,$PRE.ControllerPm70.CSat,$PRE.ControllerPm70.TI,$PRE.ControllerPm70.K,$PRE.ControllerPm70.iMode,$PRE.ControllerPm60.AT,$PRE.ControllerPm60.CSat,$PRE.ControllerPm60.TI,$PRE.ControllerPm60.K,$PRE.ControllerPm60.iMode,$PRE.ControllerPm45.AT,$PRE.ControllerPm45.CSat,$PRE.ControllerPm45.TI,$PRE.ControllerPm45.K,$PRE.ControllerPm45.iMode,ControllerPm70.AT,ControllerPm70.CSat,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ControllerPm70.at_req,ControllerPm60.AT,ControllerPm60.CSat,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.AT,ControllerPm45.CSat,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition14,$whenCondition15,$whenCondition16,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 (184): * Single equations (assignments): 181 * 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.001182/0.3565, allocations: 0.6018 MB / 0.4902 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.3567, allocations: 127.4 kB / 0.4903 GB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.3569, allocations: 80.81 kB / 0.4904 GB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.357, allocations: 4 kB / 0.4904 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.357, allocations: 0 / 0.4904 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.357, allocations: 11.86 kB / 0.4904 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.3616, allocations: 2.853 MB / 0.4932 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3616, allocations: 0 / 0.4932 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.3622, allocations: 99.88 kB / 0.4933 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3622, allocations: 4 kB / 0.4933 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.3623, allocations: 55.97 kB / 0.4933 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.3623, allocations: 4 kB / 0.4934 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3623, allocations: 3.938 kB / 0.4934 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004734/0.3671, allocations: 2.732 MB / 0.496 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.3674, allocations: 172.4 kB / 0.4962 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.3676, allocations: 59.98 kB / 0.4962 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.3685, allocations: 123.9 kB / 0.4964 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.3687, allocations: 68.36 kB / 0.4964 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.3689, allocations: 59.97 kB / 0.4965 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006068/0.3695, allocations: 439 kB / 0.4969 GB, free: 432 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3695, allocations: 0 / 0.4969 GB, free: 432 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001042/0.3705, allocations: 279.7 kB / 0.4972 GB, free: 152 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (ControllerPm45.linFBout,ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ControllerPm60.linFBout,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ControllerPm70.linFBout,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 64 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,ControllerPm45.iMode,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.CSat,ControllerPm45.AT,ControllerPm45.UP,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.iMode,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.CSat,ControllerPm60.AT,ControllerPm60.UP,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.nOx,ControllerPm70.at_req,ControllerPm70.iMode,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.CSat,ControllerPm70.AT,ControllerPm70.UP,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.nOx) * Number of discrete states: 65 (ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.CSat,$whenCondition10,ControllerPm70.iMode,$whenCondition9,ControllerPm70.AT,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.CSpi,ControllerPm70.PV,$whenCondition8,$whenCondition7,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.CSat,$whenCondition6,ControllerPm60.iMode,$whenCondition5,ControllerPm60.AT,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.CSpi,ControllerPm60.PV,$whenCondition4,$whenCondition3,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.UP,ControllerPm45.CSat,$whenCondition2,ControllerPm45.iMode,$whenCondition1,ControllerPm45.AT,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.CSpi,ControllerPm45.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 42 * 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.006711/0.3773, allocations: 3.71 MB / 0.5008 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.38, allocations: 1.421 MB / 0.5022 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.38, allocations: 0 / 0.5022 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.3836, allocations: 3.56 MB / 0.5057 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.3845, allocations: 156.2 kB / 0.5058 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.3981, allocations: 8.671 MB / 0.5143 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/0.3989, allocations: 1.018 MB / 0.5153 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.3995, allocations: 162.6 kB / 0.5154 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/0.3999, allocations: 319.3 kB / 0.5157 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3999, allocations: 0 / 0.5157 GB, free: 12.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.4539, allocations: 18.31 MB / 0.5336 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.729/10.18, allocations: 448 / 0.5336 GB, free: 10.44 MB / 414.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode_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_ATPIrelayNCmixedMode.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe 2>&1)