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.001352/0.001351, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001624/0.001625, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09196/0.09196, allocations: 22.32 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.14 kB / 380.1 MB, free: 42.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 54.97 MB / 435.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002895/0.1079, allocations: 1.697 MB / 436.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.1089, allocations: 0.5845 MB / 437.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.1089, allocations: 0 / 437.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1092, allocations: 47.7 kB / 437.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1094, allocations: 51.7 kB / 437.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1097, allocations: 103.9 kB / 437.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.11, allocations: 291.4 kB / 437.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1102, allocations: 41.55 kB / 437.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1103, allocations: 107.7 kB / 438 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1105, allocations: 131.5 kB / 438.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1106, allocations: 20 kB / 438.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.1106, allocations: 20 kB / 438.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1107, allocations: 79.78 kB / 438.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.1108, allocations: 91.47 kB / 438.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.111, allocations: 215.3 kB / 438.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.111, allocations: 0 / 438.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.111, allocations: 3.938 kB / 438.6 MB, free: 10.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1111, allocations: 0 / 438.6 MB, free: 10.92 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.001197/0.1123, allocations: 0.5728 MB / 439.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1123, allocations: 12.03 kB / 439.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.1124, allocations: 28.64 kB / 439.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.113, allocations: 328.4 kB / 439.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.113, allocations: 8.562 kB / 439.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1131, allocations: 8.375 kB / 439.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1133, allocations: 147.6 kB / 439.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1134, allocations: 3.906 kB / 439.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1134, allocations: 7.938 kB / 439.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1134, allocations: 7.938 kB / 439.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1136, allocations: 127.8 kB / 439.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.1145, allocations: 0.5746 MB / 440.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1148, allocations: 150.5 kB / 440.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.115, allocations: 72.83 kB / 440.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.115, allocations: 0 / 440.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.115, allocations: 34.56 kB / 440.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.115, allocations: 0 / 440.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005315/0.1156, allocations: 261.5 kB / 440.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.1156, allocations: 55.34 kB / 440.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.1162, allocations: 291.1 kB / 441.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1162, allocations: 29.7 kB / 441.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1164, allocations: 128 kB / 441.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.1164, allocations: 55.28 kB / 441.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1165, allocations: 25.72 kB / 441.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1166, allocations: 342.8 kB / 441.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1168, allocations: 71.95 kB / 441.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1169, allocations: 67.97 kB / 441.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1171, allocations: 171.5 kB / 442.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1172, allocations: 4 kB / 442.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003267/0.1175, allocations: 221.2 kB / 442.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1175, allocations: 11.98 kB / 442.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1175, allocations: 0 / 442.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1175, allocations: 0 / 442.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.1179, allocations: 51.97 kB / 442.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1179, allocations: 0 / 442.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1181, allocations: 31.89 kB / 442.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1181, allocations: 4 kB / 442.4 MB, free: 6.852 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.0001169/0.1183, allocations: 154.4 kB / 442.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1183, allocations: 19.72 kB / 442.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.1184, allocations: 29.39 kB / 442.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1184, allocations: 4 kB / 442.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1184, allocations: 3.984 kB / 442.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1184, allocations: 0 / 442.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.1187, allocations: 297.4 kB / 442.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1187, allocations: 0 / 442.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1189, allocations: 23.98 kB / 442.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1189, allocations: 4 kB / 442.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1189, allocations: 7.938 kB / 442.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1189, allocations: 0 / 442.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.119, allocations: 0 / 442.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1194, allocations: 387 kB / 443.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1195, allocations: 100.9 kB / 443.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1196, allocations: 8 kB / 443.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.1198, allocations: 31.95 kB / 443.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1199, allocations: 7.984 kB / 443.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1199, allocations: 8 kB / 443.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004533/0.1204, allocations: 232.5 kB / 443.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1204, allocations: 0 / 443.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1206, allocations: 35.94 kB / 443.7 MB, free: 5.43 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 0.0001132/0.1207, allocations: 107.1 kB / 443.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1211, allocations: 155.9 kB / 444 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1211, allocations: 0 / 444 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1212, allocations: 80.44 kB / 444.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1215, allocations: 34.88 kB / 444.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.1223, allocations: 450.4 kB / 444.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1226, allocations: 0.7397 MB / 445.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.1227, allocations: 45.52 kB / 445.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.1228, allocations: 19.44 kB / 445.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1228, allocations: 0 / 445.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Templates: time 0.004592/0.1274, allocations: 2.054 MB / 447.4 MB, free: 1.711 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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)