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.005813/0.005813, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.00142/0.00142, allocations: 191.7 kB / 16.67 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1845/0.1845, allocations: 22.35 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.56 kB / 434.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08597, allocations: 54.96 MB / 489.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.002453/0.08846, allocations: 2.109 MB / 491.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.09044, allocations: 1.938 MB / 493.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.09063, allocations: 12 kB / 493.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.09113, allocations: 206.7 kB / 493.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.09181, allocations: 310.6 kB / 494 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.09248, allocations: 467.4 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.09376, allocations: 1.537 MB / 496 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.09406, allocations: 201.6 kB / 496.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.09464, allocations: 0.5609 MB / 496.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.09525, allocations: 0.5409 MB / 497.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.09538, allocations: 84 kB / 497.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.09558, allocations: 119.9 kB / 497.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.09589, allocations: 327.1 kB / 497.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.0962, allocations: 381.7 kB / 498.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.0971, allocations: 0.9494 MB / 499.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.09711, allocations: 0 / 499.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09712, allocations: 0 / 499.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.09713, allocations: 0 / 499.1 MB, free: 10.1 MB / 366.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.0043/0.1014, allocations: 1.6 MB / 0.489 GB, free: 8.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1015, allocations: 15.97 kB / 0.489 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.88e-05/0.1016, allocations: 66.72 kB / 0.4891 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1017, allocations: 96.33 kB / 0.4892 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.1043, allocations: 1.039 MB / 0.4902 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1043, allocations: 29.03 kB / 0.4902 GB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.743e-05/0.1044, allocations: 40.36 kB / 0.4902 GB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.1051, allocations: 422.1 kB / 0.4906 GB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1051, allocations: 3.938 kB / 0.4906 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.1052, allocations: 16 kB / 0.4907 GB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1052, allocations: 12 kB / 0.4907 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.106, allocations: 0.5218 MB / 0.4912 GB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.1086, allocations: 1.564 MB / 0.4927 GB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.1099, allocations: 0.7148 MB / 0.4934 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.1103, allocations: 245.5 kB / 0.4936 GB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1103, allocations: 11.94 kB / 0.4937 GB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1104, allocations: 38.55 kB / 0.4937 GB, free: 3.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.1104, allocations: 0 / 0.4937 GB, free: 3.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002152/0.1125, allocations: 1.041 MB / 0.4947 GB, free: 2.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1126, allocations: 59.41 kB / 0.4948 GB, free: 2.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.1152, allocations: 1.215 MB / 0.4959 GB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.1153, allocations: 33.7 kB / 0.496 GB, free: 1.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.1155, allocations: 345 kB / 0.4963 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1157, allocations: 174.5 kB / 0.4965 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1158, allocations: 78.14 kB / 0.4965 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1159, allocations: 322 kB / 0.4969 GB, free: 188 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.1163, allocations: 244.9 kB / 0.4971 GB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.1167, allocations: 252.4 kB / 0.4973 GB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.1207, allocations: 1.403 MB / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1208, allocations: 0 / 0.4987 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001049/0.1218, allocations: 0.682 MB / 0.4994 GB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1218, allocations: 4 kB / 0.4994 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1219, allocations: 4 kB / 0.4994 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1219, allocations: 0 / 0.4994 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.1227, allocations: 159.8 kB / 0.4995 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1227, allocations: 7.938 kB / 0.4995 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.1237, allocations: 163.6 kB / 0.4997 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1237, allocations: 12 kB / 0.4997 GB, free: 13.26 MB / 382.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.0003294/0.1241, allocations: 277.5 kB / 0.5 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1242, allocations: 83.44 kB / 0.5 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1244, allocations: 103.8 kB / 0.5001 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1244, allocations: 7.938 kB / 0.5002 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1244, allocations: 7.875 kB / 0.5002 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1244, allocations: 3.984 kB / 0.5002 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.1253, allocations: 0.7469 MB / 0.5009 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1253, allocations: 0 / 0.5009 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.1257, allocations: 67.91 kB / 0.501 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.126, allocations: 92.78 kB / 0.501 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.1261, allocations: 12 kB / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.1278, allocations: 1.829 MB / 0.5028 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1278, allocations: 0 / 0.5028 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1294, allocations: 1.112 MB / 0.5039 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.1296, allocations: 196.5 kB / 0.5041 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.1297, allocations: 15.98 kB / 0.5041 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.1308, allocations: 139.7 kB / 0.5043 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.1308, allocations: 27.95 kB / 0.5043 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.1309, allocations: 12 kB / 0.5043 GB, free: 8.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002321/0.1332, allocations: 0.9438 MB / 0.5052 GB, free: 7.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1332, allocations: 0 / 0.5052 GB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.1337, allocations: 135.8 kB / 0.5054 GB, free: 7.227 MB / 382.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.001924/0.1356, allocations: 1.668 MB / 0.507 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008537/0.1365, allocations: 0.5504 MB / 0.5075 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1365, allocations: 0 / 0.5075 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.1371, allocations: 415.1 kB / 0.5079 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.1378, allocations: 136.3 kB / 0.508 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.1517, allocations: 7.904 MB / 0.5158 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.1523, allocations: 1.035 MB / 0.5168 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.1527, allocations: 153.1 kB / 0.5169 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.1531, allocations: 283.3 kB / 0.5172 GB, free: 10.9 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1531, allocations: 0 / 0.5172 GB, free: 10.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.1892, allocations: 15.14 MB / 0.532 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.69, allocations: 4 kB / 0.532 GB, free: 11.89 MB / 414.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)