Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 104.2 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09186/0.09186, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 435.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 54.95 MB / 490.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003078/0.1155, allocations: 1.466 MB / 492 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1166, allocations: 498.8 kB / 492.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1167, allocations: 0 / 492.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.1171, allocations: 27.86 kB / 492.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1173, allocations: 23.84 kB / 492.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1175, allocations: 47.88 kB / 492.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1178, allocations: 119.8 kB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1179, allocations: 23.91 kB / 492.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.118, allocations: 55.83 kB / 492.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1182, allocations: 55.8 kB / 492.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.1182, allocations: 8 kB / 492.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.1182, allocations: 4 kB / 492.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.1183, allocations: 39.84 kB / 492.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.1184, allocations: 31.8 kB / 492.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1185, allocations: 79.7 kB / 493 MB, free: 4.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1185, allocations: 4 kB / 493 MB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1186, allocations: 4 kB / 493 MB, free: 4.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1186, allocations: 0 / 493 MB, free: 4.438 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009567/0.1195, allocations: 443 kB / 493.4 MB, free: 3.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1196, allocations: 11.97 kB / 493.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1196, allocations: 12.84 kB / 493.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1201, allocations: 240 kB / 493.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1201, allocations: 8.312 kB / 493.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1202, allocations: 4.375 kB / 493.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1203, allocations: 73.97 kB / 493.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1203, allocations: 0 / 493.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1204, allocations: 4 kB / 493.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1204, allocations: 0 / 493.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1205, allocations: 51.97 kB / 493.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.1212, allocations: 372.6 kB / 494.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1213, allocations: 82.53 kB / 494.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1214, allocations: 32.97 kB / 494.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1214, allocations: 4 kB / 494.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1215, allocations: 38.59 kB / 494.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1215, allocations: 0 / 494.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002744/0.1217, allocations: 125.5 kB / 494.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1218, allocations: 51.41 kB / 494.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1221, allocations: 184.5 kB / 494.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1222, allocations: 33.69 kB / 494.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1223, allocations: 108 kB / 494.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1223, allocations: 23.64 kB / 494.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.1224, allocations: 21.72 kB / 494.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1225, allocations: 326.8 kB / 495.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.1226, allocations: 27.98 kB / 495.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.1226, allocations: 35.91 kB / 495.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1227, allocations: 68.83 kB / 495.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1227, allocations: 0 / 495.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001705/0.1229, allocations: 109.6 kB / 495.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.123, allocations: 8 kB / 495.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.123, allocations: 3.984 kB / 495.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.123, allocations: 0 / 495.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1232, allocations: 23.98 kB / 495.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1232, allocations: 4.172 kB / 495.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1234, allocations: 19.92 kB / 495.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1234, allocations: 3.984 kB / 495.5 MB, free: 1.707 MB / 366.1 MB 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 (8): * Single equations (assignments): 8 * 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 9.213e-05/0.1235, allocations: 134.5 kB / 495.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1235, allocations: 11.81 kB / 495.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.1236, allocations: 20.66 kB / 495.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1236, allocations: 0 / 495.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1236, allocations: 0 / 495.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1236, allocations: 0 / 495.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1241, allocations: 398.4 kB / 496 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1241, allocations: 0 / 496 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.1242, allocations: 12.3 kB / 496.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1242, allocations: 4 kB / 496.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.1242, allocations: 12 kB / 496.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1242, allocations: 0 / 496.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1242, allocations: 3.938 kB / 496.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1245, allocations: 219.4 kB / 496.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.1246, allocations: 93.03 kB / 496.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1246, allocations: 4 kB / 496.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1248, allocations: 20.03 kB / 496.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.1248, allocations: 7.875 kB / 496.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1248, allocations: 4 kB / 496.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1251, allocations: 150 kB / 496.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1251, allocations: 4 kB / 496.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1254, allocations: 15.91 kB / 496.6 MB, free: 0.5156 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.614e-05/0.1255, allocations: 99.25 kB / 496.7 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1256, allocations: 63.95 kB / 496.7 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1256, allocations: 0 / 496.7 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.1257, allocations: 35.92 kB / 496.8 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.126, allocations: 26.42 kB / 496.8 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.1266, allocations: 261.4 kB / 497.1 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1269, allocations: 0.7119 MB / 497.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1269, allocations: 11.44 kB / 497.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.127, allocations: 0 / 497.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003046/0.13, allocations: 1.316 MB / 499.1 MB, free: 13.93 MB / 382.1 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)