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.001516/0.001516, allocations: 101.6 kB / 16.35 MB, free: 5.828 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.00183/0.00183, allocations: 191 kB / 17.29 MB, free: 5.484 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09212/0.09212, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.66 kB / 380.1 MB, free: 42.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 54.95 MB / 435.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003272/0.1079, allocations: 1.709 MB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.109, allocations: 0.5806 MB / 437.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.1091, allocations: 0 / 437.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1095, allocations: 47.75 kB / 437.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1097, allocations: 55.7 kB / 437.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.11, allocations: 107.8 kB / 437.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.1103, allocations: 283.6 kB / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1104, allocations: 41.53 kB / 437.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1106, allocations: 115.6 kB / 438 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1108, allocations: 123.6 kB / 438.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.1108, allocations: 20 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.1109, allocations: 23.94 kB / 438.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.111, allocations: 83.73 kB / 438.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.304e-05/0.1111, allocations: 87.53 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1113, allocations: 215.3 kB / 438.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1113, allocations: 4 kB / 438.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1113, allocations: 3.938 kB / 438.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1113, allocations: 0 / 438.6 MB, free: 10.85 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.001276/0.1126, allocations: 0.5844 MB / 439.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1127, allocations: 8.031 kB / 439.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.1127, allocations: 24.66 kB / 439.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.1134, allocations: 328.5 kB / 439.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1134, allocations: 12.5 kB / 439.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.1135, allocations: 4.375 kB / 439.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1137, allocations: 145.5 kB / 439.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1138, allocations: 3.906 kB / 439.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1138, allocations: 0 / 439.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1138, allocations: 4 kB / 439.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.114, allocations: 127.9 kB / 439.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.115, allocations: 0.5707 MB / 440.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1152, allocations: 150.5 kB / 440.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1154, allocations: 76.83 kB / 440.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1154, allocations: 8.203 kB / 440.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1154, allocations: 38.44 kB / 440.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1155, allocations: 0 / 440.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000549/0.116, allocations: 253.4 kB / 440.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1161, allocations: 51.41 kB / 440.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.1166, allocations: 291.1 kB / 441.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1167, allocations: 33.69 kB / 441.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1168, allocations: 124 kB / 441.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1168, allocations: 51.3 kB / 441.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.1169, allocations: 29.7 kB / 441.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.117, allocations: 334.8 kB / 441.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1171, allocations: 71.95 kB / 441.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1173, allocations: 79.89 kB / 441.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1175, allocations: 168.7 kB / 442.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1175, allocations: 0 / 442.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003339/0.1179, allocations: 223.8 kB / 442.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1179, allocations: 10.5 kB / 442.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1179, allocations: 0 / 442.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1179, allocations: 0 / 442.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.1183, allocations: 51.91 kB / 442.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1183, allocations: 0 / 442.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.1185, allocations: 39.88 kB / 442.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1185, allocations: 11.94 kB / 442.4 MB, free: 6.777 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.0001161/0.1187, allocations: 138.6 kB / 442.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1187, allocations: 19.72 kB / 442.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.1188, allocations: 29.39 kB / 442.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1188, allocations: 4 kB / 442.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1188, allocations: 0 / 442.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1188, allocations: 0 / 442.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1191, allocations: 309.4 kB / 442.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1191, allocations: 4 kB / 442.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1193, allocations: 23.92 kB / 442.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1193, allocations: 0 / 442.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1194, allocations: 11.98 kB / 442.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1194, allocations: 0 / 442.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1194, allocations: 0 / 442.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.1199, allocations: 379 kB / 443.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.12, allocations: 100.9 kB / 443.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.12, allocations: 12.03 kB / 443.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.1203, allocations: 27.95 kB / 443.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.1204, allocations: 11.94 kB / 443.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1204, allocations: 7.984 kB / 443.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004843/0.1209, allocations: 236.5 kB / 443.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1209, allocations: 0 / 443.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1211, allocations: 31.94 kB / 443.7 MB, free: 5.363 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.0001154/0.1213, allocations: 95.25 kB / 443.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.1216, allocations: 168.3 kB / 444 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1216, allocations: 0 / 444 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1217, allocations: 79.97 kB / 444.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1221, allocations: 30.88 kB / 444.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.1229, allocations: 446.3 kB / 444.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1232, allocations: 0.7514 MB / 445.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1233, allocations: 37.52 kB / 445.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.1234, allocations: 15.44 kB / 445.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1234, allocations: 3.938 kB / 445.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of Templates: time 0.005207/0.1286, allocations: 2.061 MB / 447.4 MB, free: 1.645 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 cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)