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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 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.001366/0.001366, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2905/0.2905, allocations: 22.35 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.89 kB / 378.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 54.95 MB / 433.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00232/0.3629, allocations: 1.438 MB / 435.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007582/0.3637, allocations: 0.5143 MB / 435.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.3638, allocations: 0 / 435.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3641, allocations: 17.06 kB / 435.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3642, allocations: 24.48 kB / 435.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3644, allocations: 47.91 kB / 435.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3645, allocations: 123.2 kB / 435.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3646, allocations: 28.31 kB / 435.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3647, allocations: 44.72 kB / 435.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3649, allocations: 61.62 kB / 436 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3649, allocations: 8.812 kB / 436 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.3649, allocations: 9.875 kB / 436 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.365, allocations: 29.91 kB / 436 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.365, allocations: 41.09 kB / 436 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.3651, allocations: 80.27 kB / 436.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3651, allocations: 4 kB / 436.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3652, allocations: 0 / 436.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3652, allocations: 0 / 436.1 MB, free: 37.34 MB / 350.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.0007635/0.3659, allocations: 437.9 kB / 436.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.366, allocations: 12.81 kB / 436.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.366, allocations: 17.92 kB / 436.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3664, allocations: 234.2 kB / 436.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3664, allocations: 7.312 kB / 436.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3664, allocations: 7.188 kB / 436.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3666, allocations: 76.98 kB / 436.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3666, allocations: 0 / 436.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3666, allocations: 4 kB / 436.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3666, allocations: 6.844 kB / 436.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.3667, allocations: 48.08 kB / 437 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.3672, allocations: 371.7 kB / 437.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3674, allocations: 75.67 kB / 437.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.3674, allocations: 45.55 kB / 437.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.3674, allocations: 3.938 kB / 437.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3675, allocations: 37.72 kB / 437.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3675, allocations: 0 / 437.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002414/0.3677, allocations: 121.1 kB / 437.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.3677, allocations: 51.41 kB / 437.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.368, allocations: 194.1 kB / 437.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3681, allocations: 25.7 kB / 437.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.3681, allocations: 109.1 kB / 438 MB, free: 35.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3681, allocations: 21.83 kB / 438 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3682, allocations: 19.38 kB / 438 MB, free: 35.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.3683, allocations: 324.9 kB / 438.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.3683, allocations: 32.16 kB / 438.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.3684, allocations: 25.92 kB / 438.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.663e-05/0.3685, allocations: 84.84 kB / 438.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3685, allocations: 0 / 438.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/0.3686, allocations: 107.8 kB / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3686, allocations: 5.969 kB / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3686, allocations: 2.438 kB / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3687, allocations: 0 / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3689, allocations: 26.59 kB / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3689, allocations: 0 / 438.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.369, allocations: 15.81 kB / 438.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.369, allocations: 4 kB / 438.6 MB, free: 35.37 MB / 350.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 6.918e-05/0.3691, allocations: 135.5 kB / 438.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.3691, allocations: 13 kB / 438.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.3692, allocations: 14.59 kB / 438.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3692, allocations: 2.844 kB / 438.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3692, allocations: 0 / 438.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3692, allocations: 0 / 438.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.3696, allocations: 408.6 kB / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3696, allocations: 3.938 kB / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.3697, allocations: 12.28 kB / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3697, allocations: 0 / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3697, allocations: 0 / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3697, allocations: 3 kB / 439.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3697, allocations: 3.938 kB / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3699, allocations: 227.5 kB / 439.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.37, allocations: 94.48 kB / 439.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.37, allocations: 7.281 kB / 439.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3702, allocations: 11.22 kB / 439.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3702, allocations: 9.672 kB / 439.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.3702, allocations: 2.562 kB / 439.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.3705, allocations: 155.8 kB / 439.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3705, allocations: 0 / 439.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3707, allocations: 17.28 kB / 439.7 MB, free: 34.48 MB / 350.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 8.283e-05/0.3708, allocations: 94 kB / 439.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.371, allocations: 68.95 kB / 439.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.371, allocations: 2.875 kB / 439.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.371, allocations: 36.09 kB / 439.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3713, allocations: 9.062 kB / 439.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.3718, allocations: 255.8 kB / 440.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.372, allocations: 0.705 MB / 440.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.3721, allocations: 23.28 kB / 440.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.3721, allocations: 10.38 kB / 440.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3721, allocations: 0 / 440.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003229/0.3753, allocations: 0.9868 MB / 441.9 MB, free: 33.39 MB / 350.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)