Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009207, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000837/0.0008371, allocations: 186.6 kB / 16.92 MB, free: 6.75 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.281/1.281, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1917/0.1917, allocations: 22.35 MB / 314.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2386, allocations: 55.98 MB / 439.2 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0007062/0.2393, allocations: 442.5 kB / 439.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.2395, allocations: 18.27 kB / 439.7 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.2395, allocations: 0 / 439.7 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.2395, allocations: 3.938 kB / 439.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.2396, allocations: 0 / 439.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.173e-05/0.2397, allocations: 6.781 kB / 439.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.2397, allocations: 19.83 kB / 439.7 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.2398, allocations: 6.594 kB / 439.7 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.2398, allocations: 18.09 kB / 439.7 MB, free: 39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.2399, allocations: 10.02 kB / 439.7 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2399, allocations: 2.719 kB / 439.8 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.2399, allocations: 0 / 439.8 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.2399, allocations: 0 / 439.8 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.24, allocations: 40.56 kB / 439.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.232e-05/0.24, allocations: 8.641 kB / 439.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.24, allocations: 2.781 kB / 439.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.24, allocations: 4 kB / 439.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.24, allocations: 0 / 439.8 MB, free: 38.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002555/0.2403, allocations: 330.6 kB / 440.1 MB, free: 38.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2403, allocations: 12.09 kB / 440.1 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2404, allocations: 11.5 kB / 440.2 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.2404, allocations: 163.1 kB / 440.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2405, allocations: 384 / 440.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.2405, allocations: 384 / 440.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.942e-05/0.2406, allocations: 49.72 kB / 440.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.2406, allocations: 4.188 kB / 440.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2406, allocations: 3.938 kB / 440.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2406, allocations: 0 / 440.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.2406, allocations: 13 kB / 440.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.2409, allocations: 257.6 kB / 440.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.241, allocations: 41.64 kB / 440.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.241, allocations: 15.61 kB / 440.7 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.241, allocations: 3 kB / 440.7 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.241, allocations: 30.56 kB / 440.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2411, allocations: 0 / 440.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.2412, allocations: 51.44 kB / 440.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.2412, allocations: 57.47 kB / 440.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.2413, allocations: 96.89 kB / 440.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.2413, allocations: 29.7 kB / 441 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.2413, allocations: 87.02 kB / 441 MB, free: 37.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.2413, allocations: 11.08 kB / 441 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.2413, allocations: 12.66 kB / 441.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.2414, allocations: 314.8 kB / 441.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.2414, allocations: 2.719 kB / 441.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.2414, allocations: 10.67 kB / 441.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.2415, allocations: 21.62 kB / 441.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2415, allocations: 3.938 kB / 441.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.082e-05/0.2415, allocations: 55.64 kB / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.2415, allocations: 3.781 kB / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2416, allocations: 0 / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2416, allocations: 0 / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.2416, allocations: 14.59 kB / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.2416, allocations: 0 / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.2417, allocations: 0 / 441.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.2417, allocations: 0 / 441.5 MB, free: 37.23 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 (3): * Single equations (assignments): 3 * 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 4.095e-05/0.2417, allocations: 120.2 kB / 441.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.2417, allocations: 7.906 kB / 441.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.2419, allocations: 69.03 kB / 441.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2419, allocations: 2.688 kB / 441.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2419, allocations: 0 / 441.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2419, allocations: 7.125 kB / 441.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.242, allocations: 168.5 kB / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.242, allocations: 0 / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.2421, allocations: 11.78 kB / 441.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2421, allocations: 4 kB / 441.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2421, allocations: 4 kB / 441.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2421, allocations: 0 / 441.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2421, allocations: 0 / 441.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.293e-05/0.2422, allocations: 158.2 kB / 442 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.2422, allocations: 87.67 kB / 442.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2422, allocations: 4 kB / 442.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.2423, allocations: 0 / 442.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.2423, allocations: 6.812 kB / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2423, allocations: 3.234 kB / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.183e-05/0.2423, allocations: 78.25 kB / 442.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2424, allocations: 2.844 kB / 442.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.2426, allocations: 6.781 kB / 442.2 MB, free: 36.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 6.196e-05/0.2426, allocations: 94.31 kB / 442.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.2427, allocations: 21.06 kB / 442.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2427, allocations: 4 kB / 442.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.2427, allocations: 15.31 kB / 442.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.243, allocations: 14.16 kB / 442.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.2432, allocations: 140 kB / 442.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.186e-05/0.2433, allocations: 0.6819 MB / 443.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.2433, allocations: 14.31 kB / 443.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2433, allocations: 0 / 443.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of Templates: time 0.001421/0.2448, allocations: 0.556 MB / 443.7 MB, free: 35.5 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)