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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04168/0.04168, allocations: 8.607 MB / 267.8 MB, free: 5.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.794e-05, allocations: 6.219 kB / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.003418/0.003436, allocations: 3.063 MB / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005453, allocations: 1.393 MB / 399.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.005682, allocations: 27.75 kB / 399.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.006292, allocations: 242.4 kB / 399.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.006756, allocations: 202.8 kB / 400 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.007691, allocations: 0.5646 MB / 400.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.008771, allocations: 1.145 MB / 401.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.008995, allocations: 101.4 kB / 401.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.009608, allocations: 0.5808 MB / 402.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.01002, allocations: 355 kB / 402.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.01014, allocations: 88 kB / 402.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.01036, allocations: 139.8 kB / 403 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.01057, allocations: 207.2 kB / 403.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.01094, allocations: 343.7 kB / 403.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.01199, allocations: 1.052 MB / 404.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01199, allocations: 0 / 404.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01199, allocations: 0 / 404.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.01201, allocations: 0 / 404.5 MB, free: 9.145 MB / 378.7 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.002081/0.01409, allocations: 1.284 MB / 405.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.01414, allocations: 12.03 kB / 405.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.01429, allocations: 126.7 kB / 406 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.0145, allocations: 124.3 kB / 406.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.01534, allocations: 0.5594 MB / 406.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.0154, allocations: 69.36 kB / 406.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.01552, allocations: 96.33 kB / 406.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.01701, allocations: 1.153 MB / 408 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.01704, allocations: 11.89 kB / 408 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.01712, allocations: 48 kB / 408 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.01714, allocations: 12 kB / 408 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.01833, allocations: 0.8094 MB / 408.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.0218, allocations: 2.634 MB / 411.5 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.0229, allocations: 0.8516 MB / 412.3 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/0.02375, allocations: 0.7491 MB / 413.1 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.02378, allocations: 12.02 kB / 413.1 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.02487, allocations: 1.013 MB / 414.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=86): time 2.074e-06/0.02487, allocations: 0 / 414.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.002729/0.0276, allocations: 2.501 MB / 416.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.02774, allocations: 383.6 kB / 417 MB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.02823, allocations: 0.7068 MB / 417.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.02828, allocations: 65.69 kB / 417.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.02847, allocations: 392.8 kB / 418.1 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.0286, allocations: 262 kB / 418.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.02877, allocations: 230.6 kB / 418.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02888, allocations: 353.9 kB / 419 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.02917, allocations: 332 kB / 419.3 MB, free: 9.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.02977, allocations: 0.9222 MB / 420.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.03158, allocations: 1.891 MB / 422.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/0.03161, allocations: 4 kB / 422.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.001569/0.03318, allocations: 1.557 MB / 423.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.03323, allocations: 105 kB / 423.8 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.03325, allocations: 20.88 kB / 423.8 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.03328, allocations: 28 kB / 423.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.03367, allocations: 239.5 kB / 424 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.0337, allocations: 43.8 kB / 424.1 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.03401, allocations: 147 kB / 424.2 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.03407, allocations: 67.94 kB / 424.3 MB, free: 4.156 MB / 394.7 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.0005246/0.03459, allocations: 0.6157 MB / 424.9 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.03469, allocations: 115.5 kB / 425 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.03671, allocations: 2.109 MB / 427.1 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03671, allocations: 4 kB / 427.1 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.03672, allocations: 7.938 kB / 427.1 MB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.03673, allocations: 3.938 kB / 427.1 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.03719, allocations: 0.5908 MB / 427.7 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.03719, allocations: 0 / 427.7 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.0374, allocations: 67.91 kB / 427.8 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.03741, allocations: 4 kB / 427.8 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.03748, allocations: 55.97 kB / 427.9 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.03748, allocations: 7.969 kB / 427.9 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03748, allocations: 3.938 kB / 427.9 MB, free: 464 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.04012, allocations: 2.881 MB / 430.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.04019, allocations: 87.39 kB / 430.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.04031, allocations: 59.98 kB / 430.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.04071, allocations: 131.8 kB / 431 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.04079, allocations: 39.88 kB / 431.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.04085, allocations: 55.97 kB / 431.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003433/0.04119, allocations: 447 kB / 431.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04119, allocations: 0 / 431.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005936/0.04179, allocations: 267.7 kB / 431.8 MB, free: 12.43 MB / 410.7 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.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.003634/0.04542, allocations: 3.869 MB / 435.7 MB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.04672, allocations: 1.468 MB / 437.2 MB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.04672, allocations: 0.875 kB / 437.2 MB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008679/0.04759, allocations: 1.183 MB / 438.3 MB, free: 5.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.048, allocations: 153.4 kB / 438.5 MB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/0.1928, allocations: 8.886 MB / 447.4 MB, free: 84.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.193, allocations: 397.3 kB / 447.8 MB, free: 84.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1932, allocations: 163.5 kB / 447.9 MB, free: 84.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.1934, allocations: 289.4 kB / 448.2 MB, free: 84.29 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1934, allocations: 0 / 448.2 MB, free: 84.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.2203, allocations: 19.4 MB / 467.6 MB, free: 81.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.743, allocations: 3.938 kB / 467.6 MB, free: 81.02 MB / 410.7 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.7513785418123] Failed to read output from testmodel.py, exit status != 0: 7.851861226372421 7.860275897 7.846501812 Calling exit ...