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.001141/0.001141, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001247/0.001247, allocations: 172.7 kB / 15.95 MB, free: 208 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.227/0.227, allocations: 22.34 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 16 kB / 379.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4485, allocations: 55.98 MB / 435.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001684/0.4502, allocations: 1.391 MB / 437.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.451, allocations: 0.5478 MB / 437.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.4511, allocations: 2.812 kB / 437.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.4514, allocations: 36.34 kB / 437.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4515, allocations: 41.52 kB / 437.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.4517, allocations: 71.73 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.452, allocations: 239 kB / 438.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4521, allocations: 36.95 kB / 438.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4522, allocations: 104.4 kB / 438.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.4524, allocations: 112.9 kB / 438.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4525, allocations: 12.16 kB / 438.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.4525, allocations: 5.625 kB / 438.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.4526, allocations: 61.03 kB / 438.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.4526, allocations: 53.2 kB / 438.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.4528, allocations: 164.6 kB / 438.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4528, allocations: 0 / 438.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4528, allocations: 6.812 kB / 438.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.4528, allocations: 0 / 438.8 MB, free: 36.57 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.001057/0.4539, allocations: 0.5496 MB / 439.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4539, allocations: 9.969 kB / 439.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.454, allocations: 19.91 kB / 439.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.4545, allocations: 332.8 kB / 439.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4545, allocations: 6 kB / 439.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.4546, allocations: 11.28 kB / 439.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4548, allocations: 140.8 kB / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4548, allocations: 10.62 kB / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.4548, allocations: 0 / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4548, allocations: 3.688 kB / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.4551, allocations: 128.7 kB / 440 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.4558, allocations: 0.5865 MB / 440.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4561, allocations: 146 kB / 440.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4562, allocations: 76.67 kB / 440.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4562, allocations: 3.094 kB / 440.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.4563, allocations: 38.03 kB / 440.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.4563, allocations: 0 / 440.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004355/0.4567, allocations: 269.2 kB / 441.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.4567, allocations: 51.41 kB / 441.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.4572, allocations: 287.1 kB / 441.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.4573, allocations: 29.7 kB / 441.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.4573, allocations: 126.4 kB / 441.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4574, allocations: 54.61 kB / 441.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.4574, allocations: 0 / 441.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.4575, allocations: 334.9 kB / 441.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4576, allocations: 78.61 kB / 442 MB, free: 34.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4577, allocations: 75.73 kB / 442.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4578, allocations: 87.59 kB / 442.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4578, allocations: 0 / 442.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002867/0.4581, allocations: 226.1 kB / 442.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4581, allocations: 5.188 kB / 442.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4581, allocations: 4 kB / 442.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4582, allocations: 2.594 kB / 442.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.4585, allocations: 50.83 kB / 442.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4585, allocations: 6.219 kB / 442.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.4587, allocations: 30.47 kB / 442.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4587, allocations: 2.875 kB / 442.5 MB, free: 34.14 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 9.27e-05/0.4588, allocations: 148.1 kB / 442.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4589, allocations: 18.38 kB / 442.6 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.4589, allocations: 26.64 kB / 442.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.459, allocations: 2.875 kB / 442.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.459, allocations: 0 / 442.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.459, allocations: 3.469 kB / 442.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4592, allocations: 306.5 kB / 443 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4592, allocations: 3 kB / 443 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.4594, allocations: 31.72 kB / 443 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4594, allocations: 10.5 kB / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4595, allocations: 6.594 kB / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4595, allocations: 0 / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4595, allocations: 0 / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.4599, allocations: 389.8 kB / 443.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.46, allocations: 104.7 kB / 443.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.46, allocations: 7.125 kB / 443.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4603, allocations: 33.95 kB / 443.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4603, allocations: 6.422 kB / 443.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-06/0.4603, allocations: 7.031 kB / 443.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000377/0.4607, allocations: 235.4 kB / 443.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4607, allocations: 0 / 443.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.461, allocations: 35.59 kB / 443.8 MB, free: 33.23 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.0001099/0.4611, allocations: 103.5 kB / 443.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.4614, allocations: 162.5 kB / 444.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4614, allocations: 0 / 444.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4615, allocations: 78.55 kB / 444.2 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4619, allocations: 29.67 kB / 444.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.4626, allocations: 0.4955 MB / 444.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4629, allocations: 0.7455 MB / 445.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.463, allocations: 50.45 kB / 445.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.4631, allocations: 16.38 kB / 445.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4631, allocations: 0 / 445.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of Templates: time 0.004365/0.4674, allocations: 1.895 MB / 447.4 MB, free: 31.87 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)