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.001174/0.001174, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001082/0.001082, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09057/0.09057, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 435.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 54.95 MB / 490.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002792/0.1163, allocations: 1.471 MB / 492 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1174, allocations: 494.8 kB / 492.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.1175, allocations: 0 / 492.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1178, allocations: 27.83 kB / 492.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.118, allocations: 23.86 kB / 492.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1182, allocations: 51.88 kB / 492.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1184, allocations: 123.8 kB / 492.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1185, allocations: 12 kB / 492.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.1186, allocations: 51.81 kB / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1188, allocations: 63.75 kB / 492.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1188, allocations: 4 kB / 492.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.1188, allocations: 8 kB / 492.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.1189, allocations: 43.81 kB / 492.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.119, allocations: 39.73 kB / 492.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1191, allocations: 79.7 kB / 493 MB, free: 4.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1191, allocations: 0 / 493 MB, free: 4.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1191, allocations: 0 / 493 MB, free: 4.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1191, allocations: 0 / 493 MB, free: 4.395 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.0009247/0.1201, allocations: 447 kB / 493.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1201, allocations: 12.03 kB / 493.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1202, allocations: 8.844 kB / 493.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1206, allocations: 232 kB / 493.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1206, allocations: 384 / 493.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1207, allocations: 8.375 kB / 493.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1208, allocations: 77.91 kB / 493.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1208, allocations: 4 kB / 493.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1208, allocations: 4 kB / 493.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1208, allocations: 0 / 493.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.121, allocations: 51.95 kB / 493.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.1216, allocations: 372.6 kB / 494.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1217, allocations: 82.52 kB / 494.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1218, allocations: 36.97 kB / 494.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1218, allocations: 4 kB / 494.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1218, allocations: 34.59 kB / 494.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1218, allocations: 4 kB / 494.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002661/0.1221, allocations: 117.5 kB / 494.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1222, allocations: 55.41 kB / 494.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.1225, allocations: 192.1 kB / 494.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1225, allocations: 29.7 kB / 494.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.1226, allocations: 108 kB / 494.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1227, allocations: 19.66 kB / 494.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.1227, allocations: 29.7 kB / 494.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1229, allocations: 318.8 kB / 495.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.1229, allocations: 31.97 kB / 495.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.123, allocations: 27.98 kB / 495.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1231, allocations: 76.77 kB / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1231, allocations: 0 / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001624/0.1233, allocations: 109.6 kB / 495.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1233, allocations: 7.938 kB / 495.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1233, allocations: 0 / 495.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1233, allocations: 4 kB / 495.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1235, allocations: 19.98 kB / 495.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1236, allocations: 0 / 495.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1237, allocations: 15.97 kB / 495.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1237, allocations: 8 kB / 495.5 MB, free: 1.672 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.484e-05/0.1238, allocations: 130.4 kB / 495.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1239, allocations: 15.81 kB / 495.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.1239, allocations: 16.7 kB / 495.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1239, allocations: 4 kB / 495.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1239, allocations: 256 / 495.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1239, allocations: 0 / 495.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1244, allocations: 402.5 kB / 496 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.1244, allocations: 4 kB / 496.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.1245, allocations: 15.92 kB / 496.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1245, allocations: 0 / 496.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1245, allocations: 0 / 496.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1245, allocations: 0 / 496.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1246, allocations: 7.938 kB / 496.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1248, allocations: 223.4 kB / 496.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1249, allocations: 89.03 kB / 496.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1249, allocations: 4.062 kB / 496.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1251, allocations: 15.98 kB / 496.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.1251, allocations: 11.92 kB / 496.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1251, allocations: 0 / 496.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003698/0.1255, allocations: 154 kB / 496.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1255, allocations: 0 / 496.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1257, allocations: 19.91 kB / 496.6 MB, free: 492 kB / 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.219e-05/0.1258, allocations: 95.25 kB / 496.7 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.126, allocations: 67.97 kB / 496.7 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.126, allocations: 0 / 496.7 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.1261, allocations: 39.91 kB / 496.8 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1264, allocations: 11.94 kB / 496.8 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.127, allocations: 277 kB / 497.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1273, allocations: 0.7041 MB / 497.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.1273, allocations: 15.38 kB / 497.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1273, allocations: 0 / 497.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of Templates: time 0.003389/0.1307, allocations: 1.305 MB / 499.1 MB, free: 13.91 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)