Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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: "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",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.001033/0.001033, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.003457/0.003457, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.129/1.129, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2143/0.2143, allocations: 22.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 11.98 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 55.97 MB / 436.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001248/0.2119, allocations: 1.44 MB / 438.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000241/0.2122, allocations: 148.7 kB / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2123, allocations: 0 / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.493e-05/0.2123, allocations: 14.25 kB / 438.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2125, allocations: 22.14 kB / 438.2 MB, free: 37.04 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 8.828e-05/0.2125, allocations: 47.66 kB / 438.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2127, allocations: 134.1 kB / 438.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2128, allocations: 74.22 kB / 438.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.2128, allocations: 42.44 kB / 438.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.2129, allocations: 55.88 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2129, allocations: 5.688 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.213, allocations: 9.75 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.213, allocations: 21.7 kB / 438.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.213, allocations: 80.42 kB / 438.7 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.2131, allocations: 108.6 kB / 438.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2131, allocations: 2.656 kB / 438.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2131, allocations: 0 / 438.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2132, allocations: 0 / 438.8 MB, free: 36.75 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.0003898/0.2135, allocations: 417.3 kB / 439.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2136, allocations: 15.19 kB / 439.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2136, allocations: 51.98 kB / 439.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2137, allocations: 17.22 kB / 439.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2138, allocations: 209.3 kB / 439.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2138, allocations: 12.75 kB / 439.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.2138, allocations: 31.45 kB / 439.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2141, allocations: 158.3 kB / 439.7 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2141, allocations: 3.938 kB / 439.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2142, allocations: 11.88 kB / 439.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2142, allocations: 5.781 kB / 439.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.2145, allocations: 114.4 kB / 439.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.2151, allocations: 0.4997 MB / 440.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.2153, allocations: 112.1 kB / 440.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2155, allocations: 72.22 kB / 440.5 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2155, allocations: 9.594 kB / 440.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.035e-05/0.2155, allocations: 41 kB / 440.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.2155, allocations: 0 / 440.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005499/0.2161, allocations: 225.4 kB / 440.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/0.2161, allocations: 54.44 kB / 440.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.2162, allocations: 136.4 kB / 441 MB, free: 35.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2162, allocations: 29.7 kB / 441 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.2162, allocations: 109.9 kB / 441.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2163, allocations: 65.91 kB / 441.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.2163, allocations: 32.88 kB / 441.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.2163, allocations: 324.3 kB / 441.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2165, allocations: 58.16 kB / 441.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2167, allocations: 85.06 kB / 441.7 MB, free: 34.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.217, allocations: 136.5 kB / 441.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.217, allocations: 2.906 kB / 441.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000367/0.2174, allocations: 200.5 kB / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.2174, allocations: 5.469 kB / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2174, allocations: 0 / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.2174, allocations: 6.719 kB / 442 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.2178, allocations: 52.8 kB / 442.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2178, allocations: 6.734 kB / 442.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2179, allocations: 37.23 kB / 442.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2179, allocations: 5.406 kB / 442.1 MB, free: 34.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.427e-05/0.218, allocations: 131.2 kB / 442.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.218, allocations: 17.66 kB / 442.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.2185, allocations: 208.9 kB / 442.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2185, allocations: 7.344 kB / 442.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2185, allocations: 0 / 442.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2185, allocations: 3.281 kB / 442.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2187, allocations: 255.8 kB / 442.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2187, allocations: 0 / 442.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.2189, allocations: 49.55 kB / 442.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2189, allocations: 3.938 kB / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2189, allocations: 6.812 kB / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.219, allocations: 0 / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.219, allocations: 0 / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.2195, allocations: 370.2 kB / 443.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.2195, allocations: 91.42 kB / 443.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2195, allocations: 6.906 kB / 443.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2197, allocations: 23.72 kB / 443.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.2198, allocations: 29.94 kB / 443.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2198, allocations: 6.75 kB / 443.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.2198, allocations: 99.28 kB / 443.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2198, allocations: 0 / 443.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000226/0.2201, allocations: 34.5 kB / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0006508/0.2207, allocations: 0.8985 MB / 444.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2211, allocations: 151.9 kB / 444.5 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2211, allocations: 0 / 444.5 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.2213, allocations: 88.97 kB / 444.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2216, allocations: 17.44 kB / 444.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2234, allocations: 2.038 MB / 446.6 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2235, allocations: 0.7283 MB / 447.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.2236, allocations: 17.86 kB / 447.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.2237, allocations: 43.67 kB / 447.4 MB, free: 30.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2237, allocations: 4 kB / 447.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4532/0.6769, allocations: 2.962 MB / 450.4 MB, free: 30.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.6771, allocations: 190.8 kB / 450.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.328, allocations: 3.984 kB / 450.5 MB, free: 29.88 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)