Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_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: "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, 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.00146/0.00146, allocations: 198.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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.171/0.171, allocations: 22.36 MB / 312.8 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 55.91 kB / 378.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2135, allocations: 54.94 MB / 433.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.002366/0.2159, allocations: 2.101 MB / 435.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2177, allocations: 1.938 MB / 437.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.2178, allocations: 11.97 kB / 437.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.2182, allocations: 202.9 kB / 438 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.2187, allocations: 306.2 kB / 438.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2192, allocations: 464.7 kB / 438.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.22, allocations: 1.523 MB / 440.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2202, allocations: 195.7 kB / 440.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.2205, allocations: 0.5585 MB / 441 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.2209, allocations: 0.5515 MB / 441.6 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.445e-05/0.221, allocations: 83.06 kB / 441.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.2212, allocations: 121.3 kB / 441.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.2214, allocations: 329.5 kB / 442.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.2216, allocations: 377.1 kB / 442.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.2221, allocations: 0.9245 MB / 443.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2221, allocations: 0 / 443.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2221, allocations: 0 / 443.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2221, allocations: 3.938 kB / 443.4 MB, free: 33.34 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003497/0.2256, allocations: 1.575 MB / 445 MB, free: 32.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.2256, allocations: 9.812 kB / 445 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.2257, allocations: 73.14 kB / 445.1 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2258, allocations: 89.5 kB / 445.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.2278, allocations: 1.025 MB / 446.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2278, allocations: 28.28 kB / 446.2 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.2279, allocations: 43.06 kB / 446.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.2284, allocations: 429.4 kB / 446.7 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2284, allocations: 0 / 446.7 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.2285, allocations: 12.62 kB / 446.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2285, allocations: 7.406 kB / 446.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.2292, allocations: 0.5213 MB / 447.2 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.2311, allocations: 1.571 MB / 448.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.232, allocations: 0.7187 MB / 449.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.2323, allocations: 250.1 kB / 449.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2324, allocations: 6.594 kB / 449.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.2324, allocations: 41.56 kB / 449.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.2324, allocations: 4 kB / 449.8 MB, free: 30.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001702/0.2341, allocations: 1.039 MB / 450.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.2341, allocations: 56.5 kB / 450.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.2363, allocations: 1.215 MB / 452.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2363, allocations: 33.7 kB / 452.1 MB, free: 29.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2365, allocations: 343.7 kB / 452.5 MB, free: 29.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.2366, allocations: 164.7 kB / 452.6 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2367, allocations: 86.8 kB / 452.7 MB, free: 28.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.2367, allocations: 329.2 kB / 453 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.2371, allocations: 235.9 kB / 453.3 MB, free: 28.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.2374, allocations: 249.3 kB / 453.5 MB, free: 28.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.2409, allocations: 1.405 MB / 454.9 MB, free: 28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2409, allocations: 4 kB / 454.9 MB, free: 28 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008432/0.2418, allocations: 0.6751 MB / 455.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2418, allocations: 6.562 kB / 455.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2418, allocations: 5.25 kB / 455.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2418, allocations: 1.188 kB / 455.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.2425, allocations: 161.9 kB / 455.8 MB, free: 27.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2426, allocations: 10.06 kB / 455.8 MB, free: 27.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.2434, allocations: 168.3 kB / 455.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2435, allocations: 8.906 kB / 456 MB, free: 27.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (56): * Single equations (assignments): 56 * 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 0.0002476/0.2437, allocations: 266.2 kB / 456.2 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2438, allocations: 81.47 kB / 456.3 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.244, allocations: 102.3 kB / 456.4 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.244, allocations: 4.312 kB / 456.4 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.244, allocations: 9.109 kB / 456.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.244, allocations: 7.328 kB / 456.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006804/0.2447, allocations: 0.7482 MB / 457.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2447, allocations: 0 / 457.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.2451, allocations: 65.53 kB / 457.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.2454, allocations: 92.69 kB / 457.3 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.2455, allocations: 16.97 kB / 457.3 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.2467, allocations: 1.822 MB / 459.2 MB, free: 25.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2467, allocations: 4.062 kB / 459.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2481, allocations: 1.099 MB / 460.3 MB, free: 24.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.2482, allocations: 187.5 kB / 460.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.2483, allocations: 16.66 kB / 460.5 MB, free: 24.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/0.2492, allocations: 142.7 kB / 460.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.2493, allocations: 31.64 kB / 460.6 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.2494, allocations: 12.55 kB / 460.6 MB, free: 24.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.2514, allocations: 0.9448 MB / 461.6 MB, free: 24.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2514, allocations: 0 / 461.6 MB, free: 24.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.2518, allocations: 132.4 kB / 461.7 MB, free: 24.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.2534, allocations: 1.664 MB / 463.4 MB, free: 23.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008989/0.2543, allocations: 0.6251 MB / 464 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2543, allocations: 4.844 kB / 464 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.2549, allocations: 416.8 kB / 464.4 MB, free: 22.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.2555, allocations: 132.5 kB / 464.5 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.268, allocations: 8.121 MB / 472.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.2685, allocations: 1.034 MB / 473.7 MB, free: 18.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.2689, allocations: 148.8 kB / 473.8 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.2693, allocations: 282.2 kB / 474.1 MB, free: 18.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2693, allocations: 0 / 474.1 MB, free: 18.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.293/3.562, allocations: 15 MB / 489.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/17.85, allocations: 9.062 kB / 489.1 MB, free: 6.223 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit.fmu > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)