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.002434/0.002433, allocations: 108 kB / 15.6 MB, free: 132 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.002843/0.002843, allocations: 191.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.672/3.672, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0996/0.0996, allocations: 10.74 MB / 280.5 MB, free: 10.52 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.002967/0.002967, allocations: 68.41 kB / 340.6 MB, free: 23.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1451, allocations: 49.02 MB / 389.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.009724/0.1549, allocations: 3.189 MB / 392.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.1596, allocations: 1.147 MB / 394 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.1603, allocations: 19.88 kB / 394 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.1617, allocations: 214.8 kB / 394.2 MB, free: 1.574 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.0009989/0.1627, allocations: 155 kB / 394.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.1652, allocations: 0.4912 MB / 394.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.1679, allocations: 1.226 MB / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.1685, allocations: 141 kB / 396.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.1697, allocations: 418.7 kB / 396.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1709, allocations: 426.3 kB / 397.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.1713, allocations: 84 kB / 397.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006072/0.1719, allocations: 132 kB / 397.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.1724, allocations: 191.3 kB / 397.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.1734, allocations: 0.4983 MB / 398 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.1753, allocations: 0.9111 MB / 398.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1754, allocations: 0 / 398.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1754, allocations: 0 / 398.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.683e-05/0.1754, allocations: 0 / 398.9 MB, free: 12.92 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.004161/0.1796, allocations: 1.29 MB / 400.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.1797, allocations: 8.031 kB / 400.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/0.18, allocations: 126.7 kB / 400.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.1804, allocations: 115.8 kB / 400.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.1821, allocations: 0.5744 MB / 401 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.1823, allocations: 61.12 kB / 401 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.1825, allocations: 91.91 kB / 401.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/0.1856, allocations: 0.9243 MB / 402.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/0.1857, allocations: 11.94 kB / 402.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.1859, allocations: 40 kB / 402.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.186, allocations: 12 kB / 402.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1883, allocations: 0.6366 MB / 402.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008086/0.1964, allocations: 2.313 MB / 405.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004283/0.2008, allocations: 2.089 MB / 407.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/0.2044, allocations: 1.998 MB / 409.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.2045, allocations: 4 kB / 409.2 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.2068, allocations: 0.8596 MB / 410 MB, free: 1.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 4.739e-06/0.2068, allocations: 0 / 410 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.007602/0.2144, allocations: 2.257 MB / 412.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005102/0.215, allocations: 405.3 kB / 412.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.217, allocations: 0.6443 MB / 413.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.2172, allocations: 65.69 kB / 413.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.2179, allocations: 352.1 kB / 413.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.2184, allocations: 252.8 kB / 414 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.219, allocations: 222.5 kB / 414.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.2193, allocations: 353.8 kB / 414.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009524/0.2202, allocations: 234.9 kB / 414.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.2219, allocations: 0.7733 MB / 415.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00585/0.2277, allocations: 1.82 MB / 417.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/0.2278, allocations: 4 kB / 417.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.005071/0.2329, allocations: 1.408 MB / 418.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.2331, allocations: 105.1 kB / 418.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.358e-05/0.2332, allocations: 19.94 kB / 418.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.429e-05/0.2333, allocations: 32 kB / 418.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.2349, allocations: 227.6 kB / 419.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.669e-05/0.235, allocations: 39.86 kB / 419.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2363, allocations: 138.6 kB / 419.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.2365, allocations: 64 kB / 419.4 MB, free: 7.395 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.001901/0.2384, allocations: 0.6111 MB / 420 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.2389, allocations: 107.1 kB / 420.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.2393, allocations: 72.11 kB / 420.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.2393, allocations: 4 kB / 420.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2393, allocations: 3.938 kB / 420.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2393, allocations: 0 / 420.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2411, allocations: 0.7357 MB / 420.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2411, allocations: 4 kB / 420.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.242, allocations: 59.97 kB / 421 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/0.2421, allocations: 4 kB / 421 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/0.2424, allocations: 63.95 kB / 421 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2424, allocations: 0 / 421 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2424, allocations: 0 / 421 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/0.2512, allocations: 2.613 MB / 423.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.2516, allocations: 152.2 kB / 423.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/0.2521, allocations: 63.98 kB / 423.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.2539, allocations: 119.9 kB / 424 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.2541, allocations: 31.95 kB / 424 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/0.2543, allocations: 55.97 kB / 424.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.2555, allocations: 423 kB / 424.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2556, allocations: 0 / 424.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001951/0.2575, allocations: 255.7 kB / 424.7 MB, free: 1.895 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.2201/0.4777, allocations: 3.575 MB / 428.3 MB, free: 41.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.48, allocations: 1.311 MB / 429.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4801, allocations: 0 / 429.6 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.4825, allocations: 3.734 MB / 433.3 MB, free: 38.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.4832, allocations: 158.8 kB / 433.5 MB, free: 38.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.4946, allocations: 8.388 MB / 441.9 MB, free: 33.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.4952, allocations: 0.973 MB / 442.9 MB, free: 33.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.4956, allocations: 153.4 kB / 443 MB, free: 33.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.496, allocations: 278.5 kB / 443.3 MB, free: 32.82 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.496, allocations: 0 / 443.3 MB, free: 32.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.5401, allocations: 17.18 MB / 460.5 MB, free: 20.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/19.11, allocations: 16.36 kB / 460.5 MB, free: 20.14 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 & 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)