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.001117/0.001117, allocations: 107.1 kB / 15.99 MB, free: 5.887 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.001192/0.001192, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.221/1.221, allocations: 222.9 MB / 240.6 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1722/0.1722, allocations: 22.34 MB / 313.1 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.91 kB / 381 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2062, allocations: 54.95 MB / 435.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001606/0.2078, allocations: 0.7606 MB / 436.7 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.208, allocations: 27.23 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.208, allocations: 0 / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2081, allocations: 0 / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.2081, allocations: 7.938 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.067e-05/0.2082, allocations: 5.562 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.2083, allocations: 20.31 kB / 436.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.2083, allocations: 6.375 kB / 436.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.2084, allocations: 14.67 kB / 436.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.2084, allocations: 8.453 kB / 436.8 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2084, allocations: 6.531 kB / 436.8 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.2084, allocations: 0 / 436.8 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.2085, allocations: 10.59 kB / 436.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.2085, allocations: 17.5 kB / 436.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.073e-05/0.2085, allocations: 5.906 kB / 436.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2085, allocations: 0 / 436.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2085, allocations: 0 / 436.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2086, allocations: 0 / 436.8 MB, free: 39.11 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.0002975/0.2089, allocations: 334.9 kB / 437.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2089, allocations: 9.469 kB / 437.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2089, allocations: 0.9375 kB / 437.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.209, allocations: 172.3 kB / 437.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.209, allocations: 4.375 kB / 437.3 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.209, allocations: 6.719 kB / 437.3 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.2091, allocations: 38.92 kB / 437.4 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.2091, allocations: 192 / 437.4 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2091, allocations: 7.938 kB / 437.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2091, allocations: 0 / 437.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.2092, allocations: 19.05 kB / 437.4 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.2094, allocations: 249.3 kB / 437.6 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.2095, allocations: 46.5 kB / 437.7 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.2095, allocations: 10.3 kB / 437.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.2095, allocations: 2.594 kB / 437.7 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.868e-06/0.2096, allocations: 38.5 kB / 437.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2096, allocations: 0 / 437.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000163/0.2097, allocations: 56.95 kB / 437.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.48e-05/0.2098, allocations: 55.41 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.2098, allocations: 99.11 kB / 437.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.2098, allocations: 25.7 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.2098, allocations: 87.52 kB / 438 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.2098, allocations: 6.656 kB / 438 MB, free: 37.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.2099, allocations: 12.5 kB / 438.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.2099, allocations: 318.3 kB / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.2099, allocations: 6.875 kB / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.2099, allocations: 5.5 kB / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.21, allocations: 25.23 kB / 438.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.21, allocations: 0 / 438.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.642e-05/0.21, allocations: 58.84 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.2101, allocations: 10.27 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2101, allocations: 2.875 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.2101, allocations: 0 / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.2101, allocations: 2.688 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2101, allocations: 2.625 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.2102, allocations: 4 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2102, allocations: 0 / 438.5 MB, free: 37.39 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 3.756e-05/0.2102, allocations: 120.5 kB / 438.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2102, allocations: 7.844 kB / 438.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.2104, allocations: 74.44 kB / 438.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2104, allocations: 0 / 438.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2104, allocations: 4 kB / 438.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2104, allocations: 0 / 438.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/0.2105, allocations: 163.6 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2105, allocations: 0 / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.2106, allocations: 7.781 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2106, allocations: 0 / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2106, allocations: 2.75 kB / 438.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2106, allocations: 0 / 438.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2106, allocations: 0 / 438.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.097e-05/0.2107, allocations: 169.8 kB / 439 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.2107, allocations: 84.95 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.2107, allocations: 2.688 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.2108, allocations: 4 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2108, allocations: 5.891 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2108, allocations: 0 / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.8e-05/0.2108, allocations: 79.09 kB / 439.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2108, allocations: 0 / 439.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.211, allocations: 7.469 kB / 439.2 MB, free: 36.67 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 5.325e-05/0.2111, allocations: 97.12 kB / 439.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.89e-05/0.2112, allocations: 23.58 kB / 439.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2112, allocations: 0 / 439.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.2112, allocations: 16.05 kB / 439.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2114, allocations: 13.56 kB / 439.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.2116, allocations: 140.8 kB / 439.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.341e-05/0.2117, allocations: 0.6859 MB / 440.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.2118, allocations: 14.25 kB / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2118, allocations: 0 / 440.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of Templates: time 0.001348/0.2131, allocations: 0.5631 MB / 440.7 MB, free: 35.67 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)