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.0009543/0.0009544, allocations: 111.2 kB / 15.99 MB, free: 5.91 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.00098/0.0009799, allocations: 193.3 kB / 16.91 MB, free: 5.754 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.194/1.194, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08715/0.08715, allocations: 22.32 MB / 313.1 MB, free: 9.113 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 62.81 kB / 378.8 MB, free: 42.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06661/0.06773, allocations: 54.96 MB / 433.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.00251/0.07027, allocations: 1.76 MB / 435.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.07108, allocations: 0.5767 MB / 436.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.07115, allocations: 0 / 436.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.07139, allocations: 39.83 kB / 436.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.07155, allocations: 47.77 kB / 436.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.07178, allocations: 99.89 kB / 436.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.07205, allocations: 283.6 kB / 436.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.07215, allocations: 45.53 kB / 436.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.07229, allocations: 115.5 kB / 436.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.07246, allocations: 131.6 kB / 436.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.0725, allocations: 20 kB / 436.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.07254, allocations: 23.94 kB / 436.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.07262, allocations: 71.81 kB / 437 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.0727, allocations: 87.53 kB / 437.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.07286, allocations: 172 kB / 437.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.07287, allocations: 0 / 437.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07287, allocations: 0 / 437.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.07289, allocations: 4 kB / 437.3 MB, free: 12.09 MB / 318.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.001168/0.07406, allocations: 0.5805 MB / 437.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.07409, allocations: 12.03 kB / 437.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.07414, allocations: 20.66 kB / 437.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.07473, allocations: 332.4 kB / 438.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.07476, allocations: 8.562 kB / 438.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.07479, allocations: 16.38 kB / 438.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.07502, allocations: 138.1 kB / 438.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.07504, allocations: 3.906 kB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.07506, allocations: 4 kB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.07507, allocations: 4 kB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.0753, allocations: 129.2 kB / 438.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.07612, allocations: 0.5746 MB / 439.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.07635, allocations: 150.5 kB / 439.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.07648, allocations: 77.05 kB / 439.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.07651, allocations: 3.938 kB / 439.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.07653, allocations: 38.56 kB / 439.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.07653, allocations: 0 / 439.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004358/0.07697, allocations: 257.3 kB / 439.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.07701, allocations: 51.41 kB / 439.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.07754, allocations: 295.1 kB / 439.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.07758, allocations: 25.7 kB / 439.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.07765, allocations: 132 kB / 440.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.0777, allocations: 43.31 kB / 440.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.07777, allocations: 37.64 kB / 440.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.07787, allocations: 334.8 kB / 440.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.078, allocations: 79.91 kB / 440.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.07812, allocations: 79.05 kB / 440.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.07836, allocations: 164.8 kB / 440.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.07836, allocations: 0 / 440.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003247/0.07869, allocations: 221.2 kB / 441 MB, free: 8.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.07871, allocations: 4 kB / 441 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.07872, allocations: 0 / 441 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.07874, allocations: 4 kB / 441 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.07908, allocations: 51.95 kB / 441.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.07909, allocations: 4 kB / 441.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.07932, allocations: 27.91 kB / 441.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.07934, allocations: 4 kB / 441.1 MB, free: 8.016 MB / 318.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 0.0001005/0.07944, allocations: 149.6 kB / 441.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.07949, allocations: 19.72 kB / 441.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.07956, allocations: 33.39 kB / 441.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.07957, allocations: 0 / 441.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.07958, allocations: 4 kB / 441.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.07959, allocations: 4 kB / 441.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.07987, allocations: 301.4 kB / 441.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.07988, allocations: 3.984 kB / 441.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.08005, allocations: 27.98 kB / 441.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.08006, allocations: 0 / 441.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.08009, allocations: 4 kB / 441.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.08009, allocations: 0 / 441.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.0801, allocations: 0 / 441.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.08055, allocations: 389.9 kB / 442 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.08062, allocations: 104.9 kB / 442.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.08066, allocations: 4 kB / 442.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.08093, allocations: 27.95 kB / 442.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.08097, allocations: 7.984 kB / 442.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.08099, allocations: 8 kB / 442.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004447/0.08144, allocations: 232.5 kB / 442.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08145, allocations: 0 / 442.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.08169, allocations: 31.94 kB / 442.4 MB, free: 6.598 MB / 318.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 8.132e-05/0.08178, allocations: 107.2 kB / 442.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.08208, allocations: 171.9 kB / 442.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.08209, allocations: 11.88 kB / 442.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.08221, allocations: 79.95 kB / 442.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.08252, allocations: 33.42 kB / 442.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.08324, allocations: 0.5118 MB / 443.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.08351, allocations: 0.7553 MB / 444.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.08359, allocations: 15.44 kB / 444.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08359, allocations: 0 / 444.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of Templates: time 0.003446/0.08704, allocations: 2.481 MB / 446.6 MB, free: 2.371 MB / 318.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)