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.001023/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001111/0.001111, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2103/0.2103, allocations: 22.35 MB / 312.4 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 378.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2874, allocations: 54.93 MB / 433.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002422/0.2899, allocations: 1.767 MB / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.2907, allocations: 0.5856 MB / 435.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.2908, allocations: 2.969 kB / 435.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.2911, allocations: 35.25 kB / 435.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2912, allocations: 50.02 kB / 435.6 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2915, allocations: 93.2 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.2917, allocations: 287.2 kB / 436 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2918, allocations: 44.33 kB / 436 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2919, allocations: 114.7 kB / 436.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2921, allocations: 127.5 kB / 436.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.2922, allocations: 21.41 kB / 436.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.2922, allocations: 23.12 kB / 436.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.2923, allocations: 75.78 kB / 436.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.2924, allocations: 90.31 kB / 436.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2925, allocations: 216.2 kB / 436.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2925, allocations: 0 / 436.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2926, allocations: 3.938 kB / 436.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2926, allocations: 0 / 436.7 MB, free: 36.52 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.001191/0.2938, allocations: 0.5799 MB / 437.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2938, allocations: 9.5 kB / 437.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.2939, allocations: 22.44 kB / 437.3 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.2944, allocations: 326.5 kB / 437.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2944, allocations: 14.25 kB / 437.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2945, allocations: 10.44 kB / 437.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.2947, allocations: 143.5 kB / 437.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2947, allocations: 0 / 437.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2948, allocations: 6.938 kB / 437.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2948, allocations: 0 / 437.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.295, allocations: 126.6 kB / 437.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.2958, allocations: 0.5795 MB / 438.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.296, allocations: 150.4 kB / 438.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2961, allocations: 78.12 kB / 438.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2961, allocations: 0 / 438.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2962, allocations: 37.25 kB / 438.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.2962, allocations: 0 / 438.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004258/0.2966, allocations: 256.4 kB / 439 MB, free: 35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2966, allocations: 57.69 kB / 439 MB, free: 34.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.2972, allocations: 292.4 kB / 439.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2972, allocations: 29.7 kB / 439.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.2972, allocations: 128.1 kB / 439.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.2973, allocations: 50.14 kB / 439.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.2973, allocations: 38.22 kB / 439.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.2974, allocations: 331.9 kB / 439.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2975, allocations: 73.77 kB / 440 MB, free: 34.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2976, allocations: 80.34 kB / 440 MB, free: 34.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2979, allocations: 162.7 kB / 440.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2979, allocations: 0 / 440.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002767/0.2981, allocations: 223.3 kB / 440.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2982, allocations: 5.156 kB / 440.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2982, allocations: 4 kB / 440.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2982, allocations: 2.656 kB / 440.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.2985, allocations: 51.92 kB / 440.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2986, allocations: 0 / 440.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.2988, allocations: 30.52 kB / 440.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.2988, allocations: 2.812 kB / 440.5 MB, free: 34 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.123e-05/0.2989, allocations: 151.2 kB / 440.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.2989, allocations: 17.69 kB / 440.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.299, allocations: 28.33 kB / 440.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.299, allocations: 4 kB / 440.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.299, allocations: 2.656 kB / 440.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.299, allocations: 0 / 440.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2993, allocations: 311.8 kB / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2993, allocations: 0 / 441 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.2995, allocations: 29.06 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2995, allocations: 0 / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2995, allocations: 6.594 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2995, allocations: 6.594 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2995, allocations: 0 / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.2999, allocations: 381.9 kB / 441.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3, allocations: 98.08 kB / 441.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3, allocations: 2.938 kB / 441.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3003, allocations: 33.47 kB / 441.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3004, allocations: 16.42 kB / 441.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3004, allocations: 9.656 kB / 441.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.3008, allocations: 234.5 kB / 441.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3008, allocations: 0 / 441.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3011, allocations: 34.88 kB / 441.8 MB, free: 33.09 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 9.076e-05/0.3012, allocations: 100.4 kB / 441.9 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.3015, allocations: 176.9 kB / 442.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3015, allocations: 0 / 442.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3016, allocations: 83.48 kB / 442.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.302, allocations: 26.59 kB / 442.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.3027, allocations: 0.4926 MB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3029, allocations: 0.7437 MB / 443.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.3031, allocations: 40.67 kB / 443.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.3031, allocations: 19.12 kB / 443.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3031, allocations: 0 / 443.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of Templates: time 0.005046/0.3082, allocations: 2.048 MB / 445.6 MB, free: 31.72 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)