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.001504/0.001504, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001965/0.001965, allocations: 195.8 kB / 16.25 MB, free: 6.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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2008/0.2008, allocations: 22.34 MB / 312.4 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 378.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2694, allocations: 54.95 MB / 433.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003036/0.2725, allocations: 1.516 MB / 434.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.2734, allocations: 0.4956 MB / 435.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.2735, allocations: 2.844 kB / 435.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.2738, allocations: 20.83 kB / 435.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.274, allocations: 13.64 kB / 435.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2743, allocations: 48.14 kB / 435.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.2744, allocations: 119 kB / 435.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2746, allocations: 28.72 kB / 435.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2747, allocations: 47.31 kB / 435.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2748, allocations: 62.12 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.2749, allocations: 8.031 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.2749, allocations: 5 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.275, allocations: 34.02 kB / 435.5 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.2751, allocations: 36.7 kB / 435.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.2752, allocations: 80.72 kB / 435.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2752, allocations: 3.938 kB / 435.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2752, allocations: 0 / 435.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2753, allocations: 0 / 435.7 MB, free: 37.1 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.001044/0.2763, allocations: 446.9 kB / 436.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2764, allocations: 9.281 kB / 436.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.2764, allocations: 10.59 kB / 436.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.2769, allocations: 235.8 kB / 436.3 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2769, allocations: 7.281 kB / 436.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.277, allocations: 3.281 kB / 436.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2772, allocations: 80.14 kB / 436.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2772, allocations: 0 / 436.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2772, allocations: 4 kB / 436.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2772, allocations: 6.969 kB / 436.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2774, allocations: 47.66 kB / 436.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.2781, allocations: 373 kB / 436.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.2782, allocations: 80.05 kB / 436.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.2783, allocations: 37.69 kB / 437 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.2783, allocations: 0 / 437 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2784, allocations: 41.41 kB / 437 MB, free: 35.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2784, allocations: 0 / 437 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003173/0.2787, allocations: 127.4 kB / 437.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2787, allocations: 58 kB / 437.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.2791, allocations: 189.4 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.2792, allocations: 25.7 kB / 437.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.2792, allocations: 112.6 kB / 437.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2793, allocations: 18.56 kB / 437.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.2793, allocations: 25.16 kB / 437.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.2794, allocations: 325.1 kB / 437.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.2795, allocations: 26.86 kB / 437.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2795, allocations: 28.48 kB / 437.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2797, allocations: 71.77 kB / 438 MB, free: 35.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2797, allocations: 0 / 438 MB, free: 35.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.2799, allocations: 115.8 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2799, allocations: 10 kB / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.28, allocations: 0 / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.28, allocations: 0 / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2803, allocations: 24.05 kB / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2803, allocations: 0 / 438.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2805, allocations: 19.03 kB / 438.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2805, allocations: 0 / 438.2 MB, free: 35.13 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 7.91e-05/0.2806, allocations: 129.7 kB / 438.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2806, allocations: 14.66 kB / 438.3 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.2807, allocations: 14.95 kB / 438.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2807, allocations: 2.969 kB / 438.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2807, allocations: 3.938 kB / 438.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2807, allocations: 0 / 438.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.2813, allocations: 395.4 kB / 438.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2813, allocations: 4.25 kB / 438.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2814, allocations: 11.53 kB / 438.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2814, allocations: 8 kB / 438.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2815, allocations: 2.25 kB / 438.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2815, allocations: 0 / 438.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2815, allocations: 8.109 kB / 438.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.2818, allocations: 229 kB / 439 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.2818, allocations: 91.7 kB / 439.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2819, allocations: 7.75 kB / 439.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.2821, allocations: 16.61 kB / 439.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.2822, allocations: 9.953 kB / 439.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2822, allocations: 2.875 kB / 439.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.2825, allocations: 145 kB / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2825, allocations: 0 / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.283, allocations: 13.16 kB / 439.2 MB, free: 34.25 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.656e-05/0.2831, allocations: 95.73 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2833, allocations: 80.28 kB / 439.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2833, allocations: 0 / 439.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.2834, allocations: 34.3 kB / 439.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2839, allocations: 15.25 kB / 439.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.2845, allocations: 279.7 kB / 439.7 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2846, allocations: 0.7034 MB / 440.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.222e-05/0.2847, allocations: 20.97 kB / 440.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.2848, allocations: 10.06 kB / 440.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2848, allocations: 0 / 440.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of Templates: time 0.004224/0.289, allocations: 0.9911 MB / 441.5 MB, free: 33.12 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)