Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08047/0.08047, allocations: 19.39 MB / 34.65 MB, free: 72 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.0009169/0.0009166, allocations: 177.3 kB / 40.28 MB, free: 6.512 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.364/1.364, allocations: 225.7 MB / 271.5 MB, free: 3.219 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.0007879/0.0007879, allocations: 91.75 kB / 327.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 8 kB / 395.4 MB, free: 47.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09415, allocations: 55.19 MB / 450.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002383/0.09658, allocations: 1.646 MB / 452.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.09793, allocations: 0.6433 MB / 452.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.09814, allocations: 4 kB / 452.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.09849, allocations: 63.67 kB / 452.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.09877, allocations: 79.66 kB / 453 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.0991, allocations: 159.7 kB / 453.2 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.09957, allocations: 431.5 kB / 453.6 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.09973, allocations: 70.03 kB / 453.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.09993, allocations: 159.3 kB / 453.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1002, allocations: 187.2 kB / 454 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.1003, allocations: 8 kB / 454 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.1003, allocations: 12 kB / 454 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1004, allocations: 87.7 kB / 454.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1006, allocations: 144.8 kB / 454.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1008, allocations: 262.9 kB / 454.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1008, allocations: 0 / 454.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1008, allocations: 0 / 454.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1009, allocations: 0 / 454.5 MB, free: 4.688 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001839/0.1027, allocations: 0.7326 MB / 455.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1027, allocations: 9.156 kB / 455.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1029, allocations: 36.47 kB / 455.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/0.1038, allocations: 423.8 kB / 455.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1038, allocations: 16.7 kB / 455.7 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.1039, allocations: 20.31 kB / 455.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1043, allocations: 204.4 kB / 455.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1043, allocations: 0 / 455.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1043, allocations: 4 kB / 455.9 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.1043, allocations: 4 kB / 455.9 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.1047, allocations: 196.1 kB / 456.1 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1059, allocations: 0.7109 MB / 456.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.1066, allocations: 318.3 kB / 457.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1068, allocations: 116.8 kB / 457.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1069, allocations: 4 kB / 457.3 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1069, allocations: 42.48 kB / 457.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.075e-06/0.1069, allocations: 0 / 457.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006366/0.1076, allocations: 371.1 kB / 457.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1076, allocations: 55.39 kB / 457.7 MB, free: 1.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.1084, allocations: 424.4 kB / 458.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1085, allocations: 33.7 kB / 458.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1086, allocations: 168.4 kB / 458.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.1086, allocations: 82.67 kB / 458.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.1087, allocations: 4 kB / 458.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1088, allocations: 346.8 kB / 458.7 MB, free: 220 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.109, allocations: 91.92 kB / 458.8 MB, free: 128 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1091, allocations: 100.4 kB / 458.9 MB, free: 28 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.1115, allocations: 0.6645 MB / 459.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1115, allocations: 0 / 459.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004868/0.112, allocations: 328.2 kB / 459.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.112, allocations: 4 kB / 459.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.112, allocations: 3.984 kB / 459.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.112, allocations: 0 / 459.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1123, allocations: 55.92 kB / 460 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1123, allocations: 3.984 kB / 460 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.1127, allocations: 63.78 kB / 460 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1127, allocations: 7.984 kB / 460.1 MB, free: 14.9 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real 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] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0002089/0.1129, allocations: 179.6 kB / 460.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.113, allocations: 31.66 kB / 460.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.1136, allocations: 329.9 kB / 460.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1136, allocations: 4 kB / 460.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1136, allocations: 4 kB / 460.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.1136, allocations: 3.984 kB / 460.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.114, allocations: 365.2 kB / 460.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.114, allocations: 0 / 460.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1144, allocations: 55.84 kB / 461 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1144, allocations: 4 kB / 461 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1144, allocations: 8 kB / 461 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1144, allocations: 0 / 461 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1144, allocations: 3.984 kB / 461 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.1151, allocations: 0.5127 MB / 461.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.1152, allocations: 120.6 kB / 461.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.1153, allocations: 8 kB / 461.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.1157, allocations: 55.86 kB / 461.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1157, allocations: 19.97 kB / 461.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1158, allocations: 8 kB / 461.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006986/0.1165, allocations: 334.9 kB / 462.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1165, allocations: 0 / 462.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.1168, allocations: 55.91 kB / 462.1 MB, free: 12.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001123/0.1169, allocations: 107.2 kB / 462.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.1173, allocations: 255.7 kB / 462.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1173, allocations: 0 / 462.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.1175, allocations: 133.8 kB / 462.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.118, allocations: 70.09 kB / 462.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1192, allocations: 0.7962 MB / 463.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1196, allocations: 0.795 MB / 464.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1197, allocations: 62.23 kB / 464.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.1198, allocations: 23.44 kB / 464.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1199, allocations: 0 / 464.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of Templates: time 0.005935/0.1258, allocations: 2.726 MB / 467.1 MB, free: 7.723 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)