Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.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_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.00112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001391/0.001391, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1935/0.1935, allocations: 22.37 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 378.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 54.94 MB / 433.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002438/0.2767, allocations: 1.794 MB / 435 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.2771, allocations: 237.9 kB / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.2772, allocations: 0 / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2773, allocations: 13.77 kB / 435.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2774, allocations: 22.16 kB / 435.2 MB, free: 37.18 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2776, allocations: 49.95 kB / 435.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.2778, allocations: 187 kB / 435.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2779, allocations: 69.16 kB / 435.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.278, allocations: 62.67 kB / 435.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.2781, allocations: 86 kB / 435.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2781, allocations: 13.97 kB / 435.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.2781, allocations: 13.69 kB / 435.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.2782, allocations: 24.61 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.2782, allocations: 79.92 kB / 435.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2784, allocations: 138.9 kB / 435.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2784, allocations: 0 / 435.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2784, allocations: 3.938 kB / 436 MB, free: 36.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.2784, allocations: 4 kB / 436 MB, free: 36.82 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004585/0.2789, allocations: 499.5 kB / 436.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2789, allocations: 8.312 kB / 436.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.279, allocations: 19.59 kB / 436.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2791, allocations: 219 kB / 436.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2792, allocations: 12.59 kB / 436.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.2792, allocations: 18.47 kB / 436.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.2796, allocations: 159 kB / 436.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2796, allocations: 4.125 kB / 436.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2796, allocations: 7.938 kB / 436.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2796, allocations: 5.562 kB / 436.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.2799, allocations: 96.98 kB / 437 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.2805, allocations: 474.6 kB / 437.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.2808, allocations: 165.4 kB / 437.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.281, allocations: 137.9 kB / 437.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.281, allocations: 0 / 437.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.2813, allocations: 163.3 kB / 437.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.2813, allocations: 0 / 437.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007381/0.2821, allocations: 356.4 kB / 438.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2821, allocations: 126.7 kB / 438.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.2822, allocations: 134.7 kB / 438.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2822, allocations: 35.91 kB / 438.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.2823, allocations: 120.7 kB / 438.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.2823, allocations: 48.2 kB / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.2824, allocations: 54.95 kB / 438.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.2825, allocations: 328.3 kB / 439.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2826, allocations: 49.47 kB / 439.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2828, allocations: 124.2 kB / 439.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.2831, allocations: 271.1 kB / 439.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2831, allocations: 0 / 439.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004519/0.2836, allocations: 319.5 kB / 439.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.2836, allocations: 65.8 kB / 439.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2836, allocations: 6.406 kB / 439.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2837, allocations: 2.156 kB / 439.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2838, allocations: 33.38 kB / 439.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2838, allocations: 6.875 kB / 439.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.284, allocations: 28.83 kB / 440 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.284, allocations: 12.34 kB / 440 MB, free: 33.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001052/0.2841, allocations: 181.6 kB / 440.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.2842, allocations: 18.19 kB / 440.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.2848, allocations: 355.3 kB / 440.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2848, allocations: 0 / 440.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2848, allocations: 0 / 440.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2848, allocations: 2.875 kB / 440.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2849, allocations: 248.6 kB / 440.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2849, allocations: 4 kB / 440.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2851, allocations: 19.03 kB / 440.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2851, allocations: 3.375 kB / 440.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2851, allocations: 6.844 kB / 440.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2851, allocations: 7.312 kB / 440.8 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2851, allocations: 0 / 440.8 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.2859, allocations: 451.4 kB / 441.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2859, allocations: 95.52 kB / 441.3 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2859, allocations: 9.875 kB / 441.3 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2861, allocations: 19.81 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.2862, allocations: 25.42 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2862, allocations: 5.438 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.2862, allocations: 103.2 kB / 441.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2862, allocations: 4.062 kB / 441.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.2865, allocations: 42.34 kB / 441.5 MB, free: 32.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.526e-05/0.2866, allocations: 105 kB / 441.6 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.2871, allocations: 380.3 kB / 442 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2871, allocations: 0 / 442 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.2874, allocations: 283.4 kB / 442.3 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2876, allocations: 28.58 kB / 442.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.2882, allocations: 401.9 kB / 442.7 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2884, allocations: 0.7197 MB / 443.4 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.374e-05/0.2885, allocations: 15.8 kB / 443.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2885, allocations: 15.59 kB / 443.5 MB, free: 31.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2885, allocations: 0 / 443.5 MB, free: 31.21 MB / 350.1 MB Notification: Performance of Templates: time 0.00369/0.2922, allocations: 1.612 MB / 445.1 MB, free: 31.06 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)