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.001073/0.001073, allocations: 100.1 kB / 15.88 MB, free: 12 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.001156/0.001156, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.302/1.302, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2156/0.2156, allocations: 22.34 MB / 313 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 63.89 kB / 378.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2754, allocations: 54.95 MB / 433.6 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002328/0.2778, allocations: 1.513 MB / 435.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.2786, allocations: 0.4991 MB / 435.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.2786, allocations: 0 / 435.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.2789, allocations: 17 kB / 435.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.279, allocations: 24.09 kB / 435.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2792, allocations: 40.48 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2793, allocations: 117.1 kB / 435.8 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.2794, allocations: 27.31 kB / 435.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.2795, allocations: 43.91 kB / 435.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2796, allocations: 58.52 kB / 436 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2797, allocations: 2.719 kB / 436 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.2797, allocations: 2.906 kB / 436 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.2798, allocations: 35.16 kB / 436 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.2798, allocations: 32.02 kB / 436 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.209e-05/0.2799, allocations: 57.62 kB / 436.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2799, allocations: 6.719 kB / 436.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2799, allocations: 0 / 436.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2799, allocations: 0 / 436.1 MB, free: 37.12 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.0008013/0.2807, allocations: 448 kB / 436.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2808, allocations: 21.59 kB / 436.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.2808, allocations: 11.09 kB / 436.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.2812, allocations: 232.3 kB / 436.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2812, allocations: 3.188 kB / 436.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.2812, allocations: 6.938 kB / 436.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.2813, allocations: 80.84 kB / 436.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2814, allocations: 0 / 436.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2814, allocations: 0 / 436.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2814, allocations: 0 / 436.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.633e-05/0.2815, allocations: 53.62 kB / 436.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.282, allocations: 365.3 kB / 437.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2821, allocations: 82.98 kB / 437.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.2822, allocations: 35.84 kB / 437.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2822, allocations: 4 kB / 437.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2822, allocations: 30.56 kB / 437.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2822, allocations: 2.875 kB / 437.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002382/0.2825, allocations: 118.9 kB / 437.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2825, allocations: 55.34 kB / 437.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.2828, allocations: 190.4 kB / 437.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2828, allocations: 33.7 kB / 437.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.2829, allocations: 108.9 kB / 437.9 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2829, allocations: 14.5 kB / 438 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.2829, allocations: 29.45 kB / 438 MB, free: 35.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.283, allocations: 325.1 kB / 438.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.283, allocations: 25.52 kB / 438.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.2831, allocations: 31.45 kB / 438.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.2832, allocations: 65.69 kB / 438.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2832, allocations: 4 kB / 438.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.2833, allocations: 123.8 kB / 438.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2834, allocations: 3.156 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2834, allocations: 0 / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2834, allocations: 3.906 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2836, allocations: 22.34 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2836, allocations: 0 / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2837, allocations: 19.67 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.2837, allocations: 0 / 438.6 MB, free: 35.15 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.398e-05/0.2838, allocations: 135.5 kB / 438.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2838, allocations: 14.09 kB / 438.7 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2839, allocations: 18.88 kB / 438.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2839, allocations: 0 / 438.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2839, allocations: 0 / 438.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2839, allocations: 0 / 438.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2841, allocations: 205.1 kB / 439 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2841, allocations: 0 / 439 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.2842, allocations: 15.91 kB / 439 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2842, allocations: 0 / 439 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2842, allocations: 14.3 kB / 439 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2842, allocations: 0 / 439 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2842, allocations: 0 / 439 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.2845, allocations: 225.3 kB / 439.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.2846, allocations: 97.69 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2846, allocations: 0 / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2847, allocations: 14.67 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.2848, allocations: 7 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2848, allocations: 3.688 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.285, allocations: 150.9 kB / 439.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.285, allocations: 0 / 439.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.2852, allocations: 14.34 kB / 439.5 MB, free: 34.41 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 7.317e-05/0.2853, allocations: 98.88 kB / 439.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2855, allocations: 71.11 kB / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2855, allocations: 0 / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.2855, allocations: 37.12 kB / 439.7 MB, free: 34.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2858, allocations: 12.34 kB / 439.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.2863, allocations: 313.6 kB / 440 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2865, allocations: 0.6967 MB / 440.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2865, allocations: 19.81 kB / 440.7 MB, free: 33.33 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2865, allocations: 2.906 kB / 440.7 MB, free: 33.33 MB / 350.1 MB Notification: Performance of Templates: time 0.002509/0.289, allocations: 1.299 MB / 442 MB, free: 33.24 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)