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.005133/0.005133, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001206/0.001206, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.216/0.216, allocations: 22.34 MB / 313 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 59.91 kB / 378.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2673, allocations: 54.94 MB / 433.6 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002275/0.2696, allocations: 1.151 MB / 434.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2709, allocations: 1.297 MB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.271, allocations: 4 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.2713, allocations: 55.44 kB / 436.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.2715, allocations: 83 kB / 436.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2717, allocations: 116 kB / 436.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.272, allocations: 430.9 kB / 436.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2721, allocations: 57.02 kB / 436.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2722, allocations: 150.1 kB / 436.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2724, allocations: 172.3 kB / 437.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.2725, allocations: 10.75 kB / 437.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.2725, allocations: 8.156 kB / 437.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2726, allocations: 92.55 kB / 437.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.2727, allocations: 91.95 kB / 437.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2728, allocations: 167.1 kB / 437.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2728, allocations: 0 / 437.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2729, allocations: 3.031 kB / 437.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2729, allocations: 0 / 437.5 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.00148/0.2743, allocations: 0.6988 MB / 438.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2744, allocations: 9.781 kB / 438.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.2744, allocations: 35.25 kB / 438.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.2752, allocations: 404.8 kB / 438.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2752, allocations: 9.469 kB / 438.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.2753, allocations: 13.31 kB / 438.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2755, allocations: 163.1 kB / 438.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2755, allocations: 0 / 438.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2755, allocations: 6.719 kB / 438.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2755, allocations: 2.656 kB / 438.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.2758, allocations: 147 kB / 439 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008542/0.2766, allocations: 0.6477 MB / 439.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.2772, allocations: 220.2 kB / 439.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.2773, allocations: 74.36 kB / 439.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2773, allocations: 3.938 kB / 439.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.2773, allocations: 33.16 kB / 439.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2773, allocations: 0 / 439.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004107/0.2778, allocations: 249.6 kB / 440.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2778, allocations: 83.61 kB / 440.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.2786, allocations: 426.4 kB / 440.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2786, allocations: 32.58 kB / 440.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.2787, allocations: 158.8 kB / 440.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2787, allocations: 57.97 kB / 440.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.2788, allocations: 32.69 kB / 440.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2788, allocations: 342.7 kB / 441.3 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.2789, allocations: 60.08 kB / 441.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.279, allocations: 75.84 kB / 441.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.2792, allocations: 160.6 kB / 441.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2792, allocations: 0 / 441.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002551/0.2795, allocations: 209.7 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2795, allocations: 5.844 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2795, allocations: 0 / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2795, allocations: 2.969 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.2798, allocations: 51.92 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2798, allocations: 7.219 kB / 441.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2801, allocations: 52.59 kB / 441.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2802, allocations: 2.781 kB / 441.9 MB, free: 33.73 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 9.591e-05/0.2803, allocations: 150.6 kB / 442 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.2803, allocations: 27.94 kB / 442.1 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.2804, allocations: 38.48 kB / 442.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2804, allocations: 3.938 kB / 442.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2804, allocations: 7.938 kB / 442.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2804, allocations: 3.234 kB / 442.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.2808, allocations: 294.4 kB / 442.4 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2808, allocations: 0 / 442.4 MB, free: 33.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.281, allocations: 22.72 kB / 442.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.281, allocations: 3 kB / 442.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.281, allocations: 7.422 kB / 442.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.281, allocations: 6.938 kB / 442.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.281, allocations: 3.938 kB / 442.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.2815, allocations: 455.9 kB / 442.9 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.2816, allocations: 111.7 kB / 443 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.2816, allocations: 3.219 kB / 443 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.282, allocations: 44.33 kB / 443 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.2821, allocations: 21.36 kB / 443.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2821, allocations: 2.781 kB / 443.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006558/0.2827, allocations: 330 kB / 443.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2828, allocations: 4 kB / 443.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.2831, allocations: 37.75 kB / 443.4 MB, free: 32.74 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 8.144e-05/0.2831, allocations: 101.1 kB / 443.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2834, allocations: 146.1 kB / 443.7 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2834, allocations: 0 / 443.7 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.2835, allocations: 73.66 kB / 443.7 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.284, allocations: 37.77 kB / 443.8 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2852, allocations: 0.6962 MB / 444.5 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2854, allocations: 0.7791 MB / 445.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.2855, allocations: 21.97 kB / 445.3 MB, free: 31.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2855, allocations: 0 / 445.3 MB, free: 31.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004058/0.2896, allocations: 3.161 MB / 448.4 MB, free: 31.21 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)