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.001426/0.001426, 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.001588/0.001588, allocations: 194.1 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1989/0.1989, allocations: 22.35 MB / 312.7 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 378.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 54.94 MB / 433.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.002571/0.251, allocations: 2.094 MB / 435.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.253, allocations: 1.94 MB / 437.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.2532, allocations: 8.781 kB / 437.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.2537, allocations: 208.2 kB / 438 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.2543, allocations: 304.9 kB / 438.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.2548, allocations: 461.6 kB / 438.8 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000925/0.2557, allocations: 1.528 MB / 440.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.256, allocations: 202.8 kB / 440.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.2564, allocations: 0.5521 MB / 441.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.2569, allocations: 0.5496 MB / 441.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.257, allocations: 86.38 kB / 441.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.2572, allocations: 109.1 kB / 441.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.2574, allocations: 332.1 kB / 442.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.2576, allocations: 381.7 kB / 442.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.2581, allocations: 0.9314 MB / 443.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2582, allocations: 7.312 kB / 443.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2582, allocations: 3.938 kB / 443.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2582, allocations: 0 / 443.4 MB, free: 33.27 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.003882/0.2621, allocations: 1.568 MB / 445 MB, free: 32.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2621, allocations: 8.719 kB / 445 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.2622, allocations: 69.3 kB / 445.1 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2623, allocations: 92.09 kB / 445.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2645, allocations: 1.022 MB / 446.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2645, allocations: 31.69 kB / 446.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.2646, allocations: 42.62 kB / 446.3 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.2651, allocations: 424.1 kB / 446.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2652, allocations: 0 / 446.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.2652, allocations: 17.19 kB / 446.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2652, allocations: 5.719 kB / 446.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.2659, allocations: 0.5202 MB / 447.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.268, allocations: 1.572 MB / 448.8 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.269, allocations: 0.709 MB / 449.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.2694, allocations: 253.2 kB / 449.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2694, allocations: 9.188 kB / 449.8 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.2694, allocations: 37.31 kB / 449.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.533e-06/0.2694, allocations: 0 / 449.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001855/0.2713, allocations: 1.039 MB / 450.8 MB, free: 29.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.2713, allocations: 58.56 kB / 450.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.2736, allocations: 1.219 MB / 452.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2737, allocations: 36.45 kB / 452.1 MB, free: 29.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2738, allocations: 342.3 kB / 452.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.274, allocations: 166.6 kB / 452.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2741, allocations: 78.91 kB / 452.7 MB, free: 28.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.2741, allocations: 326.9 kB / 453 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.2745, allocations: 238.7 kB / 453.3 MB, free: 28.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.2749, allocations: 250.2 kB / 453.5 MB, free: 28.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.2786, allocations: 1.404 MB / 454.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2787, allocations: 0 / 454.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009389/0.2796, allocations: 0.6785 MB / 455.6 MB, free: 27.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2796, allocations: 8.344 kB / 455.6 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2796, allocations: 5.094 kB / 455.6 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.2797, allocations: 2.438 kB / 455.6 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.2805, allocations: 156.9 kB / 455.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2805, allocations: 6.594 kB / 455.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.2814, allocations: 162.4 kB / 455.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2815, allocations: 13.62 kB / 455.9 MB, free: 27.6 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.00028/0.2818, allocations: 277.6 kB / 456.2 MB, free: 27.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.2819, allocations: 78.62 kB / 456.3 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.2821, allocations: 108.4 kB / 456.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2821, allocations: 8.531 kB / 456.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.2821, allocations: 5.188 kB / 456.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2821, allocations: 1.641 kB / 456.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.2829, allocations: 0.7458 MB / 457.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2829, allocations: 0 / 457.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.2834, allocations: 64.89 kB / 457.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.2837, allocations: 93.22 kB / 457.3 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.2838, allocations: 20.8 kB / 457.3 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.2852, allocations: 1.813 MB / 459.1 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2852, allocations: 0.75 kB / 459.1 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2867, allocations: 1.103 MB / 460.3 MB, free: 24.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.2869, allocations: 194.6 kB / 460.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.287, allocations: 13.31 kB / 460.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.288, allocations: 145.5 kB / 460.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.2881, allocations: 30.88 kB / 460.6 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.2881, allocations: 7.812 kB / 460.6 MB, free: 24.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002312/0.2905, allocations: 0.9497 MB / 461.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2905, allocations: 0 / 461.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000503/0.291, allocations: 129.2 kB / 461.7 MB, free: 24.2 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.001846/0.2928, allocations: 1.673 MB / 463.4 MB, free: 23.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2939, allocations: 0.6247 MB / 464 MB, free: 22.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2939, allocations: 0 / 464 MB, free: 22.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.2945, allocations: 418.2 kB / 464.4 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.2951, allocations: 133.8 kB / 464.5 MB, free: 22.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.3084, allocations: 8.116 MB / 472.7 MB, free: 18.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.309, allocations: 1.028 MB / 473.7 MB, free: 18.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000398/0.3094, allocations: 153.6 kB / 473.8 MB, free: 18.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.3097, allocations: 282.9 kB / 474.1 MB, free: 17.96 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3098, allocations: 0 / 474.1 MB, free: 17.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3415, allocations: 15 MB / 489.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.352/9.693, allocations: 5.656 kB / 489.1 MB, free: 6.234 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit.fmu > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)