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.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001401/0.001401, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2056/0.2056, allocations: 22.35 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 380.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2598, allocations: 54.95 MB / 435.2 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001796/0.2617, allocations: 0.7723 MB / 436 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000144/0.2618, allocations: 23.48 kB / 436 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.2619, allocations: 4 kB / 436 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.2619, allocations: 0 / 436 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.262, allocations: 4 kB / 436 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.2621, allocations: 2.938 kB / 436 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.2621, allocations: 23.7 kB / 436.1 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.2622, allocations: 6.391 kB / 436.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2623, allocations: 12.78 kB / 436.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.2623, allocations: 10.19 kB / 436.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2623, allocations: 6.719 kB / 436.1 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.2624, allocations: 0 / 436.1 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2624, allocations: 11.66 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.2624, allocations: 3.938 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.287e-05/0.2625, allocations: 18.2 kB / 436.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2625, allocations: 3.875 kB / 436.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2625, allocations: 0 / 436.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2625, allocations: 0 / 436.1 MB, free: 39.15 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.0002949/0.2628, allocations: 332.9 kB / 436.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2628, allocations: 10.12 kB / 436.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.2629, allocations: 7.438 kB / 436.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.002e-05/0.263, allocations: 164.3 kB / 436.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.263, allocations: 6.906 kB / 436.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.263, allocations: 384 / 436.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.094e-05/0.2631, allocations: 44.77 kB / 436.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2631, allocations: 192 / 436.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2631, allocations: 3.938 kB / 436.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2631, allocations: 0 / 436.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.2631, allocations: 15.34 kB / 436.7 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.2634, allocations: 256.7 kB / 437 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.2635, allocations: 45.23 kB / 437 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.2635, allocations: 12.06 kB / 437 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2635, allocations: 2.969 kB / 437 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.2636, allocations: 38.5 kB / 437 MB, free: 38.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2636, allocations: 4 kB / 437.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.2637, allocations: 55.78 kB / 437.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.766e-05/0.2637, allocations: 51.41 kB / 437.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.2638, allocations: 106.8 kB / 437.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.2638, allocations: 25.7 kB / 437.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.2638, allocations: 82.73 kB / 437.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.2639, allocations: 11.14 kB / 437.4 MB, free: 37.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.2639, allocations: 12.16 kB / 437.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.024e-05/0.2639, allocations: 321.2 kB / 437.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.264, allocations: 2.438 kB / 437.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.264, allocations: 7.922 kB / 437.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.264, allocations: 20.36 kB / 437.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.264, allocations: 0 / 437.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.191e-05/0.2641, allocations: 54.17 kB / 437.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2641, allocations: 8.25 kB / 437.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2641, allocations: 4 kB / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2641, allocations: 0 / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.2642, allocations: 13.39 kB / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2642, allocations: 0 / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.2642, allocations: 0 / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-06/0.2642, allocations: 2.969 kB / 437.8 MB, free: 37.43 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.35e-05/0.2643, allocations: 117.7 kB / 437.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2643, allocations: 7.188 kB / 437.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.2644, allocations: 74.38 kB / 438 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2645, allocations: 2.531 kB / 438 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2645, allocations: 0 / 438 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2645, allocations: 3.328 kB / 438 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2646, allocations: 164.2 kB / 438.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2646, allocations: 0 / 438.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.2646, allocations: 11.31 kB / 438.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2647, allocations: 3.938 kB / 438.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2647, allocations: 2.719 kB / 438.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2647, allocations: 0 / 438.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2647, allocations: 0 / 438.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.407e-05/0.2648, allocations: 158.9 kB / 438.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.2648, allocations: 88.23 kB / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2648, allocations: 0 / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.2649, allocations: 6.875 kB / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.2649, allocations: 3.938 kB / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2649, allocations: 2.688 kB / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.2649, allocations: 80.84 kB / 438.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2649, allocations: 7.938 kB / 438.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.2652, allocations: 7.75 kB / 438.5 MB, free: 36.7 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 7.063e-05/0.2652, allocations: 91.31 kB / 438.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.2653, allocations: 20.66 kB / 438.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2653, allocations: 2.781 kB / 438.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.2653, allocations: 20 kB / 438.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2656, allocations: 9.656 kB / 438.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.2658, allocations: 125 kB / 438.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.266, allocations: 0.6798 MB / 439.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.266, allocations: 2.469 kB / 439.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.266, allocations: 10.25 kB / 439.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.266, allocations: 0 / 439.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of Templates: time 0.002195/0.2682, allocations: 453.3 kB / 439.9 MB, free: 35.71 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)