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.00116/0.001164, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05872/0.05872, allocations: 10.74 MB / 280.5 MB, free: 10.49 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.91 kB / 340.7 MB, free: 23.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08938, allocations: 49.01 MB / 389.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.005703/0.09513, allocations: 3.178 MB / 392.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.0979, allocations: 1.158 MB / 394 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.09836, allocations: 23.81 kB / 394 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009003/0.09927, allocations: 210.8 kB / 394.2 MB, free: 1.535 MB / 286.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.0004257/0.09971, allocations: 151 kB / 394.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1007, allocations: 499 kB / 394.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.1019, allocations: 1.226 MB / 396.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.1021, allocations: 141.1 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.1026, allocations: 422.8 kB / 396.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.1031, allocations: 426.2 kB / 397.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.1033, allocations: 84 kB / 397.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1035, allocations: 131.9 kB / 397.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1037, allocations: 191.3 kB / 397.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.1042, allocations: 0.5022 MB / 398 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.105, allocations: 0.8994 MB / 398.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.105, allocations: 3.984 kB / 398.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.105, allocations: 0 / 398.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1051, allocations: 4 kB / 398.9 MB, free: 12.89 MB / 302.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.00199/0.1071, allocations: 1.294 MB / 400.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1071, allocations: 8.031 kB / 400.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.1073, allocations: 126.7 kB / 400.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.1075, allocations: 115.8 kB / 400.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.1082, allocations: 0.5705 MB / 401 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.1083, allocations: 61.12 kB / 401 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1084, allocations: 91.91 kB / 401.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.11, allocations: 0.9281 MB / 402.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.11, allocations: 4 kB / 402.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.1101, allocations: 40 kB / 402.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1101, allocations: 12 kB / 402.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1112, allocations: 0.6366 MB / 402.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1151, allocations: 2.316 MB / 405.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.1172, allocations: 2.099 MB / 407.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.1192, allocations: 1.998 MB / 409.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1192, allocations: 4 kB / 409.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.1204, allocations: 0.8479 MB / 410 MB, free: 1.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/0.1204, allocations: 0 / 410 MB, free: 1.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004056/0.1245, allocations: 2.253 MB / 412.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004024/0.1249, allocations: 413.3 kB / 412.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.1258, allocations: 0.6442 MB / 413.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.126, allocations: 61.69 kB / 413.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.1262, allocations: 356.1 kB / 413.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.1265, allocations: 252.8 kB / 414 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.1268, allocations: 218.5 kB / 414.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.1271, allocations: 357.9 kB / 414.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.1276, allocations: 230.9 kB / 414.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.1289, allocations: 0.7772 MB / 415.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.132, allocations: 1.82 MB / 417.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/0.132, allocations: 4 kB / 417.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002532/0.1345, allocations: 1.403 MB / 418.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.1346, allocations: 109.1 kB / 418.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.1347, allocations: 19.98 kB / 418.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.179e-05/0.1347, allocations: 32 kB / 418.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.1354, allocations: 232.2 kB / 419.1 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.381e-05/0.1355, allocations: 43.86 kB / 419.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.136, allocations: 130.7 kB / 419.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.1361, allocations: 71.98 kB / 419.4 MB, free: 7.352 MB / 318.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.001108/0.1372, allocations: 0.5994 MB / 420 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.1376, allocations: 111 kB / 420.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.1377, allocations: 72.11 kB / 420.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1377, allocations: 4 kB / 420.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1377, allocations: 0 / 420.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1377, allocations: 0 / 420.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.139, allocations: 0.7357 MB / 420.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.139, allocations: 0 / 420.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.1394, allocations: 67.88 kB / 421 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1394, allocations: 4 kB / 421 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.1395, allocations: 63.97 kB / 421 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1395, allocations: 0 / 421 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1395, allocations: 0 / 421 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.1443, allocations: 2.613 MB / 423.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.1445, allocations: 152.2 kB / 423.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.1447, allocations: 64 kB / 423.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.1456, allocations: 123.9 kB / 424 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1457, allocations: 39.95 kB / 424 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.1458, allocations: 47.98 kB / 424.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005142/0.1464, allocations: 427 kB / 424.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1464, allocations: 0 / 424.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009436/0.1473, allocations: 259.7 kB / 424.7 MB, free: 1.848 MB / 318.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.1844/0.3317, allocations: 3.568 MB / 428.3 MB, free: 42.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.3342, allocations: 1.307 MB / 429.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3342, allocations: 0 / 429.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.3367, allocations: 3.731 MB / 433.3 MB, free: 39.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.3375, allocations: 155.7 kB / 433.5 MB, free: 39.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.3486, allocations: 8.39 MB / 441.9 MB, free: 34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.3492, allocations: 0.9755 MB / 442.9 MB, free: 33.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.3496, allocations: 157.1 kB / 443 MB, free: 33.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3499, allocations: 283.8 kB / 443.3 MB, free: 33.05 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3499, allocations: 0 / 443.3 MB, free: 33.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.3889, allocations: 17.17 MB / 460.5 MB, free: 20.33 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.426, allocations: 12.36 kB / 460.5 MB, free: 20.32 MB / 318.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe 2>&1)