Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08127/0.08127, allocations: 19.39 MB / 34.64 MB, free: 48 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009436/0.000944, allocations: 180.8 kB / 40.28 MB, free: 6.504 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.7 MB / 271.5 MB, free: 3.27 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007865/0.0007866, allocations: 83.58 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08703, allocations: 55.18 MB / 450.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.002128/0.08921, allocations: 1.486 MB / 452.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.09056, allocations: 0.7784 MB / 452.8 MB, free: 6.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.09068, allocations: 3.938 kB / 452.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.09098, allocations: 15.92 kB / 452.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.09116, allocations: 35.77 kB / 452.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.0915, allocations: 103.9 kB / 453 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.09179, allocations: 211.5 kB / 453.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.09193, allocations: 53.53 kB / 453.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.09206, allocations: 71.69 kB / 453.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.09223, allocations: 83.59 kB / 453.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.09228, allocations: 4 kB / 453.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-05/0.09231, allocations: 11.94 kB / 453.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.0924, allocations: 35.89 kB / 453.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.09253, allocations: 105.2 kB / 453.5 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.09278, allocations: 167.4 kB / 453.7 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.09279, allocations: 4 kB / 453.7 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.09281, allocations: 4 kB / 453.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.09282, allocations: 0 / 453.7 MB, free: 5.461 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001101/0.09393, allocations: 0.549 MB / 454.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.09398, allocations: 13.16 kB / 454.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.09404, allocations: 28.66 kB / 454.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.0945, allocations: 264 kB / 454.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.09453, allocations: 12.38 kB / 454.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.09458, allocations: 12.38 kB / 454.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.09493, allocations: 192.2 kB / 454.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.09496, allocations: 0 / 454.8 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.09498, allocations: 4 kB / 454.8 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.095, allocations: 4 kB / 454.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.0953, allocations: 144.1 kB / 454.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.09622, allocations: 0.5396 MB / 455.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.09675, allocations: 198.4 kB / 455.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.09694, allocations: 84.81 kB / 455.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.09698, allocations: 4 kB / 455.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.09728, allocations: 198.7 kB / 455.9 MB, free: 3.039 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.09729, allocations: 0 / 455.9 MB, free: 3.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001617/0.09891, allocations: 0.6802 MB / 456.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.09902, allocations: 162.2 kB / 456.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.09937, allocations: 213.6 kB / 457 MB, free: 1.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.0994, allocations: 25.7 kB / 457 MB, free: 1.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.0995, allocations: 124.3 kB / 457.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.09957, allocations: 51.38 kB / 457.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.09958, allocations: 3.938 kB / 457.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.09971, allocations: 330.8 kB / 457.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.09987, allocations: 75.91 kB / 457.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1001, allocations: 90.03 kB / 457.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1013, allocations: 0.5395 MB / 458.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1013, allocations: 0 / 458.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004359/0.1017, allocations: 280.8 kB / 458.5 MB, free: 328 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.1018, allocations: 152.3 kB / 458.6 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1019, allocations: 0 / 458.6 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1019, allocations: 0 / 458.6 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1021, allocations: 35.91 kB / 458.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1021, allocations: 4 kB / 458.7 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1023, allocations: 39.84 kB / 458.7 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1023, allocations: 4 kB / 458.7 MB, free: 72 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-06/0.1023, allocations: 4 kB / 458.7 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003564/0.1027, allocations: 229.2 kB / 458.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.1027, allocations: 0 / 458.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-06/0.1027, allocations: 4 kB / 459 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1029, allocations: 27.92 kB / 459 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.1029, allocations: 0 / 459 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.103, allocations: 31.81 kB / 459 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1031, allocations: 12 kB / 459 MB, free: 15.76 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TDO.tdo,$PRE.TDO.timeNextEv,$whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0002239/0.1033, allocations: 248.5 kB / 459.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1033, allocations: 15.81 kB / 459.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.1034, allocations: 21.52 kB / 459.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1034, allocations: 8 kB / 459.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1034, allocations: 0 / 459.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1034, allocations: 7.875 kB / 459.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1037, allocations: 281.4 kB / 459.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1037, allocations: 0 / 459.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1038, allocations: 11.98 kB / 459.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.1042, allocations: 162.5 kB / 459.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1042, allocations: 4 kB / 459.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.1051, allocations: 0.835 MB / 460.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1051, allocations: 0 / 460.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/0.1061, allocations: 0.5305 MB / 461.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1061, allocations: 92.92 kB / 461.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.1062, allocations: 7.938 kB / 461.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1064, allocations: 36 kB / 461.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.1065, allocations: 7.984 kB / 461.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1065, allocations: 8 kB / 461.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1068, allocations: 166.7 kB / 461.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1068, allocations: 0 / 461.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.1071, allocations: 63.84 kB / 461.5 MB, free: 13.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.FO.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 4 ($whenCondition2,TDO.timeNextEv,TDO.tdo,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.1072, allocations: 107.2 kB / 461.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.1079, allocations: 489.3 kB / 462.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1079, allocations: 0 / 462.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.1084, allocations: 243.2 kB / 462.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1086, allocations: 36.84 kB / 462.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.1095, allocations: 498.4 kB / 462.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1098, allocations: 0.7245 MB / 463.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1099, allocations: 37.05 kB / 463.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.11, allocations: 15.44 kB / 463.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.11, allocations: 0 / 463.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of Templates: time 0.005242/0.1153, allocations: 2.431 MB / 466.1 MB, free: 8.465 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.sim & ./AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1)