Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001361/0.001361, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2581/0.2581, allocations: 22.35 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 378.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3533, allocations: 54.94 MB / 433.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002557/0.3559, allocations: 1.109 MB / 434.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3574, allocations: 1.295 MB / 436 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.3575, allocations: 2.812 kB / 436 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.3578, allocations: 69.11 kB / 436.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3581, allocations: 81.03 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3583, allocations: 134.1 kB / 436.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3586, allocations: 444.8 kB / 436.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3588, allocations: 54.42 kB / 436.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.359, allocations: 177.3 kB / 437 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3592, allocations: 174.3 kB / 437.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.3592, allocations: 23.47 kB / 437.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.227e-05/0.3593, allocations: 21.44 kB / 437.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3594, allocations: 91.31 kB / 437.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.3595, allocations: 106.2 kB / 437.4 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3597, allocations: 218.1 kB / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3597, allocations: 3.938 kB / 437.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3597, allocations: 0 / 437.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3597, allocations: 0 / 437.6 MB, free: 36.46 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001511/0.3612, allocations: 0.6917 MB / 438.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3612, allocations: 11.12 kB / 438.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3613, allocations: 29.84 kB / 438.3 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.3621, allocations: 421.3 kB / 438.8 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.3621, allocations: 8.125 kB / 438.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3622, allocations: 11.38 kB / 438.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3624, allocations: 155.6 kB / 438.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3624, allocations: 4 kB / 438.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3624, allocations: 2.812 kB / 438.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3624, allocations: 2.656 kB / 438.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3626, allocations: 143.7 kB / 439.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.3635, allocations: 0.6437 MB / 439.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.364, allocations: 225.6 kB / 439.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.3641, allocations: 77.98 kB / 440 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3641, allocations: 3.031 kB / 440 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3641, allocations: 30.56 kB / 440 MB, free: 34.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.3641, allocations: 224 / 440 MB, free: 34.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003864/0.3645, allocations: 237.5 kB / 440.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.3646, allocations: 95.72 kB / 440.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.3653, allocations: 422.3 kB / 440.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3653, allocations: 33.7 kB / 440.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.3654, allocations: 156.1 kB / 441 MB, free: 34.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.3655, allocations: 54.33 kB / 441 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3655, allocations: 35.55 kB / 441.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.3656, allocations: 341.1 kB / 441.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.3657, allocations: 62.81 kB / 441.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.3658, allocations: 78.39 kB / 441.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.366, allocations: 157.4 kB / 441.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.366, allocations: 3.938 kB / 441.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002451/0.3662, allocations: 206.2 kB / 441.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3662, allocations: 7.656 kB / 441.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3662, allocations: 0 / 441.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3663, allocations: 2.438 kB / 441.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.3665, allocations: 56.41 kB / 442 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3665, allocations: 3.938 kB / 442 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3668, allocations: 55.09 kB / 442 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3669, allocations: 3.188 kB / 442 MB, free: 33.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.752e-05/0.367, allocations: 146 kB / 442.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.367, allocations: 31.38 kB / 442.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3671, allocations: 33.91 kB / 442.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3671, allocations: 2.75 kB / 442.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3671, allocations: 7.938 kB / 442.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3671, allocations: 2.594 kB / 442.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3674, allocations: 296.9 kB / 442.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3674, allocations: 6.969 kB / 442.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3676, allocations: 24.84 kB / 442.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3676, allocations: 0 / 442.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3676, allocations: 7 kB / 442.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3676, allocations: 2.938 kB / 442.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3676, allocations: 3.938 kB / 442.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.368, allocations: 457.3 kB / 443 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.3681, allocations: 107.2 kB / 443.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.3681, allocations: 7.094 kB / 443.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3685, allocations: 43.03 kB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3685, allocations: 18.28 kB / 443.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3685, allocations: 10.02 kB / 443.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.3691, allocations: 329.3 kB / 443.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3692, allocations: 0 / 443.5 MB, free: 32.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3694, allocations: 41.22 kB / 443.6 MB, free: 32.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.113e-05/0.3695, allocations: 96.83 kB / 443.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3698, allocations: 156.1 kB / 443.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3698, allocations: 4 kB / 443.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.3699, allocations: 74.61 kB / 443.9 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3703, allocations: 37.89 kB / 443.9 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3715, allocations: 0.5796 MB / 444.5 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.3717, allocations: 0.7823 MB / 445.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3718, allocations: 45.09 kB / 445.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.3719, allocations: 21.94 kB / 445.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3719, allocations: 384 / 445.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.005025/0.377, allocations: 2.409 MB / 447.8 MB, free: 31.39 MB / 350.1 MB make -j1 -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.makefile (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & ./AES_AES.ProcessBlocks.TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)