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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 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.00126/0.00126, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2263/0.2263, allocations: 22.35 MB / 312.7 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 378.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.375, allocations: 54.95 MB / 433.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002767/0.3778, allocations: 1.7 MB / 435.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3789, allocations: 0.5821 MB / 435.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.379, allocations: 6.688 kB / 435.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3793, allocations: 50.11 kB / 436 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.3795, allocations: 52.91 kB / 436 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3798, allocations: 98.78 kB / 436.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3801, allocations: 288.3 kB / 436.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3802, allocations: 42.78 kB / 436.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3803, allocations: 105.7 kB / 436.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3805, allocations: 138.1 kB / 436.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.3806, allocations: 23.06 kB / 436.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.073e-05/0.3806, allocations: 22.56 kB / 436.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.3807, allocations: 78.5 kB / 436.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.3808, allocations: 89.22 kB / 436.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.381, allocations: 212.3 kB / 437.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.381, allocations: 3.938 kB / 437.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.381, allocations: 0 / 437.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.381, allocations: 2.719 kB / 437.1 MB, free: 36.41 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.0012/0.3822, allocations: 0.5768 MB / 437.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3822, allocations: 8.125 kB / 437.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.3823, allocations: 30.64 kB / 437.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.3829, allocations: 329.3 kB / 438.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3829, allocations: 9.531 kB / 438.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.383, allocations: 13.67 kB / 438.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3832, allocations: 137 kB / 438.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3833, allocations: 3.984 kB / 438.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.3833, allocations: 7.281 kB / 438.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3833, allocations: 6.344 kB / 438.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.3835, allocations: 127.5 kB / 438.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.3844, allocations: 0.5841 MB / 438.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3846, allocations: 149.8 kB / 439.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3847, allocations: 72.53 kB / 439.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3847, allocations: 0 / 439.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3848, allocations: 37.5 kB / 439.2 MB, free: 35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.3848, allocations: 0 / 439.2 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004569/0.3852, allocations: 255.4 kB / 439.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3853, allocations: 54.16 kB / 439.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.3858, allocations: 293.9 kB / 439.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3858, allocations: 29.7 kB / 439.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3859, allocations: 130.2 kB / 439.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3859, allocations: 44.03 kB / 440 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.386, allocations: 35.44 kB / 440 MB, free: 34.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.3861, allocations: 336.4 kB / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3862, allocations: 73.47 kB / 440.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3863, allocations: 77.33 kB / 440.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3866, allocations: 162.3 kB / 440.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3866, allocations: 0 / 440.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003026/0.3869, allocations: 225.1 kB / 440.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3869, allocations: 6.719 kB / 440.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3869, allocations: 2.688 kB / 440.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3869, allocations: 0 / 440.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3873, allocations: 51.64 kB / 440.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3873, allocations: 6.531 kB / 440.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3875, allocations: 29.22 kB / 441 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3875, allocations: 2.656 kB / 441 MB, free: 33.89 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 (16): * Single equations (assignments): 16 * 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.805e-05/0.3877, allocations: 154 kB / 441.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3877, allocations: 15.62 kB / 441.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3878, allocations: 26.55 kB / 441.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3878, allocations: 2.906 kB / 441.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3878, allocations: 0 / 441.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3878, allocations: 7.125 kB / 441.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.388, allocations: 306 kB / 441.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3881, allocations: 0 / 441.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3882, allocations: 23.56 kB / 441.5 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3882, allocations: 6.781 kB / 441.5 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3883, allocations: 8 kB / 441.5 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3883, allocations: 6.875 kB / 441.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3883, allocations: 3.234 kB / 441.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3887, allocations: 380.9 kB / 441.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3888, allocations: 98.55 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3888, allocations: 3.938 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3891, allocations: 36.06 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.3891, allocations: 9.641 kB / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3891, allocations: 0 / 442 MB, free: 33.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004327/0.3896, allocations: 234.7 kB / 442.3 MB, free: 32.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3896, allocations: 0 / 442.3 MB, free: 32.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3898, allocations: 41.31 kB / 442.3 MB, free: 32.98 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 (12): * Single equations (assignments): 12 * 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 0.0001019/0.39, allocations: 99.12 kB / 442.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3903, allocations: 178 kB / 442.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3903, allocations: 0 / 442.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3904, allocations: 81.86 kB / 442.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3907, allocations: 31.19 kB / 442.7 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.3915, allocations: 448.7 kB / 443.1 MB, free: 32.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3917, allocations: 0.7432 MB / 443.9 MB, free: 31.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.778e-05/0.3918, allocations: 48.11 kB / 443.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.3918, allocations: 22.5 kB / 443.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3918, allocations: 0 / 443.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of Templates: time 0.004886/0.3967, allocations: 2.076 MB / 446 MB, free: 31.64 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (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)