Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001422/0.001423, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2389/0.2389, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 8 kB / 379.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 55.97 MB / 435.8 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001404/0.3193, allocations: 1.391 MB / 437.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.3199, allocations: 0.5519 MB / 437.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.32, allocations: 0 / 437.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3203, allocations: 34.53 kB / 437.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3204, allocations: 44.61 kB / 437.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3206, allocations: 76.59 kB / 437.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3208, allocations: 144 kB / 438 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3209, allocations: 43.28 kB / 438.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.321, allocations: 105.1 kB / 438.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3212, allocations: 101.5 kB / 438.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3212, allocations: 5.906 kB / 438.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.11e-05/0.3212, allocations: 10 kB / 438.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.3213, allocations: 66.2 kB / 438.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.3213, allocations: 53.67 kB / 438.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3215, allocations: 156.7 kB / 438.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.3215, allocations: 3.938 kB / 438.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3215, allocations: 0 / 438.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.3215, allocations: 0 / 438.6 MB, free: 36.56 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00103/0.3225, allocations: 0.5518 MB / 439.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3225, allocations: 11.16 kB / 439.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3226, allocations: 20.12 kB / 439.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.3232, allocations: 329.7 kB / 439.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3232, allocations: 13.97 kB / 439.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.3232, allocations: 10 kB / 439.5 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3234, allocations: 136.2 kB / 439.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3235, allocations: 3.953 kB / 439.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3235, allocations: 6.375 kB / 439.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3235, allocations: 10.78 kB / 439.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.3237, allocations: 124.5 kB / 439.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.3245, allocations: 0.5807 MB / 440.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3247, allocations: 151.5 kB / 440.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3247, allocations: 0 / 440.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3248, allocations: 40.66 kB / 440.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3248, allocations: 0 / 440.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004162/0.3252, allocations: 262.1 kB / 440.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.3252, allocations: 54.25 kB / 440.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.3257, allocations: 291.7 kB / 441.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3258, allocations: 32.27 kB / 441.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3258, allocations: 130.8 kB / 441.3 MB, free: 34.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.3259, allocations: 44.56 kB / 441.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.3259, allocations: 4 kB / 441.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3259, allocations: 339 kB / 441.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3261, allocations: 74.22 kB / 441.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3262, allocations: 78.19 kB / 441.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3263, allocations: 85.05 kB / 441.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3263, allocations: 0 / 441.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002775/0.3266, allocations: 225 kB / 442.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3266, allocations: 9.812 kB / 442.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3266, allocations: 0 / 442.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3266, allocations: 0 / 442.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.327, allocations: 54.86 kB / 442.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.327, allocations: 0 / 442.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3272, allocations: 26.17 kB / 442.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3272, allocations: 6.938 kB / 442.2 MB, free: 34.16 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3273, allocations: 147.7 kB / 442.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3274, allocations: 23.69 kB / 442.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.3274, allocations: 22.72 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3275, allocations: 2.75 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3275, allocations: 3.328 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3275, allocations: 0 / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3277, allocations: 310.9 kB / 442.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3277, allocations: 4 kB / 442.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.3279, allocations: 30.56 kB / 442.7 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3279, allocations: 7.922 kB / 442.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3279, allocations: 14.09 kB / 442.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.328, allocations: 0 / 442.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.328, allocations: 0 / 442.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3284, allocations: 379.3 kB / 443.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.3285, allocations: 103.7 kB / 443.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.3285, allocations: 2.656 kB / 443.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.3288, allocations: 38.23 kB / 443.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.3288, allocations: 13.42 kB / 443.3 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3289, allocations: 3.312 kB / 443.3 MB, free: 33.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000444/0.3293, allocations: 232.2 kB / 443.5 MB, free: 33.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3293, allocations: 0 / 443.5 MB, free: 33.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3296, allocations: 37.22 kB / 443.6 MB, free: 33.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001021/0.3297, allocations: 100.6 kB / 443.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.33, allocations: 167.6 kB / 443.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3301, allocations: 2.812 kB / 443.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3302, allocations: 78.88 kB / 443.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3304, allocations: 27.59 kB / 443.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.3311, allocations: 499.6 kB / 444.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.3313, allocations: 0.7475 MB / 445.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.3314, allocations: 44.09 kB / 445.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3315, allocations: 19.34 kB / 445.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3315, allocations: 0 / 445.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of Templates: time 0.003963/0.3355, allocations: 1.886 MB / 447.1 MB, free: 31.9 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile Environment - environmentSimulation: (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) Environment - environmentSimulation: