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.008328/0.008328, allocations: 103.4 kB / 15.73 MB, free: 5.992 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.002263/0.002263, allocations: 197.1 kB / 16.67 MB, free: 5.914 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08988/0.08988, allocations: 22.32 MB / 312.9 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.09 kB / 434.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1157, allocations: 54.95 MB / 489.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.003928/0.1197, allocations: 2.106 MB / 491.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1228, allocations: 1.942 MB / 493.4 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.1234, allocations: 11.94 kB / 493.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.1241, allocations: 202.7 kB / 493.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.1249, allocations: 298.6 kB / 493.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.1257, allocations: 467.3 kB / 494.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1271, allocations: 1.525 MB / 495.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.1275, allocations: 209.6 kB / 496.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007249/0.1282, allocations: 0.5685 MB / 496.7 MB, free: 144 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.1289, allocations: 0.541 MB / 497.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.129, allocations: 84 kB / 497.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.1292, allocations: 116 kB / 497.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.1296, allocations: 323.1 kB / 497.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.1299, allocations: 373.7 kB / 498.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008352/0.1307, allocations: 0.9539 MB / 499.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1307, allocations: 0 / 499.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1307, allocations: 0 / 499.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1307, allocations: 0 / 499.1 MB, free: 13.76 MB / 382.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.004365/0.1351, allocations: 1.573 MB / 0.4889 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1352, allocations: 8.031 kB / 0.4889 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.1353, allocations: 74.72 kB / 0.489 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1354, allocations: 91.81 kB / 0.4891 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.138, allocations: 1.026 MB / 0.4901 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.138, allocations: 29.02 kB / 0.4901 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.1381, allocations: 44.28 kB / 0.4901 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.1388, allocations: 422.1 kB / 0.4905 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1389, allocations: 3.938 kB / 0.4905 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1389, allocations: 16 kB / 0.4906 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1389, allocations: 15.94 kB / 0.4906 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.1398, allocations: 0.5179 MB / 0.4911 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.1424, allocations: 1.564 MB / 0.4926 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1436, allocations: 0.7229 MB / 0.4933 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.144, allocations: 245.5 kB / 0.4935 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.1441, allocations: 7.938 kB / 0.4935 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.1441, allocations: 38.56 kB / 0.4936 GB, free: 7.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.623e-06/0.1441, allocations: 0 / 0.4936 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002142/0.1463, allocations: 1.029 MB / 0.4946 GB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1463, allocations: 63.41 kB / 0.4947 GB, free: 6.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.149, allocations: 1.219 MB / 0.4958 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.149, allocations: 33.7 kB / 0.4959 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1493, allocations: 344.8 kB / 0.4962 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1495, allocations: 161.5 kB / 0.4964 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1496, allocations: 82.12 kB / 0.4964 GB, free: 4.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1498, allocations: 322 kB / 0.4967 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.1501, allocations: 248.9 kB / 0.497 GB, free: 3.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.1505, allocations: 248.4 kB / 0.4972 GB, free: 3.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.1545, allocations: 1.407 MB / 0.4986 GB, free: 2.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1545, allocations: 0 / 0.4986 GB, free: 2.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001017/0.1556, allocations: 0.6698 MB / 0.4992 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1556, allocations: 4 kB / 0.4992 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1556, allocations: 0 / 0.4992 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1556, allocations: 4 kB / 0.4993 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.1564, allocations: 159.8 kB / 0.4994 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.1565, allocations: 7.938 kB / 0.4994 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009429/0.1574, allocations: 163.4 kB / 0.4996 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.1575, allocations: 16 kB / 0.4996 GB, free: 0.9805 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.0003534/0.1578, allocations: 269.5 kB / 0.4998 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1579, allocations: 78.97 kB / 0.4999 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.1581, allocations: 107.9 kB / 0.5 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1581, allocations: 7.984 kB / 0.5 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.1582, allocations: 3.938 kB / 0.5 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1582, allocations: 0 / 0.5 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2299/0.3881, allocations: 0.739 MB / 0.5008 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.3881, allocations: 0 / 0.5008 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.3887, allocations: 64.33 kB / 0.5008 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.3892, allocations: 89.41 kB / 0.5009 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.3892, allocations: 16.09 kB / 0.5009 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.3907, allocations: 1.825 MB / 0.5027 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3908, allocations: 2.719 kB / 0.5027 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3924, allocations: 1.11 MB / 0.5038 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.3926, allocations: 189.8 kB / 0.504 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.3927, allocations: 20.98 kB / 0.504 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/0.3937, allocations: 138.1 kB / 0.5041 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.3938, allocations: 31.88 kB / 0.5041 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.3938, allocations: 15.88 kB / 0.5042 GB, free: 20.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002414/0.3962, allocations: 0.9436 MB / 0.5051 GB, free: 20.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3963, allocations: 2.25 kB / 0.5051 GB, free: 20.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.3967, allocations: 125.1 kB / 0.5052 GB, free: 20.54 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.001746/0.3985, allocations: 1.671 MB / 0.5068 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.3995, allocations: 0.5513 MB / 0.5074 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3995, allocations: 0 / 0.5074 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.4002, allocations: 416.4 kB / 0.5078 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.401, allocations: 127.6 kB / 0.5079 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.4156, allocations: 7.863 MB / 0.5156 GB, free: 17.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.4164, allocations: 1.031 MB / 0.5166 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.4169, allocations: 155.7 kB / 0.5167 GB, free: 17.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.4173, allocations: 279.9 kB / 0.517 GB, free: 17.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4173, allocations: 0 / 0.517 GB, free: 17.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.4597, allocations: 15.51 MB / 0.5321 GB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.31, allocations: 6.172 kB / 0.5321 GB, free: 10.29 MB / 382.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)