Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001317/0.001317, allocations: 187 kB / 17.34 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09593/0.09593, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 435.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.0888, allocations: 54.95 MB / 490.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002501/0.09133, allocations: 1.659 MB / 492.2 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003591/0.09171, allocations: 151.5 kB / 492.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.09178, allocations: 0 / 492.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.09182, allocations: 15.86 kB / 492.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.09191, allocations: 15.81 kB / 492.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.0921, allocations: 43.95 kB / 492.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.09223, allocations: 83.7 kB / 492.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.09234, allocations: 39.97 kB / 492.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.09239, allocations: 27.86 kB / 492.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.09245, allocations: 35.8 kB / 492.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.09248, allocations: 8 kB / 492.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.09249, allocations: 8 kB / 492.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.09252, allocations: 15.92 kB / 492.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.09256, allocations: 47.67 kB / 492.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.881e-05/0.09266, allocations: 79.66 kB / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.09267, allocations: 0 / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.09268, allocations: 0 / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.09269, allocations: 0 / 492.8 MB, free: 4.629 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003667/0.09306, allocations: 387.2 kB / 493.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.09309, allocations: 8.031 kB / 493.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.09313, allocations: 12.75 kB / 493.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.09334, allocations: 204.1 kB / 493.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.09336, allocations: 4.375 kB / 493.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.09338, allocations: 8.375 kB / 493.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.09353, allocations: 70.23 kB / 493.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.09354, allocations: 192 / 493.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.09356, allocations: 3.938 kB / 493.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.09356, allocations: 0 / 493.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.09365, allocations: 27.98 kB / 493.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.09406, allocations: 352.5 kB / 493.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.09434, allocations: 62.48 kB / 493.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.0944, allocations: 16.92 kB / 493.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.09442, allocations: 0 / 493.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.09444, allocations: 38.56 kB / 493.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09445, allocations: 3.938 kB / 493.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.09466, allocations: 69.58 kB / 494 MB, free: 3.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.0947, allocations: 51.41 kB / 494.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.09481, allocations: 147.8 kB / 494.2 MB, free: 3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.09483, allocations: 25.7 kB / 494.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.09488, allocations: 104 kB / 494.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.09491, allocations: 19.75 kB / 494.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.09495, allocations: 25.7 kB / 494.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.09506, allocations: 310.8 kB / 494.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.09511, allocations: 19.98 kB / 494.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.09515, allocations: 12 kB / 494.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.881e-05/0.09523, allocations: 36.84 kB / 494.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.09524, allocations: 0 / 494.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001275/0.09537, allocations: 69.59 kB / 494.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.0954, allocations: 8 kB / 494.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.09541, allocations: 7.938 kB / 494.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.09542, allocations: 0 / 494.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.09548, allocations: 12.12 kB / 494.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.09549, allocations: 0 / 494.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.09553, allocations: 11.94 kB / 494.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.09554, allocations: 4 kB / 494.9 MB, free: 2.312 MB / 366.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 (6): * Single equations (assignments): 6 * 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 8.512e-05/0.09563, allocations: 122.6 kB / 495 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.09567, allocations: 7.906 kB / 495 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.0957, allocations: 12.44 kB / 495 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.09571, allocations: 3.984 kB / 495 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.09571, allocations: 0 / 495 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.09572, allocations: 7.938 kB / 495 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.09591, allocations: 193.6 kB / 495.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09592, allocations: 0 / 495.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.09599, allocations: 4 kB / 495.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.096, allocations: 4 kB / 495.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.09602, allocations: 3.984 kB / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09603, allocations: 0 / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.09603, allocations: 0 / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.09625, allocations: 183.3 kB / 495.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.0963, allocations: 85.05 kB / 495.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.09632, allocations: 4 kB / 495.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.09639, allocations: 0 / 495.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.09643, allocations: 7.938 kB / 495.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.09644, allocations: 3.984 kB / 495.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.09652, allocations: 105 kB / 495.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09653, allocations: 8.062 kB / 495.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.09678, allocations: 19.84 kB / 495.6 MB, free: 1.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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 (4): * Single equations (assignments): 4 * 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.435e-05/0.09686, allocations: 91.25 kB / 495.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.09699, allocations: 35.92 kB / 495.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.097, allocations: 0 / 495.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.09705, allocations: 15.98 kB / 495.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.09737, allocations: 15.94 kB / 495.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.09775, allocations: 245.6 kB / 496 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.098, allocations: 0.6963 MB / 496.7 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.09803, allocations: 15.38 kB / 496.7 MB, free: 284 kB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09804, allocations: 0 / 496.7 MB, free: 284 kB / 366.1 MB Notification: Performance of Templates: time 0.002869/0.1009, allocations: 1.07 MB / 497.8 MB, free: 15.21 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)